Google Cloud Channel V1 Client - Class Constraints (1.0.1)

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

Represents the constraints for buying the Offer.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ customer_constraints Google\Cloud\Channel\V1\CustomerConstraints

Represents constraints required to purchase the Offer for a customer.

getCustomerConstraints

Represents constraints required to purchase the Offer for a customer.

Generated from protobuf field .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1;

Returns
TypeDescription
Google\Cloud\Channel\V1\CustomerConstraints|null

hasCustomerConstraints

clearCustomerConstraints

setCustomerConstraints

Represents constraints required to purchase the Offer for a customer.

Generated from protobuf field .google.cloud.channel.v1.CustomerConstraints customer_constraints = 1;

Parameter
NameDescription
var Google\Cloud\Channel\V1\CustomerConstraints
Returns
TypeDescription
$this