Class: Google::Apis::NetworkmanagementV1beta1::EdgeLocation
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::EdgeLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
Representation of a network edge location as per https://cloud.google.com/vpc/ docs/edge-locations.
Instance Attribute Summary collapse
-
#metropolitan_area ⇒ String
Name of the metropolitan area.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EdgeLocation
constructor
A new instance of EdgeLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EdgeLocation
Returns a new instance of EdgeLocation.
470 471 472 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metropolitan_area ⇒ String
Name of the metropolitan area.
Corresponds to the JSON property metropolitanArea
468 469 470 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 468 def metropolitan_area @metropolitan_area end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
475 476 477 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 475 def update!(**args) @metropolitan_area = args[:metropolitan_area] if args.key?(:metropolitan_area) end |