Skip to content

Commit 953a206

Browse files
feat(recaptchaenterprise): update the api
#### recaptchaenterprise:v1 The following keys were deleted: - resources.projects.resources.relatedaccountgroupmemberships.methods.search.parameters.parent (Total Keys: 4) The following keys were added: - resources.projects.resources.relatedaccountgroupmemberships.methods.search.parameters.project (Total Keys: 4) - schemas.GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment.properties.recommendedAction.type (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1Key.properties.wafSettings.$ref (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1WafSettings (Total Keys: 4) The following keys were changed: - resources.projects.resources.relatedaccountgroupmemberships.methods.search (Total Keys: 2)
1 parent edbff88 commit 953a206

4 files changed

+93
-10
lines changed

docs/dyn/recaptchaenterprise_v1.projects.assessments.html

+2
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ <h3>Method Details</h3>
132132
&quot;labels&quot;: [ # Labels for this request.
133133
&quot;A String&quot;,
134134
],
135+
&quot;recommendedAction&quot;: &quot;A String&quot;, # Recommended action after this request.
135136
},
136137
&quot;event&quot;: { # The event being assessed.
137138
&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.
@@ -169,6 +170,7 @@ <h3>Method Details</h3>
169170
&quot;labels&quot;: [ # Labels for this request.
170171
&quot;A String&quot;,
171172
],
173+
&quot;recommendedAction&quot;: &quot;A String&quot;, # Recommended action after this request.
172174
},
173175
&quot;event&quot;: { # The event being assessed.
174176
&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.

docs/dyn/recaptchaenterprise_v1.projects.keys.html

+28
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ <h3>Method Details</h3>
139139
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
140140
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
141141
},
142+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
143+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
144+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
145+
},
142146
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
143147
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
144148
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
@@ -181,6 +185,10 @@ <h3>Method Details</h3>
181185
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
182186
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
183187
},
188+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
189+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
190+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
191+
},
184192
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
185193
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
186194
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
@@ -248,6 +256,10 @@ <h3>Method Details</h3>
248256
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
249257
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
250258
},
259+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
260+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
261+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
262+
},
251263
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
252264
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
253265
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
@@ -345,6 +357,10 @@ <h3>Method Details</h3>
345357
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
346358
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
347359
},
360+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
361+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
362+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
363+
},
348364
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
349365
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
350366
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
@@ -417,6 +433,10 @@ <h3>Method Details</h3>
417433
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
418434
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
419435
},
436+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
437+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
438+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
439+
},
420440
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
421441
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
422442
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
@@ -461,6 +481,10 @@ <h3>Method Details</h3>
461481
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
462482
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
463483
},
484+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
485+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
486+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
487+
},
464488
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
465489
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
466490
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.
@@ -504,6 +528,10 @@ <h3>Method Details</h3>
504528
&quot;testingChallenge&quot;: &quot;A String&quot;, # For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.
505529
&quot;testingScore&quot;: 3.14, # All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.
506530
},
531+
&quot;wafSettings&quot;: { # Settings specific to keys that can be used for WAF (Web Application Firewall). # Settings for WAF
532+
&quot;wafFeature&quot;: &quot;A String&quot;, # Required. The WAF feature for which this key is enabled.
533+
&quot;wafService&quot;: &quot;A String&quot;, # Required. The WAF service that uses this key.
534+
},
507535
&quot;webSettings&quot;: { # Settings specific to keys that can be used by websites. # Settings for keys that can be used by websites.
508536
&quot;allowAllDomains&quot;: True or False, # If set to true, it means allowed_domains will not be enforced.
509537
&quot;allowAmpTraffic&quot;: True or False, # If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.

docs/dyn/recaptchaenterprise_v1.projects.relatedaccountgroupmemberships.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#search">search(parent, body=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#search">search(project, body=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Search group memberships related to a given account.</p>
8383
<p class="toc_element">
8484
<code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
@@ -90,11 +90,11 @@ <h3>Method Details</h3>
9090
</div>
9191

9292
<div class="method">
93-
<code class="details" id="search">search(parent, body=None, x__xgafv=None)</code>
93+
<code class="details" id="search">search(project, body=None, x__xgafv=None)</code>
9494
<pre>Search group memberships related to a given account.
9595

9696
Args:
97-
parent: string, Required. The name of the project to search related account group memberships from, in the format &quot;projects/{project}&quot;. (required)
97+
project: string, Required. The name of the project to search related account group memberships from, in the format &quot;projects/{project}&quot;. (required)
9898
body: object, The request body.
9999
The object takes the form of:
100100

googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json

+60-7
Original file line numberDiff line numberDiff line change
@@ -380,18 +380,18 @@
380380
"httpMethod": "POST",
381381
"id": "recaptchaenterprise.projects.relatedaccountgroupmemberships.search",
382382
"parameterOrder": [
383-
"parent"
383+
"project"
384384
],
385385
"parameters": {
386-
"parent": {
386+
"project": {
387387
"description": "Required. The name of the project to search related account group memberships from, in the format \"projects/{project}\".",
388388
"location": "path",
389389
"pattern": "^projects/[^/]+$",
390390
"required": true,
391391
"type": "string"
392392
}
393393
},
394-
"path": "v1/{+parent}/relatedaccountgroupmemberships:search",
394+
"path": "v1/{+project}/relatedaccountgroupmemberships:search",
395395
"request": {
396396
"$ref": "GoogleCloudRecaptchaenterpriseV1SearchRelatedAccountGroupMembershipsRequest"
397397
},
@@ -489,7 +489,7 @@
489489
}
490490
}
491491
},
492-
"revision": "20211203",
492+
"revision": "20211211",
493493
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
494494
"schemas": {
495495
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -516,6 +516,20 @@
516516
"type": "string"
517517
},
518518
"type": "array"
519+
},
520+
"recommendedAction": {
521+
"description": "Recommended action after this request.",
522+
"enum": [
523+
"RECOMMENDED_ACTION_UNSPECIFIED",
524+
"REQUEST_2FA",
525+
"SKIP_2FA"
526+
],
527+
"enumDescriptions": [
528+
"Default unspecified type.",
529+
"The customer should probably request 2FA to their user.",
530+
"This is likely an already seen and safe request. 2FA can be skipped."
531+
],
532+
"type": "string"
519533
}
520534
},
521535
"type": "object"
@@ -582,9 +596,9 @@
582596
],
583597
"enumDescriptions": [
584598
"Default unspecified reason.",
585-
"Indicates a chargeback was issued for the transaction associated with the assessment, with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.",
586-
"Indicates a chargeback related to an alleged unauthorized transaction from the perspective of the cardholder (for example, the card number was stolen).",
587-
"Indicates a chargeback related to the cardholder having provided their card but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).",
599+
"Indicates a chargeback issued for the transaction with no other details. When possible, specify the type by using CHARGEBACK_FRAUD or CHARGEBACK_DISPUTE instead.",
600+
"Indicates a chargeback related to an alleged unauthorized transaction from the cardholder's perspective (for example, the card number was stolen).",
601+
"Indicates a chargeback related to the cardholder having provided their card details but allegedly not being satisfied with the purchase (for example, misrepresentation, attempted cancellation).",
588602
"Indicates the transaction associated with the assessment is suspected of being fraudulent based on the payment method, billing details, shipping address or other transaction information.",
589603
"Indicates that the user was served a 2FA challenge. An old assessment with `ENUM_VALUES.INITIATED_TWO_FACTOR` reason that has not been overwritten with `PASSED_TWO_FACTOR` is treated as an abandoned 2FA flow. This is equivalent to `FAILED_TWO_FACTOR`.",
590604
"Indicates that the user passed a 2FA challenge.",
@@ -742,6 +756,10 @@
742756
"$ref": "GoogleCloudRecaptchaenterpriseV1TestingOptions",
743757
"description": "Options for user acceptance testing."
744758
},
759+
"wafSettings": {
760+
"$ref": "GoogleCloudRecaptchaenterpriseV1WafSettings",
761+
"description": "Settings for WAF"
762+
},
745763
"webSettings": {
746764
"$ref": "GoogleCloudRecaptchaenterpriseV1WebKeySettings",
747765
"description": "Settings for keys that can be used by websites."
@@ -1045,6 +1063,41 @@
10451063
},
10461064
"type": "object"
10471065
},
1066+
"GoogleCloudRecaptchaenterpriseV1WafSettings": {
1067+
"description": "Settings specific to keys that can be used for WAF (Web Application Firewall).",
1068+
"id": "GoogleCloudRecaptchaenterpriseV1WafSettings",
1069+
"properties": {
1070+
"wafFeature": {
1071+
"description": "Required. The WAF feature for which this key is enabled.",
1072+
"enum": [
1073+
"WAF_FEATURE_UNSPECIFIED",
1074+
"CHALLENGE_PAGE",
1075+
"SESSION_TOKEN",
1076+
"ACTION_TOKEN"
1077+
],
1078+
"enumDescriptions": [
1079+
"Undefined feature.",
1080+
"Redirects suspicious traffic to reCAPTCHA.",
1081+
"Use reCAPTCHA session-tokens to protect the whole user session on the site's domain.",
1082+
"Use reCAPTCHA action-tokens to protect user actions."
1083+
],
1084+
"type": "string"
1085+
},
1086+
"wafService": {
1087+
"description": "Required. The WAF service that uses this key.",
1088+
"enum": [
1089+
"WAF_SERVICE_UNSPECIFIED",
1090+
"CA"
1091+
],
1092+
"enumDescriptions": [
1093+
"Undefined WAF",
1094+
"Cloud Armor"
1095+
],
1096+
"type": "string"
1097+
}
1098+
},
1099+
"type": "object"
1100+
},
10481101
"GoogleCloudRecaptchaenterpriseV1WebKeySettings": {
10491102
"description": "Settings specific to keys that can be used by websites.",
10501103
"id": "GoogleCloudRecaptchaenterpriseV1WebKeySettings",

0 commit comments

Comments
 (0)