gcloud alpha services policies

NAME
gcloud alpha services policies - get/update consumer policies and get the effective policy
SYNOPSIS
gcloud alpha services policiesCOMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Get/update consumer policies and get the effective policy.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

COMMANDS
COMMAND is one of the following:
get
(ALPHA) Get consumer policy for a project, folder or organization.
get-effective
(ALPHA) Get effective policy for a project, folder or organization.
test-enabled
(ALPHA) Test a value against the result of merging consumerpolicies in the resource hierarchy.
update
(ALPHA) Update consumer policy for a project, folder ororganization.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudbetaservicespolicies

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-28 UTC.