Reference documentation and code samples for the Billing V1 API class Google::Cloud::Billing::V1::GeoTaxonomy.
Encapsulates the geographic taxonomy data for a sku.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#regions
def regions() -> ::Array<::String>
Returns
- (::Array<::String>) — The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.
#regions=
def regions=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.
Returns
- (::Array<::String>) — The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.
#type
def type() -> ::Google::Cloud::Billing::V1::GeoTaxonomy::Type
Returns
- (::Google::Cloud::Billing::V1::GeoTaxonomy::Type) — The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
#type=
def type=(value) -> ::Google::Cloud::Billing::V1::GeoTaxonomy::Type
Parameter
- value (::Google::Cloud::Billing::V1::GeoTaxonomy::Type) — The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.
Returns
- (::Google::Cloud::Billing::V1::GeoTaxonomy::Type) — The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.