Skip to content

Commit

Permalink
feat(recaptchaenterprise): update the api
Browse files Browse the repository at this point in the history
#### recaptchaenterprise:v1

The following keys were added:
- schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.fraudPrevention.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Apr 2, 2024
1 parent 370d664 commit 03ae14d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/dyn/recaptchaenterprise_v1.projects.assessments.html
Expand Up @@ -157,6 +157,7 @@ <h3>Method Details</h3>
&quot;expectedAction&quot;: &quot;A String&quot;, # Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
&quot;express&quot;: True or False, # Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS.
&quot;firewallPolicyEvaluation&quot;: True or False, # Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy will be evaluated and a suggested firewall action will be returned in the response.
&quot;fraudPrevention&quot;: &quot;A String&quot;, # Optional. The Fraud Prevention setting for this assessment.
&quot;hashedAccountId&quot;: &quot;A String&quot;, # Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
&quot;headers&quot;: [ # Optional. HTTP header information about the request.
&quot;A String&quot;,
Expand Down Expand Up @@ -360,6 +361,7 @@ <h3>Method Details</h3>
&quot;expectedAction&quot;: &quot;A String&quot;, # Optional. The expected action for this type of event. This should be the same action provided at token generation time on client-side platforms already integrated with recaptcha enterprise.
&quot;express&quot;: True or False, # Optional. Flag for a reCAPTCHA express request for an assessment without a token. If enabled, `site_key` must reference a SCORE key with WAF feature set to EXPRESS.
&quot;firewallPolicyEvaluation&quot;: True or False, # Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy will be evaluated and a suggested firewall action will be returned in the response.
&quot;fraudPrevention&quot;: &quot;A String&quot;, # Optional. The Fraud Prevention setting for this assessment.
&quot;hashedAccountId&quot;: &quot;A String&quot;, # Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
&quot;headers&quot;: [ # Optional. HTTP header information about the request.
&quot;A String&quot;,
Expand Down
Expand Up @@ -694,7 +694,7 @@
}
}
},
"revision": "20240317",
"revision": "20240324",
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
"schemas": {
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
Expand Down Expand Up @@ -1034,6 +1034,20 @@ true
"description": "Optional. Flag for enabling firewall policy config assessment. If this flag is enabled, the firewall policy will be evaluated and a suggested firewall action will be returned in the response.",
"type": "boolean"
},
"fraudPrevention": {
"description": "Optional. The Fraud Prevention setting for this assessment.",
"enum": [
"FRAUD_PREVENTION_UNSPECIFIED",
"ENABLED",
"DISABLED"
],
"enumDescriptions": [
"Default, unspecified setting. If opted in for automatic detection, `fraud_prevention_assessment` is returned based on the request. Otherwise, `fraud_prevention_assessment` is returned if `transaction_data` is present in the `Event` and Fraud Prevention is enabled in the Google Cloud console.",
"Enable Fraud Prevention for this assessment, if Fraud Prevention is enabled in the Google Cloud console.",
"Disable Fraud Prevention for this assessment, regardless of opt-in status or Google Cloud console settings."
],
"type": "string"
},
"hashedAccountId": {
"deprecated": true,
"description": "Optional. Deprecated: use `user_info.account_id` instead. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.",
Expand Down

0 comments on commit 03ae14d

Please sign in to comment.