mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
NAME
|
|
gcloud billing accounts describe - show metadata for a billing account
|
|
|
|
SYNOPSIS
|
|
gcloud billing accounts describe ACCOUNT_ID [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
This command shows info for a billing account, given its ID.
|
|
|
|
This call can fail for the following reasons:
|
|
|
|
▪ The account specified does not exist.
|
|
▪ The active user does not have permission to access the given account.
|
|
|
|
EXAMPLES
|
|
To see details for billing account 0X0X0X-0X0X0X-0X0X0X, run:
|
|
|
|
$ gcloud billing accounts describe 0X0X0X-0X0X0X-0X0X0X
|
|
|
|
POSITIONAL ARGUMENTS
|
|
ACCOUNT_ID
|
|
Specify a billing account ID. Billing account IDs are of the form
|
|
0X0X0X-0X0X0X-0X0X0X. To see available IDs, run $ gcloud billing
|
|
accounts list.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
API REFERENCE
|
|
This command uses the cloudbilling/v1 API. The full documentation for this
|
|
API can be found at: https://cloud.google.com/billing/v1/getting-started
|
|
|
|
NOTES
|
|
These variants are also available:
|
|
|
|
$ gcloud alpha billing accounts describe
|
|
|
|
$ gcloud beta billing accounts describe
|
|
|