Class: Google::Apis::ComputeV1::InterconnectGroupPhysicalStructureMetros

Inherits:
Object
  • Object
show all
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 metros Interconnects in this group are in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectGroupPhysicalStructureMetros

Returns a new instance of InterconnectGroupPhysicalStructureMetros.



31074
31075
31076
# File 'lib/google/apis/compute_v1/classes.rb', line 31074

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#facilitiesArray<Google::Apis::ComputeV1::InterconnectGroupPhysicalStructureMetrosFacilities>

Corresponds to the JSON property facilities



31064
31065
31066
# File 'lib/google/apis/compute_v1/classes.rb', line 31064

def facilities
  @facilities
end

#metroString

Output only. [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

Returns:

  • (String)


31072
31073
31074
# File 'lib/google/apis/compute_v1/classes.rb', line 31072

def metro
  @metro
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31079
31080
31081
31082
# File 'lib/google/apis/compute_v1/classes.rb', line 31079

def update!(**args)
  @facilities = args[:facilities] if args.key?(:facilities)
  @metro = args[:metro] if args.key?(:metro)
end