Google Cloud Billing icon

Google Cloud Billing

Consume Google Cloud Billing API

Actions8

Billing Account → Get

AI-generated

Summary

Retrieve detailed information about a specific Google Cloud Billing Account by its resource name.

Inputs

  • Authentication — Specify the authentication method to use: OAuth2 or Service Account. Defaults to OAuth2.
  • Billing Account Name or ID (required) — The resource name of the billing account to retrieve. Must follow the format: billingAccounts/{ACCOUNT_ID}.

Output shape

a single JSON object representing the billing account details

The output includes all fields returned by the Google Cloud Billing API for the specified billing account resource name. Handles authentication via OAuth2 or service account credentials.

Examples

Example 1: Retrieve billing account details

Set Authentication to OAuth2 and provide the billing account resource name in the format billingAccounts/123456-7890AB-CDEF12 to get that account's details.

Links

Discussion