Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion

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) ⇒ GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion

Returns a new instance of GoogleCloudBillingSkugroupskusV1betaGeoTaxonomyRegion.



2084
2085
2086
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2084

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)


2082
2083
2084
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2082

def region
  @region
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2089
2090
2091
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2089

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