Class: Google::Apis::ComputeAlpha::InterconnectGroupPhysicalStructureMetros

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectGroupPhysicalStructureMetros

Returns a new instance of InterconnectGroupPhysicalStructureMetros.



25610
25611
25612
# File 'lib/google/apis/compute_alpha/classes.rb', line 25610

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

Instance Attribute Details

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

Corresponds to the JSON property facilities



25601
25602
25603
# File 'lib/google/apis/compute_alpha/classes.rb', line 25601

def facilities
  @facilities
end

#metroString

[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)


25608
25609
25610
# File 'lib/google/apis/compute_alpha/classes.rb', line 25608

def metro
  @metro
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25615
25616
25617
25618
# File 'lib/google/apis/compute_alpha/classes.rb', line 25615

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