Class: Google::Apis::ComputeBeta::InterconnectAttachmentGroupLogicalStructureRegion

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



31366
31367
31368
# File 'lib/google/apis/compute_beta/classes.rb', line 31366

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

Instance Attribute Details

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

Corresponds to the JSON property metros



31359
31360
31361
# File 'lib/google/apis/compute_beta/classes.rb', line 31359

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)


31364
31365
31366
# File 'lib/google/apis/compute_beta/classes.rb', line 31364

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31371
31372
31373
31374
# File 'lib/google/apis/compute_beta/classes.rb', line 31371

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