Required. To list the prices for all SKUs, use - as the SKU ID. Format: skus/-
Specifying a specific SKU ID returns a collection with one Price object for the SKU.
Query parameters
Parameters
pageSize
integer
Optional. Maximum number of prices 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.
currencyCode
string
Optional. ISO-4217 currency code for the price. If not specified, USD will be used.
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 all SKUs, or a specific SKU, using a `GET` HTTP request to the provided URL structure."],["The `parent` path parameter is required, accepting either `-` to list all SKUs or a specific SKU ID to retrieve a single price, in the format `skus/-` or `skus/SKU_ID`."],["Optional query parameters include `pageSize` (default 50, max 5000), `pageToken` for pagination, and `currencyCode` (default USD) to filter the currency of the prices returned."],["The request body must be empty, and a successful response will contain an array of `prices` objects and an optional `nextPageToken` for subsequent page retrieval."],["Authorization for this request requires one of the specified OAuth scopes, like `https://www.googleapis.com/auth/cloud-billing.readonly`, ensuring proper access control."]]],[]]