Class: Google::Apis::ComputeBeta::WireGroupTopologyEndpoint

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

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.



75995
75996
75997
# File 'lib/google/apis/compute_beta/classes.rb', line 75995

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)


75988
75989
75990
# File 'lib/google/apis/compute_beta/classes.rb', line 75988

def city
  @city
end

#labelString

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

Returns:

  • (String)


75993
75994
75995
# File 'lib/google/apis/compute_beta/classes.rb', line 75993

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



76000
76001
76002
76003
# File 'lib/google/apis/compute_beta/classes.rb', line 76000

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