Class: Google::Apis::ComputeAlpha::WireGroupTopologyEndpoint

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

Topology details for a single wire group endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WireGroupTopologyEndpoint

Returns a new instance of WireGroupTopologyEndpoint.



62206
62207
62208
# File 'lib/google/apis/compute_alpha/classes.rb', line 62206

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

Instance Attribute Details

#cityString

The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in. Corresponds to the JSON property city

Returns:

  • (String)


62199
62200
62201
# File 'lib/google/apis/compute_alpha/classes.rb', line 62199

def city
  @city
end

#labelString

Endpoint label from the wire group. Corresponds to the JSON property label

Returns:

  • (String)


62204
62205
62206
# File 'lib/google/apis/compute_alpha/classes.rb', line 62204

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



62211
62212
62213
62214
# File 'lib/google/apis/compute_alpha/classes.rb', line 62211

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