NAME
    gcloud alpha bms snapshot-schedule-policies update - create a Bare Metal
        Solution snapshot schedule policy

SYNOPSIS
    gcloud alpha bms snapshot-schedule-policies update SNAPSHOT_SCHEDULE_POLICY
        [--description=DESCRIPTION]
        [--schedule=[CRONTAB_SPEC,RETENTION_COUNT,PREFIX,...]]
        [--update-labels=[KEY=VALUE,...]]
        [--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) Update a Bare Metal Solution snapshot schedule policy.

EXAMPLES
    To update an existing policy called my-policy with new description
    my-description and replace any existing schedules with one that runs every
    12 hours, run:

        $ gcloud alpha bms snapshot-schedule-policies update my-policy \
            --description=my-description \
            --schedule="crontab_spec=0 */12 * * \
        *,retention_count=10,prefix=example"

    To add the label 'key1=value1' to a policy, run:

        $ gcloud alpha bms snapshot-schedule-policies update my-policy \
            --update-labels=key1=value1

    To clear all labels, run:

        $ gcloud alpha bms snapshot-schedule-policies update my-policy \
            --clear-labels

POSITIONAL ARGUMENTS
     Snapshot schedule policy resource - snapshot_schedule_policy. This
     represents a Cloud 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 snapshot_schedule_policy on the command line
        with a fully specified name;
      ◆ set the property core/project;
      ◆ provide the argument --project on the command line. To set the region
        attribute:
      ◆ provide the argument snapshot_schedule_policy on the command line
        with a fully specified name;
      ◆ global is the only supported location.

     This must be specified.

       SNAPSHOT_SCHEDULE_POLICY
          ID of the snapshot_schedule_policy or fully qualified identifier for
          the snapshot_schedule_policy. To set the snapshot_schedule_policy
          attribute:
          ▸ provide the argument snapshot_schedule_policy on the command
            line.

FLAGS
     --description=DESCRIPTION
        Textual description of the policy.

     --schedule=[CRONTAB_SPEC,RETENTION_COUNT,PREFIX,...]
        Adds a schedule for taking snapshots of volumes under this policy. This
        flag may be repeated to specify up to 5 schedules.

         crontab_spec
            Specification of the times at which snapshots will be taken. This
            should be in Crontab format:
            http://en.wikipedia.org/wiki/Cron#Overview

         retention_count
            The maximum number of snapshots to retain in this schedule.

         prefix
            Value to append to the name of snapshots created by this schedule.

     --update-labels=[KEY=VALUE,...]
        List of label KEY=VALUE pairs to update. If a label exists, its value
        is modified. Otherwise, a new label is created.

        Keys must start with a lowercase character and contain only hyphens
        (-), underscores (_), lowercase characters, and numbers. Values must
        contain only hyphens (-), underscores (_), lowercase characters, and
        numbers.

     At most one of these can be specified:

       --clear-labels
          Remove all labels. If --update-labels is also specified then
          --clear-labels is applied first.

          For example, to remove all labels:

              $ gcloud alpha bms snapshot-schedule-policies update --clear-labels

          To remove all existing labels and create two new labels, foo and baz:

              $ gcloud alpha bms snapshot-schedule-policies update \
                --clear-labels --update-labels foo=bar,baz=qux

       --remove-labels=[KEY,...]
          List of label keys to remove. If a label does not exist it is
          silently ignored. If --update-labels is also specified then
          --update-labels is applied first.

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.

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.

