gcloud alpha recaptcha keys add-ip-override

NAME
gcloud alpha recaptcha keys add-ip-override - add an IP override to a key
SYNOPSIS
gcloud alpha recaptcha keys add-ip-overrideKEY--ip=IP--override=OVERRIDE[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Add an IP override to a key.
EXAMPLES
gcloudalpharecaptchakeysadd-ip-overridetest-key--ip=1.2.3.4--override=allow
POSITIONAL ARGUMENTS
Key resource - The reCAPTCHA key to add the IP override to. This represents aCloud resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.

To set theproject attribute:

  • provide the argumentkey on the command line with a fully specifiedname;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

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

To set thekey attribute:

  • provide the argumentkey on the command line.
REQUIRED FLAGS
--ip=IP
IP address to override for the key.
--override=OVERRIDE
If set to allow, the IP address/CIDR range will be allowlisted for the key.OVERRIDE must be one of:allow,override-type-unspecified.
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.

API REFERENCE
This command uses therecaptchaenterprise/v1 API. The fulldocumentation for this API can be found at:https://cloud.google.com/recaptcha-enterprise/
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudrecaptchakeysadd-ip-override

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.