Resource: ServiceEntitlement
A service entitlement represents an entity which provides a resold means to start using a service. A service entitlement can be created only after customer billing account(s) exist. Service entitlements are read-only and updated as part of order execuctions.
JSON representation | |
---|---|
{ "name": string, "billingEntitlements": [ { object( |
Fields | |
---|---|
name |
Resource name of a service entitlement of the form: |
billingEntitlements[] |
Billing entitlements to which this service account belongs to. The resource name of billing entitlement is of the form: |
orderId |
An order id that resulted in the creation of this entitlement. |
status |
Status of the service entitlement. |
statusReason |
An explanation of the service entitlement's status. |
commitmentSettings |
Commitment settings if applicable for the service entitlement. |
renewalType |
Renewal settings if applicable for the service entitlement. |
createTime |
Read-only. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
updateTime |
A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: |
Status
Indicates the current state of the entitlement.
Enums | |
---|---|
STATUS_UNSPECIFIED |
Default value. This value should never be returned. |
PENDING |
The entitlement has been created but has not yet begun. |
ACTIVE |
The entitlement is currently active. |
COMPLETE |
The entitlement expired and was not renewed, or was canceled. Once an entitlement is COMPLETE its status will not change. |
CANCELED |
The entitlement was not not fulfilled. Once an entitlement is CANCELED , its status will not change. |
Methods |
|
---|---|
|
Returns a requested ServiceEntitlement resource. |
|
List ServiceEntitlement s belonging to a customer. |