Reference documentation and code samples for the Google Cloud Channel V1 Client class Sku.
Represents a product's purchasable Stock Keeping Unit (SKU).
SKUs represent the different variations of the product. For example, Google Workspace Business Standard and Google Workspace Business Plus are Google Workspace product SKUs.
Generated from protobuf message google.cloud.channel.v1.Sku
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Resource Name of the SKU. Format: products/{product_id}/skus/{sku_id}
↳ marketing_info
↳ product
getName
Resource Name of the SKU.
Format: products/{product_id}/skus/{sku_id}
Generated from protobuf field string name = 1;
string
setName
Resource Name of the SKU.
Format: products/{product_id}/skus/{sku_id}
Generated from protobuf field string name = 1;
var
string
$this
getMarketingInfo
Marketing information for the SKU.
Generated from protobuf field .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
hasMarketingInfo
clearMarketingInfo
setMarketingInfo
Marketing information for the SKU.
Generated from protobuf field .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
$this
getProduct
Product the SKU is associated with.
Generated from protobuf field .google.cloud.channel.v1.Product product = 3;
hasProduct
clearProduct
setProduct
Product the SKU is associated with.
Generated from protobuf field .google.cloud.channel.v1.Product product = 3;
$this