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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Channel\V1\CustomerConstraints
|
Returns | |
---|---|
Type | Description |
$this |