Google Cloud Channel V1 Client - Class SkuGroupCondition (2.0.0-RC1)

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

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