Class: Google::Apis::ComputeV1::WireGroupTopologyEndpoint

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

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.



69709
69710
69711
# File 'lib/google/apis/compute_v1/classes.rb', line 69709

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

Instance Attribute Details

#cityString

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

Returns:

  • (String)


69702
69703
69704
# File 'lib/google/apis/compute_v1/classes.rb', line 69702

def city
  @city
end

#labelString

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

Returns:

  • (String)


69707
69708
69709
# File 'lib/google/apis/compute_v1/classes.rb', line 69707

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



69714
69715
69716
69717
# File 'lib/google/apis/compute_v1/classes.rb', line 69714

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