Class: Google::Cloud::Billing::V1::GeoTaxonomy
- Inherits:
-
Object
- Object
- Google::Cloud::Billing::V1::GeoTaxonomy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/billing/v1/cloud_catalog.rb
Overview
Encapsulates the geographic taxonomy data for a sku.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#regions ⇒ ::Array<::String>
The list of regions associated with a sku.
-
#type ⇒ ::Google::Cloud::Billing::V1::GeoTaxonomy::Type
The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
Instance Attribute Details
#regions ⇒ ::Array<::String>
Returns The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 |
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 247 class GeoTaxonomy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL. module Type # The type is not specified. TYPE_UNSPECIFIED = 0 # The sku is global in nature, e.g. a license sku. Global skus are # available in all regions, and so have an empty region list. GLOBAL = 1 # The sku is available in a specific region, e.g. "us-west2". REGIONAL = 2 # The sku is associated with multiple regions, e.g. "us-west2" and # "us-east1". MULTI_REGIONAL = 3 end end |
#type ⇒ ::Google::Cloud::Billing::V1::GeoTaxonomy::Type
Returns The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 |
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 247 class GeoTaxonomy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL. module Type # The type is not specified. TYPE_UNSPECIFIED = 0 # The sku is global in nature, e.g. a license sku. Global skus are # available in all regions, and so have an empty region list. GLOBAL = 1 # The sku is available in a specific region, e.g. "us-west2". REGIONAL = 2 # The sku is associated with multiple regions, e.g. "us-west2" and # "us-east1". MULTI_REGIONAL = 3 end end |