Class: Google::Apis::CloudbillingV1beta::Regional

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 only one location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Regional

Returns a new instance of Regional.



765
766
767
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 765

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

Instance Attribute Details

#nameString

The location name. For example: "us-central1" for region. Corresponds to the JSON property name

Returns:

  • (String)


763
764
765
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 763

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



770
771
772
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 770

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