- NAME
-
- gcloud compute resource-policies - manage Compute Engine Resource Policies
- SYNOPSIS
-
-
gcloud compute resource-policiesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
Manage Compute Engine resource policies.
For more information about resource policies, see the resource policies documentation.
See also: Resource policies API.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP - COMMANDS
-
is one of the following:COMMANDdelete- Delete a Compute Engine resource policy.
describe- Describe a Compute Engine resource policy.
get-iam-policy- Get the IAM policy for a Compute Engine resource policy.
list- List Google Compute Engine resource policies.
set-iam-policy- Set the IAM policy for a Compute Engine resource policy.
- NOTES
-
These variants are also available:
gcloud alpha compute resource-policiesgcloud beta compute resource-policies
gcloud compute resource-policies
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 2025-05-07 UTC.