Class: Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegion

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 regions Attachments in this group are in.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InterconnectAttachmentGroupLogicalStructureRegion

Returns a new instance of InterconnectAttachmentGroupLogicalStructureRegion.



29491
29492
29493
# File 'lib/google/apis/compute_v1/classes.rb', line 29491

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

Instance Attribute Details

#metrosArray<Google::Apis::ComputeV1::InterconnectAttachmentGroupLogicalStructureRegionMetro>

Corresponds to the JSON property metros



29484
29485
29486
# File 'lib/google/apis/compute_v1/classes.rb', line 29484

def metros
  @metros
end

#regionString

Output only. [Output Only] The name of a region, like "us-central1". Corresponds to the JSON property region

Returns:

  • (String)


29489
29490
29491
# File 'lib/google/apis/compute_v1/classes.rb', line 29489

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29496
29497
29498
29499
# File 'lib/google/apis/compute_v1/classes.rb', line 29496

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