Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA Enterprise actions can be executed. A project may have a maximum of 1000 policies.
HTTP request
POST https://recaptchaenterprise.googleapis.com/v1/{parent=projects/*}/firewallpolicies
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the project this policy applies to, in the format |
Request body
The request body contains an instance of FirewallPolicy
.
Response body
If successful, the response body contains a newly created instance of FirewallPolicy
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
recaptchaenterprise.firewallpolicies.create
For more information, see the IAM documentation.