- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- SkuGroup
- Try it!
Lists the Rebilling supported SKU groups the account is authorized to sell. Reference: https://cloud.google.com/skus/sku-groups
Possible Error Codes:
- PERMISSION_DENIED: If the account making the request and the account being queried are different, or the account doesn't exist.
- INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.
Return Value: If successful, the SkuGroup
resources. The data for each resource is displayed in the alphabetical order of SKU group display name. The data for each resource is displayed in the ascending order of SkuGroup.display_name
If unsuccessful, returns an error.
HTTP request
GET https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*}/skuGroups
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}. |
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of SKU groups to return. The service may return fewer than this value. If unspecified, returns a maximum of 1000 SKU groups. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page |
Optional. A token identifying a page of results beyond the first page. Obtained through |
Request body
The request body must be empty.
Response body
Response message for skuGroups.list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"skuGroups": [
{
object ( |
Fields | |
---|---|
sku |
The list of SKU groups requested. |
next |
A token to retrieve 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.
SkuGroup
Represents the SKU group information.
JSON representation |
---|
{ "name": string, "displayName": string } |
Fields | |
---|---|
name |
Resource name of SKU group. Format: accounts/{account}/skuGroups/{skuGroup}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041". |
display |
Unique human readable identifier for the SKU group. |