gcloud_alpha_billing (1)
NAME
- gcloud alpha billing - manage billing accounts and associate them with projects
SYNOPSIS
-
gcloud alpha billing GROUP [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Manage billing accounts and associate them with projects.
GCLOUD WIDE FLAGS
GROUPS
GROUP is one of the following:
-
- accounts
-
(ALPHA) Manage billing accounts.
- projects
-
(ALPHA) Manage the billing account configuration of your projects.
EXAMPLES
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
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support This variant is also available:
- $ gcloud beta billing