mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
|
|
NAME
|
||
|
|
gcloud info - display information about the current gcloud environment
|
||
|
|
|
||
|
|
SYNOPSIS
|
||
|
|
gcloud info [--anonymize] [--run-diagnostics | --show-log]
|
||
|
|
[GCLOUD_WIDE_FLAG ...]
|
||
|
|
|
||
|
|
DESCRIPTION
|
||
|
|
Display information about the current gcloud environment.
|
||
|
|
|
||
|
|
EXAMPLES
|
||
|
|
To display information about the current gcloud environment including the
|
||
|
|
Google Cloud account, project and directory paths for logs, run:
|
||
|
|
|
||
|
|
$ gcloud info
|
||
|
|
|
||
|
|
To check network connectivity and hidden properties, run:
|
||
|
|
|
||
|
|
$ gcloud info --run-diagnostics
|
||
|
|
|
||
|
|
To print the contents of the most recent log file, run:
|
||
|
|
|
||
|
|
$ gcloud info --show-log
|
||
|
|
|
||
|
|
FLAGS
|
||
|
|
--anonymize
|
||
|
|
Minimize any personal identifiable information. Use it when sharing
|
||
|
|
output with others.
|
||
|
|
|
||
|
|
At most one of these can be specified:
|
||
|
|
|
||
|
|
--run-diagnostics
|
||
|
|
Run diagnostics on your installation of the Google Cloud CLI.
|
||
|
|
|
||
|
|
--show-log
|
||
|
|
Print the contents of the last log file.
|
||
|
|
|
||
|
|
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.
|