Class: Google::Apis::ComputeBeta::InterconnectAttachmentGroupLogicalStructureRegionMetroFacility

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



30028
30029
30030
# File 'lib/google/apis/compute_beta/classes.rb', line 30028

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)


30021
30022
30023
# File 'lib/google/apis/compute_beta/classes.rb', line 30021

def facility
  @facility
end

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

Corresponds to the JSON property zones



30026
30027
30028
# File 'lib/google/apis/compute_beta/classes.rb', line 30026

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30033
30034
30035
30036
# File 'lib/google/apis/compute_beta/classes.rb', line 30033

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