Class: Google::Apis::CloudbillingV1beta::DualRegional
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::DualRegional
- 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 dual locations.
Instance Attribute Summary collapse
-
#name ⇒ String
The location name where the data is stored.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DualRegional
constructor
A new instance of DualRegional.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DualRegional
Returns a new instance of DualRegional.
635 636 637 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 635 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The location name where the data is stored. For example: "asia1" for dual region.
Corresponds to the JSON property name
633 634 635 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 633 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
640 641 642 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 640 def update!(**args) @name = args[:name] if args.key?(:name) end |