Google Cloud Billing V1 Client - Class GeoTaxonomy (1.8.0)

Reference documentation and code samples for the Google Cloud Billing V1 Client class GeoTaxonomy.

Encapsulates the geographic taxonomy data for a sku.

Generated from protobuf message google.cloud.billing.v1.GeoTaxonomy

Namespace

Google \ Cloud \ Billing \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.

↳ regions array

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

getType

The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.

Returns
TypeDescription
int

setType

The type of Geo Taxonomy: GLOBAL, REGIONAL, or MULTI_REGIONAL.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRegions

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRegions

The list of regions associated with a sku. Empty for Global skus, which are associated with all Google Cloud regions.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this