gcloud alpha compute resource-policies

NAME
gcloud alpha compute resource-policies - manage Compute Engine Resource Policies
SYNOPSIS
gcloud alpha compute resource-policiesGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Manage Compute Engine resource policies.

For more information about resource policies, see theresourcepolicies documentation.

See also:Resourcepolicies API.

GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
create
(ALPHA) Create Compute Engine Resource Policies.
update
(ALPHA) Update Compute Engine Resource Policies.
COMMANDS
COMMAND is one of the following:
create-snapshot-schedule
(ALPHA)(DEPRECATED) Create a Compute Engine SnapshotSchedule Resource Policy.
create-vm-maintenance
(ALPHA)(DEPRECATED) Create a Compute Engine VMMaintenance Resource Policy.
delete
(ALPHA) Delete a Compute Engine resource policy.
describe
(ALPHA) Describe a Compute Engine resource policy.
get-iam-policy
(ALPHA) Get the IAM policy for a Compute Engine resource policy.
list
(ALPHA) List Google Compute Engine resource policies.
set-iam-policy
(ALPHA) Set the IAM policy for a Compute Engine resource policy.
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. These variants are also available:
gcloudcomputeresource-policies
gcloudbetacomputeresource-policies

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-05-07 UTC.