Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy

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 geographic metadata, such as regions and multi-regions like us- east4 or European Union.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy

Returns a new instance of GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy.



1384
1385
1386
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1384

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

Instance Attribute Details

#global_metadataGoogle::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyGlobal

Encapsulates a global geographic taxonomy. Corresponds to the JSON property globalMetadata



1367
1368
1369
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1367

def 
  @global_metadata
end

#multi_regional_metadataGoogle::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyMultiRegional

Encapsulates a multi-regional geographic taxonomy. Corresponds to the JSON property multiRegionalMetadata



1372
1373
1374
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1372

def 
  @multi_regional_metadata
end

#regional_metadataGoogle::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomyRegional

Encapsulates a regional geographic taxonomy. Corresponds to the JSON property regionalMetadata



1377
1378
1379
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1377

def 
  @regional_metadata
end

#typeString

Type of geographic taxonomy associated with the billing account SKU group SKU. Corresponds to the JSON property type

Returns:

  • (String)


1382
1383
1384
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1382

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1389
1390
1391
1392
1393
1394
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1389

def update!(**args)
  @global_metadata = args[:global_metadata] if args.key?(:global_metadata)
  @multi_regional_metadata = args[:multi_regional_metadata] if args.key?(:multi_regional_metadata)
  @regional_metadata = args[:regional_metadata] if args.key?(:regional_metadata)
  @type = args[:type] if args.key?(:type)
end