gcloud info
Stay organized with collections
Save and categorize content based on your preferences.
- NAME
-
- gcloud info - display information about the current gcloud environment
- SYNOPSIS
-
-
gcloud info[--anonymize] [--show-log| [--run-diagnostics:--check-certs=HOSTNAME]] [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:
gcloudinfoTo check network connectivity and hidden properties, run:
gcloudinfo--run-diagnosticsTo troubleshoot certificate verification failures for a given host e.g.
compute.googleapis.comwhen using a proxy and custom CA certs, run:gcloudinfo--run-diagnostics--check-certs=compute.googleapis.comTo print the contents of the most recent log file, run:
gcloudinfo--show-log - FLAGS
-
--anonymize- Minimize any personal identifiable information. Use it when sharing output with others.
-
At most one of these can be specified:
--show-log- Print the contents of the last log file.
-
Or at least one of these can be specified:
--run-diagnostics-
Run diagnostics on your installation of the Google Cloud CLI.
This flag argument must be specified if any of the other arguments in this group are specified.
--check-certs=HOSTNAME- Run diagnostics on the certificate chain for a given host.
- 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 helpfor details.