Skip to content

Commit 1f3de83

Browse files
feat(recaptchaenterprise): update the api
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1Assessment.properties.phoneFraudAssessment (Total Keys: 2) - schemas.GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment (Total Keys: 4) - schemas.GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict (Total Keys: 8)
1 parent 6d15113 commit 1f3de83

File tree

2 files changed

+63
-1
lines changed

2 files changed

+63
-1
lines changed

docs/dyn/recaptchaenterprise_v1.projects.assessments.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,14 @@ <h3>Method Details</h3>
302302
},
303303
},
304304
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name for the Assessment in the format `projects/{project}/assessments/{assessment}`.
305+
&quot;phoneFraudAssessment&quot;: { # Assessment for Phone Fraud # Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.
306+
&quot;smsTollFraudVerdict&quot;: { # Information about sms toll fraud # Output only. Assessment of this phone event for risk of sms toll fraud.
307+
&quot;reasons&quot;: [ # Output only. Reasons contributing to the SMS toll fraud verdict.
308+
&quot;A String&quot;,
309+
],
310+
&quot;risk&quot;: 3.14, # Output only. Probability of an sms event being fraudulent. Values are from 0.0 (lowest) to 1.0 (highest).
311+
},
312+
},
305313
&quot;privatePasswordLeakVerification&quot;: { # Private password leak verification info. # Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
306314
&quot;encryptedLeakMatchPrefixes&quot;: [ # Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`
307315
&quot;A String&quot;,
@@ -506,6 +514,14 @@ <h3>Method Details</h3>
506514
},
507515
},
508516
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name for the Assessment in the format `projects/{project}/assessments/{assessment}`.
517+
&quot;phoneFraudAssessment&quot;: { # Assessment for Phone Fraud # Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.
518+
&quot;smsTollFraudVerdict&quot;: { # Information about sms toll fraud # Output only. Assessment of this phone event for risk of sms toll fraud.
519+
&quot;reasons&quot;: [ # Output only. Reasons contributing to the SMS toll fraud verdict.
520+
&quot;A String&quot;,
521+
],
522+
&quot;risk&quot;: 3.14, # Output only. Probability of an sms event being fraudulent. Values are from 0.0 (lowest) to 1.0 (highest).
523+
},
524+
},
509525
&quot;privatePasswordLeakVerification&quot;: { # Private password leak verification info. # Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
510526
&quot;encryptedLeakMatchPrefixes&quot;: [ # Output only. List of prefixes of the encrypted potential password leaks that matched the given parameters. They must be compared with the client-side decryption prefix of `reencrypted_user_credentials_hash`
511527
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/recaptchaenterprise.v1.json

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@
694694
}
695695
}
696696
},
697-
"revision": "20240516",
697+
"revision": "20240518",
698698
"rootUrl": "https://recaptchaenterprise.googleapis.com/",
699699
"schemas": {
700700
"GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment": {
@@ -948,6 +948,11 @@ true
948948
"readOnly": true,
949949
"type": "string"
950950
},
951+
"phoneFraudAssessment": {
952+
"$ref": "GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment",
953+
"description": "Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.",
954+
"readOnly": true
955+
},
951956
"privatePasswordLeakVerification": {
952957
"$ref": "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification",
953958
"description": "Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials."
@@ -1542,6 +1547,18 @@ true
15421547
},
15431548
"type": "object"
15441549
},
1550+
"GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment": {
1551+
"description": "Assessment for Phone Fraud",
1552+
"id": "GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment",
1553+
"properties": {
1554+
"smsTollFraudVerdict": {
1555+
"$ref": "GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict",
1556+
"description": "Output only. Assessment of this phone event for risk of sms toll fraud.",
1557+
"readOnly": true
1558+
}
1559+
},
1560+
"type": "object"
1561+
},
15451562
"GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification": {
15461563
"description": "Private password leak verification info.",
15471564
"id": "GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification",
@@ -1763,6 +1780,35 @@ true
17631780
},
17641781
"type": "object"
17651782
},
1783+
"GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict": {
1784+
"description": "Information about sms toll fraud",
1785+
"id": "GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict",
1786+
"properties": {
1787+
"reasons": {
1788+
"description": "Output only. Reasons contributing to the SMS toll fraud verdict.",
1789+
"items": {
1790+
"enum": [
1791+
"SMS_TOLL_FRAUD_REASON_UNSPECIFIED",
1792+
"INVALID_PHONE_NUMBER"
1793+
],
1794+
"enumDescriptions": [
1795+
"Default unspecified reason",
1796+
"The provided phone number was invalid"
1797+
],
1798+
"type": "string"
1799+
},
1800+
"readOnly": true,
1801+
"type": "array"
1802+
},
1803+
"risk": {
1804+
"description": "Output only. Probability of an sms event being fraudulent. Values are from 0.0 (lowest) to 1.0 (highest).",
1805+
"format": "float",
1806+
"readOnly": true,
1807+
"type": "number"
1808+
}
1809+
},
1810+
"type": "object"
1811+
},
17661812
"GoogleCloudRecaptchaenterpriseV1TestingOptions": {
17671813
"description": "Options for user acceptance testing.",
17681814
"id": "GoogleCloudRecaptchaenterpriseV1TestingOptions",

0 commit comments

Comments
 (0)