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
Namespace
Google \ Cloud \ Channel \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ customer_constraints |
CustomerConstraints
Represents constraints required to purchase the Offer for a customer. |
getCustomerConstraints
Represents constraints required to purchase the Offer for a customer.
| Returns | |
|---|---|
| Type | Description |
CustomerConstraints|null |
|
hasCustomerConstraints
clearCustomerConstraints
setCustomerConstraints
Represents constraints required to purchase the Offer for a customer.
| Parameter | |
|---|---|
| Name | Description |
var |
CustomerConstraints
|
| Returns | |
|---|---|
| Type | Description |
$this |
|