Method: billingAccounts.skus.list

Lists SKUs visible to a billing account.

HTTP request

GET https://cloudbilling.googleapis.com/v1beta/{parent=billingAccounts/*}/skus

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The billing account to list [billing account SKU][google.cloud.billing.billingaccountservices.v1main.BillingAccountSku] from. Format: billingAccounts/{billingAccount}

Query parameters

Parameters
filter

string

Options for how to filter the [billing account SKUs][google.cloud.billing.billingaccountservices.v1main.BillingAccountSku]. Currently, only filter on billingAccountService is supported. Only !=, = operators are supported. Examples: - billingAccountService = "billingAccounts/012345-567890-ABCDEF/services/DA34-426B-A397"

pageSize

integer

Maximum number of billing account SKUs to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000.

pageToken

string

Page token received from a previous skus.list call to retrieve the next page of results. If this field is empty, the first page is returned.

Request body

The request body must be empty.

Response body

Response message for skus.list.

If successful, the response body contains data with the following structure:

JSON representation
{
  "billingAccountSkus": [
    {
      object (BillingAccountSku)
    }
  ],
  "nextPageToken": string
}
Fields
billingAccountSkus[]

object (BillingAccountSku)

The returned billing account SKUs.

nextPageToken

string

Token that can be sent as pageToken in the subsequent request to retrieve the next page. If this field is empty, there are no subsequent pages.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing
  • https://www.googleapis.com/auth/cloud-billing.readonly

For more information, see the Authentication Overview.