Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion

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

Encapsulates a Google Cloud region.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion

Returns a new instance of GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegion.



1438
1439
1440
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1438

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

Instance Attribute Details

#regionString

Description of a Google Cloud region. Example: "us-west2". Corresponds to the JSON property region

Returns:

  • (String)


1436
1437
1438
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1436

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1443
1444
1445
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1443

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