Class: Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegionMetro
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegionMetro
- 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] The metros of Attachments in this group in this region.
Instance Attribute Summary collapse
-
#facilities ⇒ Array<Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegionMetroFacility>
Corresponds to the JSON property
facilities. -
#metro ⇒ String
[Output Only] The name of the metro, as a three-letter lowercase string like " iad".
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectAttachmentGroupLogicalStructureRegionMetro
constructor
A new instance of InterconnectAttachmentGroupLogicalStructureRegionMetro.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectAttachmentGroupLogicalStructureRegionMetro
Returns a new instance of InterconnectAttachmentGroupLogicalStructureRegionMetro.
29207 29208 29209 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#facilities ⇒ Array<Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegionMetroFacility>
Corresponds to the JSON property facilities
29199 29200 29201 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29199 def facilities @facilities end |
#metro ⇒ String
[Output Only] The name of the metro, as a three-letter lowercase string like "
iad". This is the first component of the location of an Interconnect.
Corresponds to the JSON property metro
29205 29206 29207 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29205 def metro @metro end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
29212 29213 29214 29215 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 29212 def update!(**args) @facilities = args[:facilities] if args.key?(:facilities) @metro = args[:metro] if args.key?(:metro) end |