class Google::Apis::CloudbillingV1::GeoTaxonomy

Encapsulates the geographic taxonomy data for a sku.

Attributes

regions[RW]

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions. Corresponds to the JSON property `regions` @return [Array<String>]

type[RW]

The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbilling_v1/classes.rb, line 356
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbilling_v1/classes.rb, line 361
def update!(**args)
  @regions = args[:regions] if args.key?(:regions)
  @type = args[:type] if args.key?(:type)
end