Method: billingAccounts.get

Gets information about a billing account. The current authenticated user must be a viewer of the billing account.

HTTP request

GET https://cloudbilling.googleapis.com/v1/{name=billingAccounts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The resource name of the billing account to retrieve. For example, billingAccounts/012345-567890-ABCDEF.

Request body

The request body must be empty.

Response body

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

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.