gcloud alpha recaptcha policies update

NAME
gcloud alpha recaptcha policies update - update a reCAPTCHA key's policy
SYNOPSIS
gcloud alpha recaptcha policies update --key=KEY --policy=POLICY [GCLOUD_WIDE_FLAG]
EXAMPLES
To update a policy for a reCAPTCHA key:
gcloud alpha recaptcha policies update --key=test-key --policy=policy.yaml

See [https://cloud.google.com/sdk/gcloud/reference/recaptcha/keys] for more details for recaptcha keys.

REQUIRED FLAGS
Key resource - The reCAPTCHA key whose policy to update. 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 --key 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.

--key=KEY
ID of the key or fully qualified identifier for the key.

To set the key attribute:

  • provide the argument --key on the command line.
--policy=POLICY
Path to a YAML file or a JSON file containing the policy definition.
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.