2022-03-01 04:29:52 +00:00
|
|
|
NAME
|
|
|
|
|
gcloud billing - manage billing accounts and associate them with projects
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
|
gcloud billing GROUP [GCLOUD_WIDE_FLAG ...]
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
|
Manage billing accounts and associate them with projects.
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
|
To list billing accounts associated with the current user, run:
|
|
|
|
|
|
2023-08-23 10:30:46 +00:00
|
|
|
$ gcloud billing accounts list
|
2022-03-01 04:29:52 +00:00
|
|
|
|
|
|
|
|
To link one of the billing accounts 0X0X0X-0X0X0X-0X0X0X with a project
|
|
|
|
|
my-project, run:
|
|
|
|
|
|
2023-08-23 10:30:46 +00:00
|
|
|
$ gcloud billing projects link my-project \
|
2022-03-01 04:29:52 +00:00
|
|
|
--billing-account 0X0X0X-0X0X0X-0X0X0X
|
|
|
|
|
|
|
|
|
|
GCLOUD WIDE FLAGS
|
|
|
|
|
These flags are available to all commands: --help.
|
|
|
|
|
|
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
|
|
|
|
|
|
GROUPS
|
|
|
|
|
GROUP is one of the following:
|
|
|
|
|
|
2023-08-23 10:30:46 +00:00
|
|
|
accounts
|
|
|
|
|
Manage billing accounts.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
budgets
|
|
|
|
|
Manage the budgets of your billing accounts.
|
|
|
|
|
|
2023-08-23 10:30:46 +00:00
|
|
|
projects
|
|
|
|
|
Manage the billing account configuration of your projects.
|
|
|
|
|
|
2022-03-01 04:29:52 +00:00
|
|
|
NOTES
|
|
|
|
|
These variants are also available:
|
|
|
|
|
|
|
|
|
|
$ gcloud alpha billing
|
|
|
|
|
|
|
|
|
|
$ gcloud beta billing
|
|
|
|
|
|