NAME
    gcloud alpha monitoring snoozes create - create a new snooze

SYNOPSIS
    gcloud alpha monitoring snoozes create
        [--snooze-from-file=SNOOZE_FROM_FILE]
        [--criteria-policies=CRITERIA_POLICIES,[...]
          --display-name=DISPLAY_NAME
          --end-time=END_TIME --start-time=START_TIME] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    (ALPHA) Creates a new snooze. A snooze can be specified as a JSON/YAML
    value passed in as a file through the --snooze-from-file flag. A snooze can
    also be specified through command line flags. If a snooze is specified
    through --snooze-from-file, and additional flags are supplied, the flags
    will override the snooze's settings.

    For information about the JSON/YAML format of a snooze:
    https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.snoozes

FLAGS
     --snooze-from-file=SNOOZE_FROM_FILE
        The path to a JSON or YAML file containing the snooze.

     Snooze Settings. If any of these are specified, they will overwrite fields
     in the --snooze-from-file flags if specified.

       --criteria-policies=CRITERIA_POLICIES,[...]
          The policies that the Snooze applies to.

       --display-name=DISPLAY_NAME
          The display name for the Snooze.

       --end-time=END_TIME
          The start time for the Snooze.

       --start-time=START_TIME
          The start time for the Snooze.

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.

