Reference documentation and code samples for the Google Cloud Channel V1 Client class CreateEntitlementPurchase.
List Offers for CreateEntitlement purchase.
Generated from protobuf message google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sku |
string
Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}. |
getSku
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
Generated from protobuf field string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
string |
|
setSku
Required. SKU that the result should be restricted to.
Format: products/{product_id}/skus/{sku_id}.
Generated from protobuf field string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|