Unless you opt-in during Google Cloud CLI installation, gcloud CLI software does not collect usage statistics. You can help Google to prioritize gcloud CLI features and improvements by permitting gcloud CLI to send usage statistics to Google.
Usage statistics contain anonymized Google Cloud CLI tool executions, including e.g. the command that was invoked, the time taken, whether an error was raised, and other such metrics. Usage statistics don't include argument values or any personal information.
You can change whether usage statistics are sent to Google at any time. To disable sending usage statistics, run the following command after you've installed gcloud CLI:
gcloud config set disable_usage_reporting true
To enable sending usage statistics, run the following command:
gcloud config set disable_usage_reporting false
For more information about gcloud config
, see the
gcloud CLI guide.
Usage statistics are handled in accordance with Google's privacy policy.