Reference documentation and code samples for the Google Cloud Billing V1 Client class Sku.
Encapsulates a single SKU in Google Cloud
Generated from protobuf message google.cloud.billing.v1.Sku
Namespace
Google \ Cloud \ Billing \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
↳ sku_id
string
The identifier for the SKU. Example: "D041-B8A1-6E0B"
↳ description
string
A human readable description of the SKU, has a maximum length of 256 characters.
↳ category
↳ service_regions
array
List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
↳ pricing_info
↳ service_provider_name
string
Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
↳ geo_taxonomy
getName
The resource name for the SKU.
Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
string
setName
The resource name for the SKU.
Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
var
string
$this
getSkuId
The identifier for the SKU.
Example: "D041-B8A1-6E0B"
string
setSkuId
The identifier for the SKU.
Example: "D041-B8A1-6E0B"
var
string
$this
getDescription
A human readable description of the SKU, has a maximum length of 256 characters.
string
setDescription
A human readable description of the SKU, has a maximum length of 256 characters.
var
string
$this
getCategory
The category hierarchy of this SKU, purely for organizational purpose.
hasCategory
clearCategory
setCategory
The category hierarchy of this SKU, purely for organizational purpose.
$this
getServiceRegions
List of service regions this SKU is offered at.
Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
setServiceRegions
List of service regions this SKU is offered at.
Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
var
string[]
$this
getPricingInfo
A timeline of pricing info for this SKU in chronological order.
setPricingInfo
A timeline of pricing info for this SKU in chronological order.
$this
getServiceProviderName
Identifies the service provider.
This is 'Google' for first party services in Google Cloud Platform.
string
setServiceProviderName
Identifies the service provider.
This is 'Google' for first party services in Google Cloud Platform.
var
string
$this
getGeoTaxonomy
The geographic taxonomy for this sku.
hasGeoTaxonomy
clearGeoTaxonomy
setGeoTaxonomy
The geographic taxonomy for this sku.
$this