An entitlement represents an entity which provides a customer means to start using a service.
JSON representation | |
---|---|
{ "name": string, "createTime": string, "updateTime": string, "channelPartnerId": string, "offer": string, "numUnits": integer, "maxUnits": integer, "assignedUnits": integer, "commitmentSettings": { object ( |
Fields | |
---|---|
name |
Resource name of an entitlement of the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} Read-only. |
createTime |
The time at which the entitlement is created. Read-only. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
The time at which the entitlement is updated. Read-only. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
channelPartnerId |
Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is generally used in 2-tier ordering, where the order is placed by a top-level distributor on behalf of their channel partner or reseller. Required for distributors. |
offer |
The offer ID or offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}. Required. |
numUnits |
Number of units for a commitment-based Offer. For example, for seat-based Offers, this would be the number of seats; for license-based Offers, this would be the number of licenses. Required for creating commitment-based Offers. Deprecated: Use |
maxUnits |
Maximum number of units for a non commitment-based Offer, such as Flexible, Trial or Free entitlements. For commitment-based entitlements, this is a read-only field, which only the internal support team can update. Deprecated: Use |
assignedUnits |
The current number of users that are assigned a license for the product defined in provisionedService.skuId. Read-only. Deprecated: Use |
commitmentSettings |
Commitment settings for a commitment-based Offer. Required for commitment based offers. |
provisioningState |
Current provisioning state of the entitlement. Read-only. |
provisionedService |
Service provisioning details for the entitlement. Read-only |
suspensionReasons[] |
Enumerable of all current suspension reasons for an entitlement Read-only. |
purchaseOrderId |
This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. Optional |
trialSettings |
Settings for trial offers. Read-only. |
associationInfo |
Association information to other entitlements. |
parameters[] |
Extended entitlement parameters. When creating an entitlement, valid parameters' names and values are defined in specified offer's parameter definitions. |
ProvisionedService
Service provisioned for an entitlement.
JSON representation | |
---|---|
{ "provisioningId": string, "productId": string, "skuId": string } |
Fields | |
---|---|
provisioningId |
Provisioning ID of the entitlement. For G Suite, this would be the underlying Subscription ID. Read-only. |
productId |
The product pertaining to the provisioning resource as specified in the Offer. Read-only. |
skuId |
The SKU pertaining to the provisioning resource as specified in the Offer. Read-only. |
TrialSettings
Settings for trial offers.
JSON representation | |
---|---|
{ "trial": boolean, "endTime": string } |
Fields | |
---|---|
trial |
Determines if the entitlement is in a trial or not: * |
endTime |
Date when the trial ends. The value is in milliseconds using the UNIX Epoch format. See an example Epoch converter. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Parameter
Definition for extended entitlement parameters.
JSON representation | |
---|---|
{
"name": string,
"value": {
object ( |
Fields | |
---|---|
name |
Name of the parameter. |
value |
Value of the parameter. |
editable |
Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, numUnits is editable when entitlement is active. |
Value
Data type and value of a parameter.
JSON representation | |
---|---|
{ // Union field |
Fields | ||
---|---|---|
Union field kind . The kind of value. kind can be only one of the following: |
||
int64Value |
Represents an int64 value. |
|
stringValue |
Represents a string value. |
|
doubleValue |
Represents a double value. |
|
protoValue |
Represents an 'Any' proto value. An object containing fields of an arbitrary type. An additional field |