Class: Google::Apis::NetworkmanagementV1beta1::ForwardingRuleInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::ForwardingRuleInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
For display only. Metadata associated with a Compute Engine forwarding rule.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Compute Engine forwarding rule.
-
#matched_port_range ⇒ String
Port range defined in the forwarding rule that matches the test.
-
#matched_protocol ⇒ String
Protocol defined in the forwarding rule that matches the test.
-
#network_uri ⇒ String
Network URI.
-
#target ⇒ String
Target type of the forwarding rule.
-
#uri ⇒ String
URI of a Compute Engine forwarding rule.
-
#vip ⇒ String
VIP of the forwarding rule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ForwardingRuleInfo
constructor
A new instance of ForwardingRuleInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ForwardingRuleInfo
Returns a new instance of ForwardingRuleInfo.
1016 1017 1018 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Compute Engine forwarding rule.
Corresponds to the JSON property displayName
984 985 986 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 984 def display_name @display_name end |
#matched_port_range ⇒ String
Port range defined in the forwarding rule that matches the test.
Corresponds to the JSON property matchedPortRange
989 990 991 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 989 def matched_port_range @matched_port_range end |
#matched_protocol ⇒ String
Protocol defined in the forwarding rule that matches the test.
Corresponds to the JSON property matchedProtocol
994 995 996 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 994 def matched_protocol @matched_protocol end |
#network_uri ⇒ String
Network URI. Only valid for Internal Load Balancer.
Corresponds to the JSON property networkUri
999 1000 1001 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 999 def network_uri @network_uri end |
#target ⇒ String
Target type of the forwarding rule.
Corresponds to the JSON property target
1004 1005 1006 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1004 def target @target end |
#uri ⇒ String
URI of a Compute Engine forwarding rule.
Corresponds to the JSON property uri
1009 1010 1011 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1009 def uri @uri end |
#vip ⇒ String
VIP of the forwarding rule.
Corresponds to the JSON property vip
1014 1015 1016 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1014 def vip @vip end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 1021 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 |