Class: Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegion
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegion
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
[Output Only] The regions Attachments in this group are in.
Instance Attribute Summary collapse
-
#metros ⇒ Array<Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegionMetro>
Corresponds to the JSON property
metros. -
#region ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectAttachmentGroupLogicalStructureRegion
constructor
A new instance of InterconnectAttachmentGroupLogicalStructureRegion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectAttachmentGroupLogicalStructureRegion
Returns a new instance of InterconnectAttachmentGroupLogicalStructureRegion.
25419 25420 25421 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metros ⇒ Array<Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegionMetro>
Corresponds to the JSON property metros
25412 25413 25414 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25412 def metros @metros end |
#region ⇒ String
Output only. [Output Only] The name of a region, like "us-central1".
Corresponds to the JSON property region
25417 25418 25419 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25417 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25424 25425 25426 25427 |
# File 'lib/google/apis/compute_v1/classes.rb', line 25424 def update!(**args) @metros = args[:metros] if args.key?(:metros) @region = args[:region] if args.key?(:region) end |