Skip to content

Commit a55839e

Browse files
1 parent bd19fef commit a55839e

File tree

5 files changed

+100
-6
lines changed

5 files changed

+100
-6
lines changed

clients/google-api-services-recaptchaenterprise/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-recaptchaenterprise</artifactId>
25-
<version>v1-rev20250427-2.0.0</version>
25+
<version>v1-rev20250504-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20250427-2.0.0'
38+
implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20250504-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ public final class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment ext
4444
@com.google.api.client.util.Key
4545
private GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict cardTestingVerdict;
4646

47+
/**
48+
* Output only. Reasons why the transaction is probably fraudulent and received a high transaction
49+
* risk score.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.util.List<GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason> riskReasons;
54+
4755
/**
4856
* Output only. Assessment of this transaction for risk of a stolen instrument.
4957
* The value may be {@code null}.
@@ -93,6 +101,25 @@ public GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment setCardTestingV
93101
return this;
94102
}
95103

104+
/**
105+
* Output only. Reasons why the transaction is probably fraudulent and received a high transaction
106+
* risk score.
107+
* @return value or {@code null} for none
108+
*/
109+
public java.util.List<GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason> getRiskReasons() {
110+
return riskReasons;
111+
}
112+
113+
/**
114+
* Output only. Reasons why the transaction is probably fraudulent and received a high transaction
115+
* risk score.
116+
* @param riskReasons riskReasons or {@code null} for none
117+
*/
118+
public GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment setRiskReasons(java.util.List<GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason> riskReasons) {
119+
this.riskReasons = riskReasons;
120+
return this;
121+
}
122+
96123
/**
97124
* Output only. Assessment of this transaction for risk of a stolen instrument.
98125
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.recaptchaenterprise.v1.model;
18+
19+
/**
20+
* Risk reasons applicable to the Fraud Prevention assessment.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the reCAPTCHA Enterprise API. For a detailed explanation
24+
* see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. Risk reasons applicable to the Fraud Prevention assessment.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String reason;
39+
40+
/**
41+
* Output only. Risk reasons applicable to the Fraud Prevention assessment.
42+
* @return value or {@code null} for none
43+
*/
44+
public java.lang.String getReason() {
45+
return reason;
46+
}
47+
48+
/**
49+
* Output only. Risk reasons applicable to the Fraud Prevention assessment.
50+
* @param reason reason or {@code null} for none
51+
*/
52+
public GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason setReason(java.lang.String reason) {
53+
this.reason = reason;
54+
return this;
55+
}
56+
57+
@Override
58+
public GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason set(String fieldName, Object value) {
59+
return (GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason clone() {
64+
return (GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentRiskReason) super.clone();
65+
}
66+
67+
}

clients/google-api-services-recaptchaenterprise/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-recaptchaenterprise</artifactId>
11-
<version>v1-rev20250427-2.0.0</version>
12-
<name>reCAPTCHA Enterprise API v1-rev20250427-2.0.0</name>
11+
<version>v1-rev20250504-2.0.0</version>
12+
<name>reCAPTCHA Enterprise API v1-rev20250504-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-recaptchaenterprise/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-recaptchaenterprise</artifactId>
25-
<version>v1-rev20250427-2.0.0</version>
25+
<version>v1-rev20250504-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20250427-2.0.0'
38+
implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20250504-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)