Cloud Billing API (cloudbilling:v1beta)

2023-12-12

2 new methods

Additions

    Methods
  • cloudbilling.billingAccounts.skus.prices.list

      Path: v1beta/{+parent}/prices

      Flat Path: v1beta/billingAccounts/{billingAccountsId}/skus/{skusId}/prices

      HTTP Method: GET

      Parameters:

        parent

          Description: Required. To list all Billing Account SKUs, use `-` as the SKU ID. Format: `billingAccounts/{billing_account}/skus/-` Note: Specifying an actual SKU resource id will return a collection of one Billing Account Price.

          Pattern: ^billingAccounts/[^/]+/skus/[^/]+$

          Location: path

          Required: Yes

          Type: string

        currencyCode

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

          Location: query

          Type: string

        pageSize

          Description: 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.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. Page token received from a previous ListBillingAccountPrices call to retrieve the next page of results. If this field is empty, the first page is returned.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/cloud-billing
    • https://www.googleapis.com/auth/cloud-billing.readonly
    • https://www.googleapis.com/auth/cloud-platform
    • Description: Lists the latest prices for SKUs available to your Cloud Billing account.

  • cloudbilling.skus.prices.list

      Path: v1beta/{+parent}/prices

      Flat Path: v1beta/skus/{skusId}/prices

      HTTP Method: GET

      Parameters:

        parent

          Description: 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.

          Pattern: ^skus/[^/]+$

          Location: path

          Required: Yes

          Type: string

        pageSize

          Description: Optional. Maximum number of prices to return. Results may return fewer than this value. Default value is 50 and maximum value is 5000.

          Location: query

          Type: integer

          Format: int32

        pageToken

          Description: Optional. Page token received from a previous ListPrices call to retrieve the next page of results. If this field is empty, the first page is returned.

          Location: query

          Type: string

        currencyCode

          Description: Optional. ISO-4217 currency code for the price. If not specified, USD will be used.

          Location: query

          Type: string

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/cloud-billing
    • https://www.googleapis.com/auth/cloud-billing.readonly
    • https://www.googleapis.com/auth/cloud-platform
    • Description: Lists the latest prices for all SKUs.