- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists Entitlement
s belonging to a customer.
Possible error codes:
- PERMISSION_DENIED: The customer doesn't belong to the reseller.
- INVALID_ARGUMENT: Required request parameters are missing or invalid.
Return value: A list of the customer's Entitlement
s.
HTTP request
GET https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*/customers/*}/entitlements
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the reseller's customer account to list entitlements for. Parent uses the format: accounts/{account_id}/customers/{customer_id} |
Query parameters
Parameters | |
---|---|
page |
Optional. Requested page size. Server might return fewer results than requested. If unspecified, return at most 50 entitlements. The maximum value is 100; the server will coerce values above 100. |
page |
Optional. A token for a page of results other than the first page. Obtained using |
Request body
The request body must be empty.
Response body
Response message for CloudChannelService.ListEntitlements
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"entitlements": [
{
object ( |
Fields | |
---|---|
entitlements[] |
The reseller customer's entitlements. |
next |
A token to list the next page of results. Pass to |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.