class Google::Apis::NetworkmanagementV1::ForwardingRuleInfo

For display only. Metadata associated with a Compute Engine forwarding rule.

Attributes

display_name[RW]

Name of a Compute Engine forwarding rule. Corresponds to the JSON property `displayName` @return [String]

matched_port_range[RW]

Port range defined in the forwarding rule that matches the test. Corresponds to the JSON property `matchedPortRange` @return [String]

matched_protocol[RW]

Protocol defined in the forwarding rule that matches the test. Corresponds to the JSON property `matchedProtocol` @return [String]

network_uri[RW]

Network URI. Only valid for Internal Load Balancer. Corresponds to the JSON property `networkUri` @return [String]

target[RW]

Target type of the forwarding rule. Corresponds to the JSON property `target` @return [String]

uri[RW]

URI of a Compute Engine forwarding rule. Corresponds to the JSON property `uri` @return [String]

vip[RW]

VIP of the forwarding rule. Corresponds to the JSON property `vip` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1/classes.rb, line 730
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1/classes.rb, line 735
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @matched_port_range = args[:matched_port_range] if args.key?(:matched_port_range)
  @matched_protocol = args[:matched_protocol] if args.key?(:matched_protocol)
  @network_uri = args[:network_uri] if args.key?(:network_uri)
  @target = args[:target] if args.key?(:target)
  @uri = args[:uri] if args.key?(:uri)
  @vip = args[:vip] if args.key?(:vip)
end