Method: billingAccounts.budgets.get

Returns a budget.

WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.

HTTP request

GET https://billingbudgets.googleapis.com/v1beta1/{name=billingAccounts/*/budgets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of budget to get. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

Authorization requires the following IAM permission on the specified resource name:

  • billing.budgets.get

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing