Class: Google::Apis::ComputeAlpha::InterconnectAttachmentGroupLogicalStructureRegion

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



25134
25135
25136
# File 'lib/google/apis/compute_alpha/classes.rb', line 25134

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

Instance Attribute Details

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

Corresponds to the JSON property metros



25127
25128
25129
# File 'lib/google/apis/compute_alpha/classes.rb', line 25127

def metros
  @metros
end

#regionString

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

Returns:

  • (String)


25132
25133
25134
# File 'lib/google/apis/compute_alpha/classes.rb', line 25132

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25139
25140
25141
25142
# File 'lib/google/apis/compute_alpha/classes.rb', line 25139

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