Actions8
- Billing Account Actions
- Catalog Actions
- Project Actions
Project → Get Many
AI-generatedSummary
List projects associated with a specified Google Cloud billing account.
Inputs
- Authentication (required) — The authentication method to use, either OAuth2 or Service Account.
- Billing Account Name or ID (required) — The resource name of the billing account, in the format billingAccounts/{ACCOUNT_ID}.
Output shape
a list of project billing info objects, each representing a project associated with the specified billing account
The output includes all projects linked to the billing account, with automatic pagination handled internally to retrieve all items.
Examples
Example 1: Retrieve all projects linked to a billing account
Set 'Authentication' to the appropriate method and provide the 'Billing Account Name or ID' parameter as billingAccounts/{ACCOUNT_ID}. Choose resource 'Project' and operation 'Get Many' (listed as 'listByAccount' internally).
Example 2: Use service account to list projects
Select 'Service Account' authentication, then provide billing account name/ID and execute this operation to receive comprehensive billing project data.