Class: Google::Apis::ComputeBeta::ServiceAttachmentConsumerForwardingRule
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ServiceAttachmentConsumerForwardingRule
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
[Output Only] A consumer forwarding rule connected to this service attachment.
Instance Attribute Summary collapse
-
#forwarding_rule ⇒ String
The url of a consumer forwarding rule.
-
#status ⇒ String
The status of the forwarding rule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceAttachmentConsumerForwardingRule
constructor
A new instance of ServiceAttachmentConsumerForwardingRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceAttachmentConsumerForwardingRule
Returns a new instance of ServiceAttachmentConsumerForwardingRule.
31467 31468 31469 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#forwarding_rule ⇒ String
The url of a consumer forwarding rule.
Corresponds to the JSON property forwardingRule
31460 31461 31462 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31460 def forwarding_rule @forwarding_rule end |
#status ⇒ String
The status of the forwarding rule.
Corresponds to the JSON property status
31465 31466 31467 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31465 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
31472 31473 31474 31475 |
# File 'lib/google/apis/compute_beta/classes.rb', line 31472 def update!(**args) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) @status = args[:status] if args.key?(:status) end |