From e274f9a41b1d135c995a88f9516a35a6e7b83b8d Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Tue, 6 Oct 2026 18:18:21 -0700 Subject: [PATCH] chore: regenerate recaptchaenterprise client --- .../v1/2.0.0/README.md | 4 +- .../GoogleCloudRecaptchaenterpriseV1Bot.java | 30 +++--- ...dRecaptchaenterpriseV1TokenProperties.java | 33 +++++- ...riseV1TokenPropertiesClientProperties.java | 101 ++++++++++++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 6 files changed, 152 insertions(+), 24 deletions(-) create mode 100644 clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties.java diff --git a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/README.md b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/README.md index 2538a460c1b..2e9d348d5a3 100644 --- a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/README.md +++ b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-recaptchaenterprise - v1-rev20260825-2.0.0 + v1-rev20261003-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20260825-2.0.0' + implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20261003-2.0.0' } ``` diff --git a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1Bot.java b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1Bot.java index 8bafc2b8eae..b2cf27f674b 100644 --- a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1Bot.java +++ b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1Bot.java @@ -42,11 +42,11 @@ public final class GoogleCloudRecaptchaenterpriseV1Bot extends com.google.api.cl * case. Current example values include the following: * google-agent - AI_AGENT * browser-base - * AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - * AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * - * marker-io - AI_AGENT * broadcom - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * - * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER - * Ensure that your applications can handle identifier values not explicitly listed here. - * Deprecated values might take some time to stop showing up in responses. New values can be - * pushed so this list should be taken as non exhaustive. + * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - + * CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER Ensure that + * your applications can handle identifier values not explicitly listed here. Deprecated values + * might take some time to stop showing up in responses. New values can be pushed so this list + * should be taken as non exhaustive. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -74,11 +74,11 @@ public GoogleCloudRecaptchaenterpriseV1Bot setBotType(java.lang.String botType) * case. Current example values include the following: * google-agent - AI_AGENT * browser-base - * AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - * AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * - * marker-io - AI_AGENT * broadcom - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * - * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER - * Ensure that your applications can handle identifier values not explicitly listed here. - * Deprecated values might take some time to stop showing up in responses. New values can be - * pushed so this list should be taken as non exhaustive. + * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - + * CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER Ensure that + * your applications can handle identifier values not explicitly listed here. Deprecated values + * might take some time to stop showing up in responses. New values can be pushed so this list + * should be taken as non exhaustive. * @return value or {@code null} for none */ public java.lang.String getName() { @@ -90,11 +90,11 @@ public java.lang.String getName() { * case. Current example values include the following: * google-agent - AI_AGENT * browser-base - * AI_AGENT * chat-gpt - AI_AGENT * aws-bedrock - AI_AGENT * cybaa-bot - AI_AGENT * cloudflare - * AI_AGENT * payhawk - AI_AGENT * duck-duck-go - SEARCH_INDEXER * mediaboard - CONTENT_SCRAPER * - * marker-io - AI_AGENT * broadcom - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * - * stackscope - CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER - * Ensure that your applications can handle identifier values not explicitly listed here. - * Deprecated values might take some time to stop showing up in responses. New values can be - * pushed so this list should be taken as non exhaustive. + * marker-io - AI_AGENT * anchor-browser - AI_AGENT * shopify - AI_AGENT * stackscope - + * CONTENT_SCRAPER * manus - AI_AGENT * kernel-sh - AI_AGENT * zvelo - SEARCH_INDEXER Ensure that + * your applications can handle identifier values not explicitly listed here. Deprecated values + * might take some time to stop showing up in responses. New values can be pushed so this list + * should be taken as non exhaustive. * @param name name or {@code null} for none */ public GoogleCloudRecaptchaenterpriseV1Bot setName(java.lang.String name) { diff --git a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenProperties.java b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenProperties.java index a7ecb5bc9fd..2030ccdddd7 100644 --- a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenProperties.java +++ b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenProperties.java @@ -45,9 +45,17 @@ public final class GoogleCloudRecaptchaenterpriseV1TokenProperties extends com.g @com.google.api.client.util.Key private java.lang.String androidPackageName; + /** + * Output only. Information collected by the reCAPTCHA Enterprise client-side integration when the + * token is generated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties clientProperties; + /** * Output only. Indicates a failure collecting reCAPTCHA signals at token generation. This might - * be a transient condition, or persistent for a user’s environment. + * be a transient condition, or persistent for a user's environment. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -126,9 +134,28 @@ public GoogleCloudRecaptchaenterpriseV1TokenProperties setAndroidPackageName(jav return this; } + /** + * Output only. Information collected by the reCAPTCHA Enterprise client-side integration when the + * token is generated. + * @return value or {@code null} for none + */ + public GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties getClientProperties() { + return clientProperties; + } + + /** + * Output only. Information collected by the reCAPTCHA Enterprise client-side integration when the + * token is generated. + * @param clientProperties clientProperties or {@code null} for none + */ + public GoogleCloudRecaptchaenterpriseV1TokenProperties setClientProperties(GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties clientProperties) { + this.clientProperties = clientProperties; + return this; + } + /** * Output only. Indicates a failure collecting reCAPTCHA signals at token generation. This might - * be a transient condition, or persistent for a user’s environment. + * be a transient condition, or persistent for a user's environment. * @return value or {@code null} for none */ public java.lang.Boolean getClientSignalsFailed() { @@ -137,7 +164,7 @@ public java.lang.Boolean getClientSignalsFailed() { /** * Output only. Indicates a failure collecting reCAPTCHA signals at token generation. This might - * be a transient condition, or persistent for a user’s environment. + * be a transient condition, or persistent for a user's environment. * @param clientSignalsFailed clientSignalsFailed or {@code null} for none */ public GoogleCloudRecaptchaenterpriseV1TokenProperties setClientSignalsFailed(java.lang.Boolean clientSignalsFailed) { diff --git a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties.java b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties.java new file mode 100644 index 00000000000..fe3bb6e2c72 --- /dev/null +++ b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/com/google/api/services/recaptchaenterprise/v1/model/GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties.java @@ -0,0 +1,101 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express + * or implied. See the License for the specific language governing permissions and limitations under + * the License. + */ +/* + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ + * Modify at your own risk. + */ + +package com.google.api.services.recaptchaenterprise.v1.model; + +/** + * Information collected by the reCAPTCHA Enterprise client-side integration when the token is + * generated. + * + *

This is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the reCAPTCHA Enterprise API. For a detailed explanation + * see: + * https://developers.google.com/api-client-library/java/google-http-java-client/json + *

+ * + * @author Google, Inc. + */ +@SuppressWarnings("javadoc") +public final class GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties extends com.google.api.client.json.GenericJson { + + /** + * Output only. The `User-Agent` header string observed by reCAPTCHA during token generation. This + * string is truncated to a maximum length of 1000 characters. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userAgent; + + /** + * Output only. The user's IP address at token generation. This can be either an IPv4 address + * (e.g., `192.0.2.1`) or an IPv6 address in canonical format per RFC 5952 section 4 (e.g., + * `2001:db8::1`). IPv4-mapped IPv6 addresses are canonicalized to standard IPv4. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String userIpAddress; + + /** + * Output only. The `User-Agent` header string observed by reCAPTCHA during token generation. This + * string is truncated to a maximum length of 1000 characters. + * @return value or {@code null} for none + */ + public java.lang.String getUserAgent() { + return userAgent; + } + + /** + * Output only. The `User-Agent` header string observed by reCAPTCHA during token generation. This + * string is truncated to a maximum length of 1000 characters. + * @param userAgent userAgent or {@code null} for none + */ + public GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties setUserAgent(java.lang.String userAgent) { + this.userAgent = userAgent; + return this; + } + + /** + * Output only. The user's IP address at token generation. This can be either an IPv4 address + * (e.g., `192.0.2.1`) or an IPv6 address in canonical format per RFC 5952 section 4 (e.g., + * `2001:db8::1`). IPv4-mapped IPv6 addresses are canonicalized to standard IPv4. + * @return value or {@code null} for none + */ + public java.lang.String getUserIpAddress() { + return userIpAddress; + } + + /** + * Output only. The user's IP address at token generation. This can be either an IPv4 address + * (e.g., `192.0.2.1`) or an IPv6 address in canonical format per RFC 5952 section 4 (e.g., + * `2001:db8::1`). IPv4-mapped IPv6 addresses are canonicalized to standard IPv4. + * @param userIpAddress userIpAddress or {@code null} for none + */ + public GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties setUserIpAddress(java.lang.String userIpAddress) { + this.userIpAddress = userIpAddress; + return this; + } + + @Override + public GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties set(String fieldName, Object value) { + return (GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties) super.set(fieldName, value); + } + + @Override + public GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties clone() { + return (GoogleCloudRecaptchaenterpriseV1TokenPropertiesClientProperties) super.clone(); + } + +} diff --git a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/pom.xml b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/pom.xml index 6c365cf4d51..d59263cafb7 100644 --- a/clients/google-api-services-recaptchaenterprise/v1/2.0.0/pom.xml +++ b/clients/google-api-services-recaptchaenterprise/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-recaptchaenterprise - v1-rev20260825-2.0.0 - reCAPTCHA Enterprise API v1-rev20260825-2.0.0 + v1-rev20261003-2.0.0 + reCAPTCHA Enterprise API v1-rev20261003-2.0.0 jar 2011 diff --git a/clients/google-api-services-recaptchaenterprise/v1/README.md b/clients/google-api-services-recaptchaenterprise/v1/README.md index 2538a460c1b..2e9d348d5a3 100644 --- a/clients/google-api-services-recaptchaenterprise/v1/README.md +++ b/clients/google-api-services-recaptchaenterprise/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-recaptchaenterprise - v1-rev20260825-2.0.0 + v1-rev20261003-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20260825-2.0.0' + implementation 'com.google.apis:google-api-services-recaptchaenterprise:v1-rev20261003-2.0.0' } ```