Skip to content

Commit ff95700

Browse files
feat(recaptchaenterprise): update the api
#### recaptchaenterprise:v1 The following keys were deleted: - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.hashedAccountId (Total Keys: 2)
1 parent ebf0433 commit ff95700

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

docs/dyn/recaptchaenterprise_v1.projects.assessments.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ <h3>Method Details</h3>
9595

9696
{ # The request message to annotate an Assessment.
9797
&quot;annotation&quot;: &quot;A String&quot;, # Optional. The annotation that will be assigned to the Event. This field can be left empty to provide reasons that apply to an event without concluding whether the event is legitimate or fraudulent.
98+
&quot;hashedAccountId&quot;: &quot;A String&quot;, # Optional. Optional unique stable hashed user identifier to apply to the assessment. This is an alternative to setting the hashed_account_id in CreateAssessment, for example when the account identifier is not yet known in the initial request. It is recommended that the identifier is hashed using hmac-sha256 with stable secret.
9899
&quot;reasons&quot;: [ # Optional. Optional reasons for the annotation that will be assigned to the Event.
99100
&quot;A String&quot;,
100101
],
@@ -127,6 +128,11 @@ <h3>Method Details</h3>
127128
The object takes the form of:
128129

129130
{ # A recaptcha assessment resource.
131+
&quot;accountDefenderAssessment&quot;: { # Account Defender risk assessment. # Assessment returned by Account Defender when a hashed_account_id is provided.
132+
&quot;labels&quot;: [ # Labels for this request.
133+
&quot;A String&quot;,
134+
],
135+
},
130136
&quot;event&quot;: { # The event being assessed.
131137
&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.
132138
&quot;siteKey&quot;: &quot;A String&quot;, # Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.
@@ -159,6 +165,11 @@ <h3>Method Details</h3>
159165
An object of the form:
160166

161167
{ # A recaptcha assessment resource.
168+
&quot;accountDefenderAssessment&quot;: { # Account Defender risk assessment. # Assessment returned by Account Defender when a hashed_account_id is provided.
169+
&quot;labels&quot;: [ # Labels for this request.
170+
&quot;A String&quot;,
171+
],
172+
},
162173
&quot;event&quot;: { # The event being assessed.
163174
&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.
164175
&quot;siteKey&quot;: &quot;A String&quot;, # Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.

docs/dyn/recaptchaenterprise_v1.projects.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@ <h2>Instance Methods</h2>
8484
</p>
8585
<p class="firstline">Returns the keys Resource.</p>
8686

87+
<p class="toc_element">
88+
<code><a href="recaptchaenterprise_v1.projects.relatedaccountgroupmemberships.html">relatedaccountgroupmemberships()</a></code>
89+
</p>
90+
<p class="firstline">Returns the relatedaccountgroupmemberships Resource.</p>
91+
92+
<p class="toc_element">
93+
<code><a href="recaptchaenterprise_v1.projects.relatedaccountgroups.html">relatedaccountgroups()</a></code>
94+
</p>
95+
<p class="firstline">Returns the relatedaccountgroups Resource.</p>
96+
8797
<p class="toc_element">
8898
<code><a href="#close">close()</a></code></p>
8999
<p class="firstline">Close httplib2 connections.</p>

googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@
489489
}
490490
}
491491
},
492-
"revision": "20211029",
492+
"revision": "20211112",
493493
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
494494
"schemas": {
495495
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -665,11 +665,6 @@
665665
"description": "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.",
666666
"type": "string"
667667
},
668-
"hashedAccountId": {
669-
"description": "Optional. Optional unique stable hashed user identifier for the request. The identifier should ideally be hashed using sha256 with stable secret.",
670-
"format": "byte",
671-
"type": "string"
672-
},
673668
"siteKey": {
674669
"description": "Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token.",
675670
"type": "string"

0 commit comments

Comments
 (0)