Class: Google::Apis::CloudbillingV1beta::MultiRegional

Inherits:
Object
  • Object
show all
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 multiple locations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiRegional

Returns a new instance of MultiRegional.



2386
2387
2388
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2386

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

Instance Attribute Details

#nameString

The location name where the data is stored. For example: "us" for multi-region. Corresponds to the JSON property name

Returns:

  • (String)


2384
2385
2386
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2384

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2391
2392
2393
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2391

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