Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ef0c030

Browse files
committedMar 21, 2023
feat(recaptchaenterprise): update the api
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.express.type (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.headers (Total Keys: 2) - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.ja3.type (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.requestedUri.type (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1Key.properties.createTime.readOnly (Total Keys: 1)
1 parent aed1a85 commit ef0c030

File tree

3 files changed

+51
-15
lines changed

3 files changed

+51
-15
lines changed
 

‎docs/dyn/recaptchaenterprise_v1.projects.assessments.html

+16-4
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,15 @@ <h3>Method Details</h3>
152152
&quot;latestVerificationResult&quot;: &quot;A String&quot;, # Output only. Result of the latest account verification challenge.
153153
&quot;username&quot;: &quot;A String&quot;, # Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.
154154
},
155-
&quot;event&quot;: { # The event being assessed.
155+
&quot;event&quot;: { # The event being assessed. # The event being assessed.
156156
&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.
157+
&quot;express&quot;: True or False, # Optional. 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.
157158
&quot;hashedAccountId&quot;: &quot;A String&quot;, # Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
159+
&quot;headers&quot;: [ # Optional. Optional HTTP header information about the request.
160+
&quot;A String&quot;,
161+
],
162+
&quot;ja3&quot;: &quot;A String&quot;, # Optional. Optional JA3 fingerprint for SSL clients.
163+
&quot;requestedUri&quot;: &quot;A String&quot;, # Optional. The URI resource the user requested that triggered an assessment.
158164
&quot;siteKey&quot;: &quot;A String&quot;, # Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.
159165
&quot;token&quot;: &quot;A String&quot;, # Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
160166
&quot;transactionData&quot;: { # Transaction data associated with a payment protected by reCAPTCHA Enterprise. All fields are optional. # Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response.
@@ -245,7 +251,7 @@ <h3>Method Details</h3>
245251
],
246252
&quot;score&quot;: 3.14, # Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
247253
},
248-
&quot;tokenProperties&quot;: { # Output only. Properties of the provided event token.
254+
&quot;tokenProperties&quot;: { # Properties of the provided event token. # Output only. Properties of the provided event token.
249255
&quot;action&quot;: &quot;A String&quot;, # Action name provided at token generation.
250256
&quot;androidPackageName&quot;: &quot;A String&quot;, # The name of the Android package with which the token was generated (Android keys only).
251257
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the generation of the token.
@@ -283,9 +289,15 @@ <h3>Method Details</h3>
283289
&quot;latestVerificationResult&quot;: &quot;A String&quot;, # Output only. Result of the latest account verification challenge.
284290
&quot;username&quot;: &quot;A String&quot;, # Username of the account that is being verified. Deprecated. Customers should now provide the hashed account ID field in Event.
285291
},
286-
&quot;event&quot;: { # The event being assessed.
292+
&quot;event&quot;: { # The event being assessed. # The event being assessed.
287293
&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.
294+
&quot;express&quot;: True or False, # Optional. 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.
288295
&quot;hashedAccountId&quot;: &quot;A String&quot;, # Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.
296+
&quot;headers&quot;: [ # Optional. Optional HTTP header information about the request.
297+
&quot;A String&quot;,
298+
],
299+
&quot;ja3&quot;: &quot;A String&quot;, # Optional. Optional JA3 fingerprint for SSL clients.
300+
&quot;requestedUri&quot;: &quot;A String&quot;, # Optional. The URI resource the user requested that triggered an assessment.
289301
&quot;siteKey&quot;: &quot;A String&quot;, # Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.
290302
&quot;token&quot;: &quot;A String&quot;, # Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
291303
&quot;transactionData&quot;: { # Transaction data associated with a payment protected by reCAPTCHA Enterprise. All fields are optional. # Optional. Data describing a payment transaction to be assessed. Sending this data enables reCAPTCHA Enterprise Fraud Prevention and the FraudPreventionAssessment component in the response.
@@ -376,7 +388,7 @@ <h3>Method Details</h3>
376388
],
377389
&quot;score&quot;: 3.14, # Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
378390
},
379-
&quot;tokenProperties&quot;: { # Output only. Properties of the provided event token.
391+
&quot;tokenProperties&quot;: { # Properties of the provided event token. # Output only. Properties of the provided event token.
380392
&quot;action&quot;: &quot;A String&quot;, # Action name provided at token generation.
381393
&quot;androidPackageName&quot;: &quot;A String&quot;, # The name of the Android package with which the token was generated (Android keys only).
382394
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the generation of the token.

‎docs/dyn/recaptchaenterprise_v1.projects.keys.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h3>Method Details</h3>
126126
&quot;A String&quot;,
127127
],
128128
},
129-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
129+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
130130
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
131131
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
132132
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.
@@ -172,7 +172,7 @@ <h3>Method Details</h3>
172172
&quot;A String&quot;,
173173
],
174174
},
175-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
175+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
176176
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
177177
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
178178
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.
@@ -243,7 +243,7 @@ <h3>Method Details</h3>
243243
&quot;A String&quot;,
244244
],
245245
},
246-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
246+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
247247
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
248248
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
249249
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.
@@ -344,7 +344,7 @@ <h3>Method Details</h3>
344344
&quot;A String&quot;,
345345
],
346346
},
347-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
347+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
348348
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
349349
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
350350
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.
@@ -421,7 +421,7 @@ <h3>Method Details</h3>
421421
&quot;A String&quot;,
422422
],
423423
},
424-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
424+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
425425
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
426426
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
427427
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.
@@ -469,7 +469,7 @@ <h3>Method Details</h3>
469469
&quot;A String&quot;,
470470
],
471471
},
472-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
472+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
473473
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
474474
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
475475
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.
@@ -516,7 +516,7 @@ <h3>Method Details</h3>
516516
&quot;A String&quot;,
517517
],
518518
},
519-
&quot;createTime&quot;: &quot;A String&quot;, # The timestamp corresponding to the creation of this Key.
519+
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp corresponding to the creation of this Key.
520520
&quot;displayName&quot;: &quot;A String&quot;, # Human-readable display name of this key. Modifiable by user.
521521
&quot;iosSettings&quot;: { # Settings specific to keys that can be used by iOS apps. # Settings for keys that can be used by iOS apps.
522522
&quot;allowAllBundleIds&quot;: True or False, # If set to true, allowed_bundle_ids are not enforced.

‎googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json

+28-4
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
}
515515
}
516516
},
517-
"revision": "20230303",
517+
"revision": "20230312",
518518
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
519519
"schemas": {
520520
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -791,17 +791,37 @@
791791
"type": "object"
792792
},
793793
"GoogleCloudRecaptchaenterpriseV1Event": {
794+
"description": "The event being assessed.",
794795
"id": "GoogleCloudRecaptchaenterpriseV1Event",
795796
"properties": {
796797
"expectedAction": {
797798
"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.",
798799
"type": "string"
799800
},
801+
"express": {
802+
"description": "Optional. 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.",
803+
"type": "boolean"
804+
},
800805
"hashedAccountId": {
801806
"description": "Optional. Unique stable hashed user identifier for the request. The identifier must be hashed using hmac-sha256 with stable secret.",
802807
"format": "byte",
803808
"type": "string"
804809
},
810+
"headers": {
811+
"description": "Optional. Optional HTTP header information about the request.",
812+
"items": {
813+
"type": "string"
814+
},
815+
"type": "array"
816+
},
817+
"ja3": {
818+
"description": "Optional. Optional JA3 fingerprint for SSL clients.",
819+
"type": "string"
820+
},
821+
"requestedUri": {
822+
"description": "Optional. The URI resource the user requested that triggered an assessment.",
823+
"type": "string"
824+
},
805825
"siteKey": {
806826
"description": "Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token.",
807827
"type": "string"
@@ -896,8 +916,9 @@
896916
"description": "Settings for keys that can be used by Android apps."
897917
},
898918
"createTime": {
899-
"description": "The timestamp corresponding to the creation of this Key.",
919+
"description": "Output only. The timestamp corresponding to the creation of this Key.",
900920
"format": "google-datetime",
921+
"readOnly": true,
901922
"type": "string"
902923
},
903924
"displayName": {
@@ -1238,6 +1259,7 @@
12381259
"type": "object"
12391260
},
12401261
"GoogleCloudRecaptchaenterpriseV1TokenProperties": {
1262+
"description": "Properties of the provided event token.",
12411263
"id": "GoogleCloudRecaptchaenterpriseV1TokenProperties",
12421264
"properties": {
12431265
"action": {
@@ -1548,13 +1570,15 @@
15481570
"WAF_FEATURE_UNSPECIFIED",
15491571
"CHALLENGE_PAGE",
15501572
"SESSION_TOKEN",
1551-
"ACTION_TOKEN"
1573+
"ACTION_TOKEN",
1574+
"EXPRESS"
15521575
],
15531576
"enumDescriptions": [
15541577
"Undefined feature.",
15551578
"Redirects suspicious traffic to reCAPTCHA.",
15561579
"Use reCAPTCHA session-tokens to protect the whole user session on the site's domain.",
1557-
"Use reCAPTCHA action-tokens to protect user actions."
1580+
"Use reCAPTCHA action-tokens to protect user actions.",
1581+
"Use reCAPTCHA WAF express protection to protect any context other than web pages, like APIs and IoT devices."
15581582
],
15591583
"type": "string"
15601584
},

0 commit comments

Comments
 (0)
Please sign in to comment.