Method: billingAccounts.skus.prices.list

Lists the latest prices for SKUs available to your Cloud Billing account.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. To list all Billing Account SKUs, use - as the SKU ID. Format: billingAccounts/{billingAccount}/skus/-

Note: Specifying an actual SKU resource id will return a collection of one Billing Account Price.

Query parameters

Parameters
currencyCode

string

Optional. ISO-4217 currency code for the price. If not specified, currency of billing account will be used.

pageSize

integer

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

pageToken

string

Optional. Page token received from a previous prices.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 prices.list.

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

JSON representation
{
  "billingAccountPrices": [
    {
      object (BillingAccountPrice)
    }
  ],
  "nextPageToken": string
}
Fields
billingAccountPrices[]

object (BillingAccountPrice)

The returned billing account prices.

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.