Skip to content

Commit 433518c

Browse files
feat(recaptchaenterprise): update the api
#### recaptchaenterprise:v1 The following keys were added: - schemas.GoogleCloudRecaptchaenterpriseV1Assessment.properties.fraudPreventionAssessment.$ref (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1Event.properties.transactionData.$ref (Total Keys: 1) - schemas.GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment (Total Keys: 14) - schemas.GoogleCloudRecaptchaenterpriseV1TransactionData (Total Keys: 50)
1 parent 22ffccb commit 433518c

File tree

2 files changed

+384
-5
lines changed

2 files changed

+384
-5
lines changed

docs/dyn/recaptchaenterprise_v1.projects.assessments.html

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,79 @@ <h3>Method Details</h3>
157157
&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.
158158
&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.
159159
&quot;token&quot;: &quot;A String&quot;, # Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
160+
&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.
161+
&quot;billingAddress&quot;: { # Structured address format for billing and shipping addresses. # Address associated with the payment method when applicable.
162+
&quot;address&quot;: [ # The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
163+
&quot;A String&quot;,
164+
],
165+
&quot;administrativeArea&quot;: &quot;A String&quot;, # The state, province, or otherwise administrative area of the address.
166+
&quot;locality&quot;: &quot;A String&quot;, # The town/city of the address.
167+
&quot;postalCode&quot;: &quot;A String&quot;, # The postal or ZIP code of the address.
168+
&quot;recipient&quot;: &quot;A String&quot;, # The recipient name, potentially including information such as &quot;care of&quot;.
169+
&quot;regionCode&quot;: &quot;A String&quot;, # The CLDR country/region of the address.
170+
},
171+
&quot;cardBin&quot;: &quot;A String&quot;, # The Bank Identification Number - generally the first 6 or 8 digits of the card.
172+
&quot;cardLastFour&quot;: &quot;A String&quot;, # The last four digits of the card.
173+
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency code in ISO-4217 format.
174+
&quot;gatewayInfo&quot;: { # Details about the transaction from the gateway. # Information about the payment gateway&#x27;s response to the transaction.
175+
&quot;avsResponseCode&quot;: &quot;A String&quot;, # AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).
176+
&quot;cvvResponseCode&quot;: &quot;A String&quot;, # CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).
177+
&quot;gatewayResponseCode&quot;: &quot;A String&quot;, # Gateway response code describing the state of the transaction.
178+
&quot;name&quot;: &quot;A String&quot;, # Name of the gateway service (for example, stripe, square, paypal).
179+
},
180+
&quot;items&quot;: [ # Items purchased in this transaction.
181+
{ # Line items being purchased in this transaction.
182+
&quot;merchantAccountId&quot;: &quot;A String&quot;, # When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
183+
&quot;name&quot;: &quot;A String&quot;, # The full name of the item.
184+
&quot;quantity&quot;: &quot;A String&quot;, # The quantity of this item that is being purchased.
185+
&quot;value&quot;: 3.14, # The value per item that the user is paying, in the transaction currency, after discounts.
186+
},
187+
],
188+
&quot;merchants&quot;: [ # Information about the user or users fulfilling the transaction.
189+
{ # Details about a user&#x27;s account involved in the transaction.
190+
&quot;accountId&quot;: &quot;A String&quot;, # Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
191+
&quot;creationMs&quot;: &quot;A String&quot;, # The epoch milliseconds of the user&#x27;s account creation.
192+
&quot;email&quot;: &quot;A String&quot;, # The email address of the user.
193+
&quot;emailVerified&quot;: True or False, # Whether the email has been verified to be accessible by the user (OTP or similar).
194+
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the user, with country code.
195+
&quot;phoneVerified&quot;: True or False, # Whether the phone number has been verified to be accessible by the user (OTP or similar).
196+
},
197+
],
198+
&quot;paymentMethod&quot;: &quot;A String&quot;, # The payment method for the transaction. The allowed values are: * credit-card * debit-card * gift-card * processor-{name} (If a third-party is used, for example, processor-paypal) * custom-{name} (If an alternative method is used, for example, custom-crypto)
199+
&quot;shippingAddress&quot;: { # Structured address format for billing and shipping addresses. # Destination address if this transaction involves shipping a physical item.
200+
&quot;address&quot;: [ # The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
201+
&quot;A String&quot;,
202+
],
203+
&quot;administrativeArea&quot;: &quot;A String&quot;, # The state, province, or otherwise administrative area of the address.
204+
&quot;locality&quot;: &quot;A String&quot;, # The town/city of the address.
205+
&quot;postalCode&quot;: &quot;A String&quot;, # The postal or ZIP code of the address.
206+
&quot;recipient&quot;: &quot;A String&quot;, # The recipient name, potentially including information such as &quot;care of&quot;.
207+
&quot;regionCode&quot;: &quot;A String&quot;, # The CLDR country/region of the address.
208+
},
209+
&quot;shippingValue&quot;: 3.14, # The value of shipping in the specified currency. 0 for free or no shipping.
210+
&quot;transactionId&quot;: &quot;A String&quot;, # Unique identifier for the transaction. This custom identifier can be used to reference this transaction in the future, for example, labeling a refund or chargeback event. Two attempts at the same transaction should use the same transaction id.
211+
&quot;user&quot;: { # Details about a user&#x27;s account involved in the transaction. # Information about the user paying/initiating the transaction.
212+
&quot;accountId&quot;: &quot;A String&quot;, # Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
213+
&quot;creationMs&quot;: &quot;A String&quot;, # The epoch milliseconds of the user&#x27;s account creation.
214+
&quot;email&quot;: &quot;A String&quot;, # The email address of the user.
215+
&quot;emailVerified&quot;: True or False, # Whether the email has been verified to be accessible by the user (OTP or similar).
216+
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the user, with country code.
217+
&quot;phoneVerified&quot;: True or False, # Whether the phone number has been verified to be accessible by the user (OTP or similar).
218+
},
219+
&quot;value&quot;: 3.14, # The decimal value of the transaction in the specified currency.
220+
},
160221
&quot;userAgent&quot;: &quot;A String&quot;, # Optional. The user agent present in the request from the user&#x27;s device related to this event.
161222
&quot;userIpAddress&quot;: &quot;A String&quot;, # Optional. The IP address in the request from the user&#x27;s device related to this event.
162223
},
224+
&quot;fraudPreventionAssessment&quot;: { # Assessment for Fraud Prevention. # Assessment returned by Fraud Prevention when TransactionData is provided.
225+
&quot;cardTestingVerdict&quot;: { # Information about card testing fraud, where an adversary is testing fraudulently obtained cards or brute forcing their details. # Assessment of this transaction for risk of being part of a card testing attack.
226+
&quot;risk&quot;: 3.14, # Probability (0-1) of this transaction attempt being part of a card testing attack.
227+
},
228+
&quot;stolenInstrumentVerdict&quot;: { # Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase. # Assessment of this transaction for risk of a stolen instrument.
229+
&quot;risk&quot;: 3.14, # Probability (0-1) of this transaction being executed with a stolen instrument.
230+
},
231+
&quot;transactionRisk&quot;: 3.14, # Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.
232+
},
163233
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for the Assessment in the format &quot;projects/{project}/assessments/{assessment}&quot;.
164234
&quot;privatePasswordLeakVerification&quot;: { # Private password leak verification info. # The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
165235
&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`
@@ -218,9 +288,79 @@ <h3>Method Details</h3>
218288
&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.
219289
&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.
220290
&quot;token&quot;: &quot;A String&quot;, # Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site.
291+
&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.
292+
&quot;billingAddress&quot;: { # Structured address format for billing and shipping addresses. # Address associated with the payment method when applicable.
293+
&quot;address&quot;: [ # The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
294+
&quot;A String&quot;,
295+
],
296+
&quot;administrativeArea&quot;: &quot;A String&quot;, # The state, province, or otherwise administrative area of the address.
297+
&quot;locality&quot;: &quot;A String&quot;, # The town/city of the address.
298+
&quot;postalCode&quot;: &quot;A String&quot;, # The postal or ZIP code of the address.
299+
&quot;recipient&quot;: &quot;A String&quot;, # The recipient name, potentially including information such as &quot;care of&quot;.
300+
&quot;regionCode&quot;: &quot;A String&quot;, # The CLDR country/region of the address.
301+
},
302+
&quot;cardBin&quot;: &quot;A String&quot;, # The Bank Identification Number - generally the first 6 or 8 digits of the card.
303+
&quot;cardLastFour&quot;: &quot;A String&quot;, # The last four digits of the card.
304+
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency code in ISO-4217 format.
305+
&quot;gatewayInfo&quot;: { # Details about the transaction from the gateway. # Information about the payment gateway&#x27;s response to the transaction.
306+
&quot;avsResponseCode&quot;: &quot;A String&quot;, # AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).
307+
&quot;cvvResponseCode&quot;: &quot;A String&quot;, # CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).
308+
&quot;gatewayResponseCode&quot;: &quot;A String&quot;, # Gateway response code describing the state of the transaction.
309+
&quot;name&quot;: &quot;A String&quot;, # Name of the gateway service (for example, stripe, square, paypal).
310+
},
311+
&quot;items&quot;: [ # Items purchased in this transaction.
312+
{ # Line items being purchased in this transaction.
313+
&quot;merchantAccountId&quot;: &quot;A String&quot;, # When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
314+
&quot;name&quot;: &quot;A String&quot;, # The full name of the item.
315+
&quot;quantity&quot;: &quot;A String&quot;, # The quantity of this item that is being purchased.
316+
&quot;value&quot;: 3.14, # The value per item that the user is paying, in the transaction currency, after discounts.
317+
},
318+
],
319+
&quot;merchants&quot;: [ # Information about the user or users fulfilling the transaction.
320+
{ # Details about a user&#x27;s account involved in the transaction.
321+
&quot;accountId&quot;: &quot;A String&quot;, # Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
322+
&quot;creationMs&quot;: &quot;A String&quot;, # The epoch milliseconds of the user&#x27;s account creation.
323+
&quot;email&quot;: &quot;A String&quot;, # The email address of the user.
324+
&quot;emailVerified&quot;: True or False, # Whether the email has been verified to be accessible by the user (OTP or similar).
325+
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the user, with country code.
326+
&quot;phoneVerified&quot;: True or False, # Whether the phone number has been verified to be accessible by the user (OTP or similar).
327+
},
328+
],
329+
&quot;paymentMethod&quot;: &quot;A String&quot;, # The payment method for the transaction. The allowed values are: * credit-card * debit-card * gift-card * processor-{name} (If a third-party is used, for example, processor-paypal) * custom-{name} (If an alternative method is used, for example, custom-crypto)
330+
&quot;shippingAddress&quot;: { # Structured address format for billing and shipping addresses. # Destination address if this transaction involves shipping a physical item.
331+
&quot;address&quot;: [ # The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
332+
&quot;A String&quot;,
333+
],
334+
&quot;administrativeArea&quot;: &quot;A String&quot;, # The state, province, or otherwise administrative area of the address.
335+
&quot;locality&quot;: &quot;A String&quot;, # The town/city of the address.
336+
&quot;postalCode&quot;: &quot;A String&quot;, # The postal or ZIP code of the address.
337+
&quot;recipient&quot;: &quot;A String&quot;, # The recipient name, potentially including information such as &quot;care of&quot;.
338+
&quot;regionCode&quot;: &quot;A String&quot;, # The CLDR country/region of the address.
339+
},
340+
&quot;shippingValue&quot;: 3.14, # The value of shipping in the specified currency. 0 for free or no shipping.
341+
&quot;transactionId&quot;: &quot;A String&quot;, # Unique identifier for the transaction. This custom identifier can be used to reference this transaction in the future, for example, labeling a refund or chargeback event. Two attempts at the same transaction should use the same transaction id.
342+
&quot;user&quot;: { # Details about a user&#x27;s account involved in the transaction. # Information about the user paying/initiating the transaction.
343+
&quot;accountId&quot;: &quot;A String&quot;, # Unique account identifier for this user. If using account defender, this should match the hashed_account_id field. Otherwise, a unique and persistent identifier for this account.
344+
&quot;creationMs&quot;: &quot;A String&quot;, # The epoch milliseconds of the user&#x27;s account creation.
345+
&quot;email&quot;: &quot;A String&quot;, # The email address of the user.
346+
&quot;emailVerified&quot;: True or False, # Whether the email has been verified to be accessible by the user (OTP or similar).
347+
&quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the user, with country code.
348+
&quot;phoneVerified&quot;: True or False, # Whether the phone number has been verified to be accessible by the user (OTP or similar).
349+
},
350+
&quot;value&quot;: 3.14, # The decimal value of the transaction in the specified currency.
351+
},
221352
&quot;userAgent&quot;: &quot;A String&quot;, # Optional. The user agent present in the request from the user&#x27;s device related to this event.
222353
&quot;userIpAddress&quot;: &quot;A String&quot;, # Optional. The IP address in the request from the user&#x27;s device related to this event.
223354
},
355+
&quot;fraudPreventionAssessment&quot;: { # Assessment for Fraud Prevention. # Assessment returned by Fraud Prevention when TransactionData is provided.
356+
&quot;cardTestingVerdict&quot;: { # Information about card testing fraud, where an adversary is testing fraudulently obtained cards or brute forcing their details. # Assessment of this transaction for risk of being part of a card testing attack.
357+
&quot;risk&quot;: 3.14, # Probability (0-1) of this transaction attempt being part of a card testing attack.
358+
},
359+
&quot;stolenInstrumentVerdict&quot;: { # Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase. # Assessment of this transaction for risk of a stolen instrument.
360+
&quot;risk&quot;: 3.14, # Probability (0-1) of this transaction being executed with a stolen instrument.
361+
},
362+
&quot;transactionRisk&quot;: 3.14, # Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.
363+
},
224364
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for the Assessment in the format &quot;projects/{project}/assessments/{assessment}&quot;.
225365
&quot;privatePasswordLeakVerification&quot;: { # Private password leak verification info. # The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
226366
&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`

0 commit comments

Comments
 (0)