class Google::Apis::NetworkmanagementV1beta1::ForwardingRuleInfo
For display only. Metadata associated with a Compute Engine forwarding rule.
Attributes
Name of a Compute Engine forwarding rule. Corresponds to the JSON property `displayName` @return [String]
Port range defined in the forwarding rule that matches the test. Corresponds to the JSON property `matchedPortRange` @return [String]
Protocol defined in the forwarding rule that matches the test. Corresponds to the JSON property `matchedProtocol` @return [String]
Network URI. Only valid for Internal Load Balancer. Corresponds to the JSON property `networkUri` @return [String]
Target type of the forwarding rule. Corresponds to the JSON property `target` @return [String]
URI of a Compute Engine forwarding rule. Corresponds to the JSON property `uri` @return [String]
VIP of the forwarding rule. Corresponds to the JSON property `vip` @return [String]
Public Class Methods
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 737 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 742 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