Class: Google::Apis::ComputeAlpha::WireGroupTopologyEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::WireGroupTopologyEndpoint
- 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
-
#city ⇒ String
The InterconnectLocation.city (metropolitan area designator) that all interconnects are located in.
-
#label ⇒ String
Endpoint label from the wire group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WireGroupTopologyEndpoint
constructor
A new instance of WireGroupTopologyEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WireGroupTopologyEndpoint
Returns a new instance of WireGroupTopologyEndpoint.
63029 63030 63031 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63029 def initialize(**args) update!(**args) end |
Instance Attribute Details
#city ⇒ String
The InterconnectLocation.city (metropolitan area designator) that all
interconnects are located in.
Corresponds to the JSON property city
63022 63023 63024 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63022 def city @city end |
#label ⇒ String
Endpoint label from the wire group.
Corresponds to the JSON property label
63027 63028 63029 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63027 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
63034 63035 63036 63037 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 63034 def update!(**args) @city = args[:city] if args.key?(:city) @label = args[:label] if args.key?(:label) end |