Google Cloud Channel V1 Client - Class ConditionalOverride (2.1.1)

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

Specifies the override to conditionally apply.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ adjustment RepricingAdjustment

Required. Information about the applied override's adjustment.

↳ rebilling_basis int

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

↳ repricing_condition RepricingCondition

Required. Specifies the condition which, if met, will apply the override.

getAdjustment

Required. Information about the applied override's adjustment.

Returns
Type Description
RepricingAdjustment|null

hasAdjustment

clearAdjustment

setAdjustment

Required. Information about the applied override's adjustment.

Parameter
Name Description
var RepricingAdjustment
Returns
Type Description
$this

getRebillingBasis

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

Returns
Type Description
int

setRebillingBasis

Required. The RebillingBasis to use for the applied override. Shows the relative cost based on your repricing costs.

Parameter
Name Description
var int
Returns
Type Description
$this

getRepricingCondition

Required. Specifies the condition which, if met, will apply the override.

Returns
Type Description
RepricingCondition|null

hasRepricingCondition

clearRepricingCondition

setRepricingCondition

Required. Specifies the condition which, if met, will apply the override.

Parameter
Name Description
var RepricingCondition
Returns
Type Description
$this