Class: Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegionMetroFacility

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 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.



29544
29545
29546
# File 'lib/google/apis/compute_v1/classes.rb', line 29544

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)


29537
29538
29539
# File 'lib/google/apis/compute_v1/classes.rb', line 29537

def facility
  @facility
end

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

Corresponds to the JSON property zones



29542
29543
29544
# File 'lib/google/apis/compute_v1/classes.rb', line 29542

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29549
29550
29551
29552
# File 'lib/google/apis/compute_v1/classes.rb', line 29549

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