Class: Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegionMetroFacility

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 facilities used for this group's Attachments' Interconnects.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectAttachmentGroupLogicalStructureRegionMetroFacility

Returns a new instance of InterconnectAttachmentGroupLogicalStructureRegionMetroFacility.



34593
34594
34595
# File 'lib/google/apis/compute_alpha/classes.rb', line 34593

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

Instance Attribute Details

#facilityString

Output only. [Output Only] The name of a facility, like "iad-1234". Corresponds to the JSON property facility

Returns:

  • (String)


34586
34587
34588
# File 'lib/google/apis/compute_alpha/classes.rb', line 34586

def facility
  @facility
end

#zonesArray<Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegionMetroFacilityZone>

Corresponds to the JSON property zones



34591
34592
34593
# File 'lib/google/apis/compute_alpha/classes.rb', line 34591

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34598
34599
34600
34601
# File 'lib/google/apis/compute_alpha/classes.rb', line 34598

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