Method: accounts.skuGroups.list

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

string

Required. The resource name of the account from which to list SKU groups. Parent uses the format: accounts/{account}.

Query parameters

Parameters
pageSize

integer

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.

pageToken

string

Optional. A token identifying a page of results beyond the first page. Obtained through ListSkuGroupsResponse.next_page_token of the previous CloudChannelService.ListSkuGroups call.

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 (SkuGroup)
    }
  ],
  "nextPageToken": string
}
Fields
skuGroups[]

object (SkuGroup)

The list of SKU groups requested.

nextPageToken

string

A token to retrieve the next page of results. Pass to ListSkuGroupsRequest.page_token to obtain that page.

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

string

Resource name of SKU group. Format: accounts/{account}/skuGroups/{skuGroup}. Example: "accounts/C01234/skuGroups/3d50fd57-3157-4577-a5a9-a219b8490041".

displayName

string

Unique human readable identifier for the SKU group.