Class: Google::Apis::ComputeBeta::InterconnectGroupPhysicalStructureMetros

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



30388
30389
30390
# File 'lib/google/apis/compute_beta/classes.rb', line 30388

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

Instance Attribute Details

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

Corresponds to the JSON property facilities



30378
30379
30380
# File 'lib/google/apis/compute_beta/classes.rb', line 30378

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)


30386
30387
30388
# File 'lib/google/apis/compute_beta/classes.rb', line 30386

def metro
  @metro
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30393
30394
30395
30396
# File 'lib/google/apis/compute_beta/classes.rb', line 30393

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