Method: skus.price.get

Gets the latest price for the given SKU.

HTTP request

GET https://cloudbilling.googleapis.com/v1beta/{name=skus/*/price}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the latest price to retrieve. Format: skus/{sku}/price

Query parameters

Parameters
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

If successful, the response body contains an instance of Price.

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.