gcloud alpha backup-dr auto-protection-policies update

NAME
gcloud alpha backup-dr auto-protection-policies update - update a Backup and DR AutoProtectionPolicy
SYNOPSIS
gcloud alpha backup-dr auto-protection-policies update (AUTO_PROTECTION_POLICY : --location=LOCATION) [--async] [--backup-plan-details=[backup-plan=BACKUP-PLAN],[resource-type=RESOURCE-TYPE]] [--criteria=key=KEY,values=VALUES] [--description=DESCRIPTION] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Update a Backup and DR AutoProtectionPolicy.
EXAMPLES
To update the description of an AutoProtectionPolicy 'my-policy' in 'us-central1', run:
gcloud alpha backup-dr auto-protection-policies update my-policy --location=us-central1 --description="Updated Policy"
POSITIONAL ARGUMENTS
AutoProtectionPolicy resource - Name of the AutoProtectionPolicy to update. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument auto_protection_policy on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

AUTO_PROTECTION_POLICY
ID of the AutoProtectionPolicy or fully qualified identifier for the AutoProtectionPolicy.

To set the name attribute:

  • provide the argument auto_protection_policy on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
The location of the AutoProtectionPolicy.

To set the location attribute:

  • provide the argument auto_protection_policy on the command line with a fully specified name;
  • provide the argument --location on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete. The default is True. Enabled by default, use --no-async to disable.
--backup-plan-details=[backup-plan=BACKUP-PLAN],[resource-type=RESOURCE-TYPE]
Backup plan details in format resource-type=VALUE,backup-plan=VALUE.
--criteria=key=KEY,values=VALUES
Criteria of the policy in format key=KEY,values=VALUE.
--description=DESCRIPTION
Description for the policy.
GCLOUD WIDE FLAGS
These flags are available to all commands: --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.

BRIEF
Update a Backup and DR AutoProtectionPolicy.
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. This variant is also available:
gcloud beta backup-dr auto-protection-policies update