Google Cloud Channel V1 Client - Class SkuGroupCondition (1.3.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class SkuGroupCondition.

A condition that applies the override if a line item SKU is found in the SKU group.

Generated from protobuf message google.cloud.channel.v1.SkuGroupCondition

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ sku_group string

Specifies a SKU group (https://cloud.google.com/skus/sku-groups). Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

getSkuGroup

Specifies a SKU group (https://cloud.google.com/skus/sku-groups).

Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

Returns
TypeDescription
string

setSkuGroup

Specifies a SKU group (https://cloud.google.com/skus/sku-groups).

Resource name of SKU group. Format: accounts/{account}/skuGroups/{sku_group}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

Parameter
NameDescription
var string
Returns
TypeDescription
$this