Class: Google::Apis::CloudbillingV1beta::Regional
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::Regional
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
Area contains only one location.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ Regional
constructor
A new instance of Regional.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Regional
Returns a new instance of Regional.
2587 2588 2589 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The location name. For example: "us-central1" for region.
Corresponds to the JSON property name
2585 2586 2587 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2585 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2592 2593 2594 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2592 def update!(**args) @name = args[:name] if args.key?(:name) end |