Class: Google::Apis::ComputeAlpha::InterconnectGroupPhysicalStructureMetros
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectGroupPhysicalStructureMetros
- 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 Interconnects in this group are in.
Instance Attribute Summary collapse
-
#facilities ⇒ Array<Google::Apis::ComputeAlpha::InterconnectGroupPhysicalStructureMetrosFacilities>
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) ⇒ InterconnectGroupPhysicalStructureMetros
constructor
A new instance of InterconnectGroupPhysicalStructureMetros.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectGroupPhysicalStructureMetros
Returns a new instance of InterconnectGroupPhysicalStructureMetros.
30801 30802 30803 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 30801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#facilities ⇒ Array<Google::Apis::ComputeAlpha::InterconnectGroupPhysicalStructureMetrosFacilities>
Corresponds to the JSON property facilities
30792 30793 30794 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 30792 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 Interconnects underneath
this.
Corresponds to the JSON property metro
30799 30800 30801 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 30799 def metro @metro end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30806 30807 30808 30809 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 30806 def update!(**args) @facilities = args[:facilities] if args.key?(:facilities) @metro = args[:metro] if args.key?(:metro) end |