- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the latest consumption model prices for all SKUs.
HTTP request
GET https://cloudbilling.googleapis.com/v2beta/{parent=skus/*}/prices
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. To list the prices for all SKUs, use Specifying a specific SKU ID returns a collection with one Price object for the SKU. |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. Maximum number of |
pageToken |
Optional. Page token received from a previous |
currencyCode |
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:
| JSON representation |
|---|
{
"prices": [
{
object ( |
| Fields | |
|---|---|
prices[] |
The returned publicly listed |
nextPageToken |
Token that can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/cloud-billinghttps://www.googleapis.com/auth/cloud-billing.readonly
For more information, see the Authentication Overview.