Skip to content

Commit c69f3a7

Browse files
1 parent c82fc17 commit c69f3a7

File tree

5 files changed

+133
-6
lines changed

5 files changed

+133
-6
lines changed

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

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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+
* Bot information and metadata.
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 GoogleCloudRecaptchaenterpriseV1Bot extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Enumerated field representing the type of bot.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String botType;
39+
40+
/**
41+
* Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-
42+
* case.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String name;
47+
48+
/**
49+
* Optional. Enumerated field representing the type of bot.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getBotType() {
53+
return botType;
54+
}
55+
56+
/**
57+
* Optional. Enumerated field representing the type of bot.
58+
* @param botType botType or {@code null} for none
59+
*/
60+
public GoogleCloudRecaptchaenterpriseV1Bot setBotType(java.lang.String botType) {
61+
this.botType = botType;
62+
return this;
63+
}
64+
65+
/**
66+
* Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-
67+
* case.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getName() {
71+
return name;
72+
}
73+
74+
/**
75+
* Optional. Enumerated string value that indicates the identity of the bot, formatted in kebab-
76+
* case.
77+
* @param name name or {@code null} for none
78+
*/
79+
public GoogleCloudRecaptchaenterpriseV1Bot setName(java.lang.String name) {
80+
this.name = name;
81+
return this;
82+
}
83+
84+
@Override
85+
public GoogleCloudRecaptchaenterpriseV1Bot set(String fieldName, Object value) {
86+
return (GoogleCloudRecaptchaenterpriseV1Bot) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public GoogleCloudRecaptchaenterpriseV1Bot clone() {
91+
return (GoogleCloudRecaptchaenterpriseV1Bot) super.clone();
92+
}
93+
94+
}

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

+33
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,20 @@ public final class GoogleCloudRecaptchaenterpriseV1RiskAnalysis extends com.goog
6060
@com.google.api.client.util.Key
6161
private java.lang.Float score;
6262

63+
/**
64+
* Output only. Bots with identities that have been verified by reCAPTCHA and detected in the
65+
* event.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.util.List<GoogleCloudRecaptchaenterpriseV1Bot> verifiedBots;
70+
71+
static {
72+
// hack to force ProGuard to consider GoogleCloudRecaptchaenterpriseV1Bot used, since otherwise it would be stripped out
73+
// see https://github.com/google/google-api-java-client/issues/543
74+
com.google.api.client.util.Data.nullOf(GoogleCloudRecaptchaenterpriseV1Bot.class);
75+
}
76+
6377
/**
6478
* Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys
6579
* @return value or {@code null} for none
@@ -132,6 +146,25 @@ public GoogleCloudRecaptchaenterpriseV1RiskAnalysis setScore(java.lang.Float sco
132146
return this;
133147
}
134148

149+
/**
150+
* Output only. Bots with identities that have been verified by reCAPTCHA and detected in the
151+
* event.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.util.List<GoogleCloudRecaptchaenterpriseV1Bot> getVerifiedBots() {
155+
return verifiedBots;
156+
}
157+
158+
/**
159+
* Output only. Bots with identities that have been verified by reCAPTCHA and detected in the
160+
* event.
161+
* @param verifiedBots verifiedBots or {@code null} for none
162+
*/
163+
public GoogleCloudRecaptchaenterpriseV1RiskAnalysis setVerifiedBots(java.util.List<GoogleCloudRecaptchaenterpriseV1Bot> verifiedBots) {
164+
this.verifiedBots = verifiedBots;
165+
return this;
166+
}
167+
135168
@Override
136169
public GoogleCloudRecaptchaenterpriseV1RiskAnalysis set(String fieldName, Object value) {
137170
return (GoogleCloudRecaptchaenterpriseV1RiskAnalysis) super.set(fieldName, value);

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

+2-2
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-rev20250209-2.0.0</version>
12-
<name>reCAPTCHA Enterprise API v1-rev20250209-2.0.0</name>
11+
<version>v1-rev20250427-2.0.0</version>
12+
<name>reCAPTCHA Enterprise API v1-rev20250427-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

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

0 commit comments

Comments
 (0)