- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- EntitlementChange
- CancellationReason
- ActivationReason
- ChangeType
- OperatorType
- Try it!
List entitlement history.
Possible error codes:
- PERMISSION_DENIED: The reseller account making the request and the provided reseller account are different.
- INVALID_ARGUMENT: Missing or invalid required fields in the request.
- NOT_FOUND: The parent resource doesn't exist. Usually the result of an invalid name parameter.
- INTERNAL: Any non-user error related to a technical issue in the backend. In this case, contact CloudChannel support.
- UNKNOWN: Any non-user error related to a technical issue in the backend. In this case, contact Cloud Channel support.
Return value: List of EntitlementChange
s.
HTTP request
GET https://cloudchannel.googleapis.com/v1/{parent=accounts/*/customers/*/entitlements/*}:listEntitlementChanges
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the entitlement for which to list entitlement changes. The
|
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of entitlement changes to return. The service may return fewer than this value. If unspecified, returns at most 10 entitlement changes. The maximum value is 50; the server will coerce values above 50. |
page |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
filter |
Optional. Filters applied to the list results. |
Request body
The request body must be empty.
Response body
Response message for CloudChannelService.ListEntitlementChanges
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"entitlementChanges": [
{
object ( |
Fields | |
---|---|
entitlement |
The list of entitlement changes. |
next |
A token to list the next page of results. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.
EntitlementChange
Change event entry for Entitlement order history
JSON representation |
---|
{ "entitlement": string, "offer": string, "provisionedService": { object ( |
Fields | |
---|---|
entitlement |
Required. Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} |
offer |
Required. Resource name of the Offer at the time of change. Takes the form: accounts/{account_id}/offers/{offer_id}. |
provisioned |
Service provisioned for an Entitlement. |
change |
The change action type. |
create |
The submitted time of the change. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
operator |
Operator type responsible for the change. |
parameters[] |
Extended parameters, such as: purchase_order_number, gcp_details; internal_correlation_id, long_running_operation_id, order_id; etc. |
operator |
Human-readable identifier that shows what operator made a change. When the operatorType is RESELLER, this is the user's email address. For all other operator types, this is empty. |
Union field change_reason . The reason the change was made change_reason can be only one of the following: |
|
suspension |
Suspension reason for the Entitlement. |
cancellation |
Cancellation reason for the Entitlement. |
activation |
The Entitlement's activation reason |
other |
e.g. purchase_number change reason, entered by CRS. |
CancellationReason
Cancellation reason for the entitlement
Enums | |
---|---|
CANCELLATION_REASON_UNSPECIFIED |
Not used. |
SERVICE_TERMINATED |
Reseller triggered a cancellation of the service. |
RELATIONSHIP_ENDED |
Relationship between the reseller and customer has ended due to a transfer. |
PARTIAL_TRANSFER |
Entitlement transferred away from reseller while still keeping other entitlement(s) with the reseller. |
ActivationReason
The Entitlement's activation reason
Enums | |
---|---|
ACTIVATION_REASON_UNSPECIFIED |
Not used. |
RESELLER_REVOKED_SUSPENSION |
Reseller reactivated a suspended Entitlement. |
CUSTOMER_ACCEPTED_PENDING_TOS |
Customer accepted pending terms of service. |
RENEWAL_SETTINGS_CHANGED |
Reseller updated the renewal settings on an entitlement that was suspended due to cancellation, and this update reactivated the entitlement. |
OTHER_ACTIVATION_REASON |
Other reasons (Activated temporarily for cancellation, added a payment plan to a trial entitlement, etc.) |
ChangeType
Specifies the type of change action
Enums | |
---|---|
CHANGE_TYPE_UNSPECIFIED |
Not used. |
CREATED |
New Entitlement was created. |
PRICE_PLAN_SWITCHED |
Price plan associated with an Entitlement was changed. |
COMMITMENT_CHANGED |
Number of seats committed for a commitment Entitlement was changed. |
RENEWED |
An annual Entitlement was renewed. |
SUSPENDED |
Entitlement was suspended. |
ACTIVATED |
Entitlement was activated. |
CANCELLED |
Entitlement was cancelled. |
SKU_CHANGED |
Entitlement was upgraded or downgraded for ex. from Google Workspace Business Standard to Google Workspace Business Plus. |
RENEWAL_SETTING_CHANGED |
The settings for renewal of an Entitlement have changed. |
PAID_SUBSCRIPTION_STARTED |
Use for Google Workspace subscription. Either a trial was converted to a paid subscription or a new subscription with no trial is created. |
LICENSE_CAP_CHANGED |
License cap was changed for the entitlement. |
SUSPENSION_DETAILS_CHANGED |
The suspension details have changed (but it is still suspended). |
TRIAL_END_DATE_EXTENDED |
The trial end date was extended. |
TRIAL_STARTED |
Entitlement started trial. |
OperatorType
Specifies the type of operator responsible for the change
Enums | |
---|---|
OPERATOR_TYPE_UNSPECIFIED |
Not used. |
CUSTOMER_SERVICE_REPRESENTATIVE |
Customer service representative. |
SYSTEM |
System auto job. |
CUSTOMER |
Customer user. |
RESELLER |
Reseller user. |