Class: Google::Apis::NetworkconnectivityV1::InterconnectAttachment
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::InterconnectAttachment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
InterconnectAttachment to which this route applies to.
Instance Attribute Summary collapse
-
#region ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectAttachment
constructor
A new instance of InterconnectAttachment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectAttachment
Returns a new instance of InterconnectAttachment.
864 865 866 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 864 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Optional. Cloud region to install this policy based route on interconnect
attachment. Use all to install it on all interconnect attachments.
Corresponds to the JSON property region
862 863 864 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 862 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
869 870 871 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 869 def update!(**args) @region = args[:region] if args.key?(:region) end |