Google Cloud Billing icon

Google Cloud Billing

Consume Google Cloud Billing API

Actions8

Project → Get Billing Info

AI-generated

Summary

Retrieve the billing information for a specified Google Cloud project by providing its Project ID and authentication method.

Inputs

  • Authentication (required) — Choose the authentication method to use: OAuth2 or Service Account.
  • Project ID (required) — The ID of the Google Cloud project for which to fetch billing information.

Output shape

a single record containing the project's billing info

Returns the billing information object for the specified project. The output is paired to the input item. Throws an error if the request fails unless 'Continue On Fail' is enabled.

Examples

Example 1: Get Billing Info for a Project

Set Authentication to OAuth2 or Service Account; provide the Project ID as a string; run the operation 'Get Billing Info' under the 'Project' resource.

Links

Discussion