NAME

gcloud alpha compute resource-policies - manage Compute Engine Resource Policies

SYNOPSIS

gcloud alpha compute resource-policies GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) Manage Compute Engine resource policies.

For more information about resource policies, see the resource policies documentation https://cloud.google.com/compute/docs/access#resource-policies.

See also: Resource policies API https://cloud.google.com/compute/docs/reference/rest/v1/resourcePolicies.

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.

COMMANDS

COMMAND is one of the following:

create-snapshot-schedule

(ALPHA) (DEPRECATED) Create a Compute Engine Snapshot Schedule Resource Policy.

create-vm-maintenance

(ALPHA) (DEPRECATED) Create a Compute Engine VM Maintenance 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 this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. These variants are also available:

$ gcloud compute resource-policies

$ gcloud beta compute resource-policies