Class: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
[Output Only] A consumer forwarding rule connected to this service attachment. [Deprecated] Do not use.
Instance Attribute Summary collapse
-
#forwarding_rule ⇒ String
The url of a consumer forwarding rule.
-
#psc_connection_id ⇒ Fixnum
The PSC connection id of the PSC 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.
36095 36096 36097 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 36095 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
36083 36084 36085 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 36083 def forwarding_rule @forwarding_rule end |
#psc_connection_id ⇒ Fixnum
The PSC connection id of the PSC Forwarding Rule.
Corresponds to the JSON property pscConnectionId
36088 36089 36090 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 36088 def psc_connection_id @psc_connection_id end |
#status ⇒ String
The status of the forwarding rule.
Corresponds to the JSON property status
36093 36094 36095 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 36093 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36100 36101 36102 36103 36104 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 36100 def update!(**args) @forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule) @psc_connection_id = args[:psc_connection_id] if args.key?(:psc_connection_id) @status = args[:status] if args.key?(:status) end |