HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/394/help/man/man1/gcloud_alpha_recaptcha_firewall-policies_update.1
.TH "GCLOUD_ALPHA_RECAPTCHA_FIREWALL\-POLICIES_UPDATE" 1



.SH "NAME"
.HP
gcloud alpha recaptcha firewall\-policies update \- update a Firewall Policy



.SH "SYNOPSIS"
.HP
\f5gcloud alpha recaptcha firewall\-policies update\fR \fIFIREWALL_POLICY\fR [\fB\-\-actions\fR=\fIACTIONS\fR] [\fB\-\-condition\fR=\fICONDITION\fR] [\fB\-\-description\fR=\fIDESCRIPTION\fR] [\fB\-\-path\fR=\fIPATH\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]



.SH "DESCRIPTION"

\fB(ALPHA)\fR Update a reCAPTCHA Firewall Policy.



.SH "EXAMPLES"

To update the information of a reCAPTCHA firewall policy, run:

.RS 2m
$ gcloud alpha recaptcha firewall\-policies update policy\-id \e
    \-\-description='updated description' \-\-actions=block
.RE



.SH "POSITIONAL ARGUMENTS"

.RS 2m
.TP 2m

Firewall policy resource \- The reCAPTCHA firewall 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5firewall_policy\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp

This must be specified.


.RS 2m
.TP 2m
\fIFIREWALL_POLICY\fR

ID of the firewall_policy or fully qualified identifier for the firewall_policy.

To set the \f5firewall_policy\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5firewall_policy\fR on the command line.
.RE
.sp


.RE
.RE
.sp

.SH "FLAGS"

.RS 2m
.TP 2m
\fB\-\-actions\fR=\fIACTIONS\fR

The actions that the caller should take regarding the user. There should be at
most 1 terminal action. A terminal action is any action that forces a response,
such as Allow, Block or Substitute. If it makes sense for it to happen multple
times, such as SetHeader, the action is non\-terminal.

Examples:
.RS 2m
.IP "\(em" 2m
Block and set the header with key foo to value bar
.RS 2m
.IP "\(bu" 2m
\-\-actions=block,set_header=foo=bar
.RE
.sp
.IP "\(em" 2m
Substitute with path google.com and set two headers, one with key key1 to value
value1 and one with key key2 to value value2
.RS 2m
.IP "\(bu" 2m
\-\-actions=substitute=google.com,set_header=key1=value1,set_header=key2=value2
.RE
.sp

.RE
.sp
.TP 2m
\fB\-\-condition\fR=\fICONDITION\fR

A CEL (Common Expression Language) conditional expression that specifies if this
policy applies to an incoming user request. If this condition evaluates to true
and the requested path matched the path pattern, the associated actions should
be executed by the caller. The condition string is checked for CEL syntax
correctness on creation. For more information, see the CEL spec:
https://github.com/google/cel\-spec and its language definition:
https://github.com/google/cel\-spec/blob/master/doc/langdef.md

.TP 2m
\fB\-\-description\fR=\fIDESCRIPTION\fR

A description of what this policy aims to achieve, for convenience purposes. The
description can at most include 256 UTF\-8 characters.

.TP 2m
\fB\-\-path\fR=\fIPATH\fR

The path for which this policy applies, specified as a glob pattern. For more
information on glob, see the manual page:
https://man7.org/linux/man\-pages/man7/glob.7.html.


.RE
.sp

.SH "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 \fB$ gcloud help\fR for details.



.SH "API REFERENCE"

This command uses the \fBrecaptchaenterprise/v1\fR API. The full documentation
for this API can be found at: https://cloud.google.com/recaptcha\-enterprise/



.SH "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:

.RS 2m
$ gcloud recaptcha firewall\-policies update
.RE