Class: Google::Apis::NetworkmanagementV1::EdgeLocation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb

Overview

Representation of a network edge location as per https://cloud.google.com/vpc/ docs/edge-locations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EdgeLocation

Returns a new instance of EdgeLocation.



662
663
664
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 662

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

Instance Attribute Details

#metropolitan_areaString

Name of the metropolitan area. Corresponds to the JSON property metropolitanArea

Returns:

  • (String)


660
661
662
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 660

def metropolitan_area
  @metropolitan_area
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



667
668
669
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 667

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