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:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-11 UTC."],[[["This endpoint retrieves the latest prices for SKUs available to your Cloud Billing account using a `GET` request to a specific URL."],["The `parent` path parameter is required and specifies the billing account and optionally the SKU for which you want to list prices, formatted as `billingAccounts/{billingAccount}/skus/-`."],["Optional query parameters such as `currencyCode`, `pageSize`, and `pageToken` can be used to customize the price listing request."],["The request body must be empty, and the response will include a list of `billingAccountPrices` and a `nextPageToken` for pagination if applicable."],["Authorization for this endpoint requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud-platform`, `https://www.googleapis.com/auth/cloud-billing`, or `https://www.googleapis.com/auth/cloud-billing.readonly`."]]],[]]