gcloud container hub policycontroller suspend [--all-memberships | [--memberships=[MEMBERSHIPS,…] : --location=LOCATION]] [GCLOUD_WIDE_FLAG …]
gcloud container hub policycontroller suspend
To re-enable Policy Controller webhooks, use the enable command:
gcloud container hub policycontroller enable--all-membershipsproject attribute:
--memberships on the command line with a fully
specified name;
--project on the command line;
core/project.
--memberships=[MEMBERSHIPS,…]
To set the memberships attribute:
--memberships on the command line.
--location=LOCATIONlocation attribute:
--memberships on the command line with a fully
specified name;
--location on the command line;
gkehub/location.
--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.
gcloud alpha container hub policycontroller suspendgcloud beta container hub policycontroller suspend
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.