Skip to content

Commit fd727fd

Browse files
1 parent 62bf347 commit fd727fd

File tree

5 files changed

+130
-6
lines changed

5 files changed

+130
-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-rev20250706-2.0.0</version>
25+
<version>v1-rev20250917-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-rev20250706-2.0.0'
38+
implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20250917-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ public final class GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest ext
5757
@com.google.api.client.util.Key
5858
private java.lang.String hashedAccountId;
5959

60+
/**
61+
* Optional. If using an external multi-factor authentication provider, provide phone
62+
* authentication details for fraud detection purposes.
63+
* The value may be {@code null}.
64+
*/
65+
@com.google.api.client.util.Key
66+
private GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent phoneAuthenticationEvent;
67+
6068
/**
6169
* Optional. Reasons for the annotation that are assigned to the event.
6270
* The value may be {@code null}.
@@ -167,6 +175,25 @@ public GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest encodeHashedAcc
167175
return this;
168176
}
169177

178+
/**
179+
* Optional. If using an external multi-factor authentication provider, provide phone
180+
* authentication details for fraud detection purposes.
181+
* @return value or {@code null} for none
182+
*/
183+
public GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent getPhoneAuthenticationEvent() {
184+
return phoneAuthenticationEvent;
185+
}
186+
187+
/**
188+
* Optional. If using an external multi-factor authentication provider, provide phone
189+
* authentication details for fraud detection purposes.
190+
* @param phoneAuthenticationEvent phoneAuthenticationEvent or {@code null} for none
191+
*/
192+
public GoogleCloudRecaptchaenterpriseV1AnnotateAssessmentRequest setPhoneAuthenticationEvent(GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent phoneAuthenticationEvent) {
193+
this.phoneAuthenticationEvent = phoneAuthenticationEvent;
194+
return this;
195+
}
196+
170197
/**
171198
* Optional. Reasons for the annotation that are assigned to the event.
172199
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
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+
* Details on a phone authentication event
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 GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. The time at which the multi-factor authentication event (challenge or verification)
35+
* occurred.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private String eventTime;
40+
41+
/**
42+
* Required. Phone number in E.164 format for which a multi-factor authentication challenge was
43+
* initiated, succeeded, or failed.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String phoneNumber;
48+
49+
/**
50+
* Optional. The time at which the multi-factor authentication event (challenge or verification)
51+
* occurred.
52+
* @return value or {@code null} for none
53+
*/
54+
public String getEventTime() {
55+
return eventTime;
56+
}
57+
58+
/**
59+
* Optional. The time at which the multi-factor authentication event (challenge or verification)
60+
* occurred.
61+
* @param eventTime eventTime or {@code null} for none
62+
*/
63+
public GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent setEventTime(String eventTime) {
64+
this.eventTime = eventTime;
65+
return this;
66+
}
67+
68+
/**
69+
* Required. Phone number in E.164 format for which a multi-factor authentication challenge was
70+
* initiated, succeeded, or failed.
71+
* @return value or {@code null} for none
72+
*/
73+
public java.lang.String getPhoneNumber() {
74+
return phoneNumber;
75+
}
76+
77+
/**
78+
* Required. Phone number in E.164 format for which a multi-factor authentication challenge was
79+
* initiated, succeeded, or failed.
80+
* @param phoneNumber phoneNumber or {@code null} for none
81+
*/
82+
public GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent setPhoneNumber(java.lang.String phoneNumber) {
83+
this.phoneNumber = phoneNumber;
84+
return this;
85+
}
86+
87+
@Override
88+
public GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent set(String fieldName, Object value) {
89+
return (GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent) super.set(fieldName, value);
90+
}
91+
92+
@Override
93+
public GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent clone() {
94+
return (GoogleCloudRecaptchaenterpriseV1PhoneAuthenticationEvent) super.clone();
95+
}
96+
97+
}

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-rev20250706-2.0.0</version>
12-
<name>reCAPTCHA Enterprise API v1-rev20250706-2.0.0</name>
11+
<version>v1-rev20250917-2.0.0</version>
12+
<name>reCAPTCHA Enterprise API v1-rev20250917-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-rev20250706-2.0.0</version>
25+
<version>v1-rev20250917-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-rev20250706-2.0.0'
38+
implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20250917-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)