Google Cloud Billing V1 Client - Class GeoTaxonomy (2.1.1)

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
Name Description
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
Type Description
int

setType

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

Parameter
Name Description
var int
Returns
Type Description
$this

getRegions

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

Returns
Type Description
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
Name Description
var string[]
Returns
Type Description
$this