gcloud alpha billing - manage billing accounts and associate them with projects
gcloud alpha billing GROUP [GCLOUD_WIDE_FLAG ...]
(ALPHA) Manage billing accounts and associate them with projects.
To list billing accounts associated with the current user, run:
$ gcloud alpha billing accounts list
To link one of the billing accounts 0X0X0X-0X0X0X-0X0X0X with a project my-project, run:
$ gcloud alpha billing projects link my-project \ --billing-account 0X0X0X-0X0X0X-0X0X0X
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- accounts
(ALPHA) Manage billing accounts.
- budgets
(ALPHA) Manage the budgets of your billing accounts.
- projects
(ALPHA) Manage the billing account configuration of your projects.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:
$ gcloud billing
$ gcloud beta billing