From ad113d1ef1025c6b13b54481886e10ad1d3d73a1 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 1 Aug 2026 18:13:25 -0700 Subject: [PATCH] chore: regenerate chat client --- .../v1/2.0.0/README.md | 4 +- .../api/services/chat/v1/HangoutsChat.java | 68 +++++++++++++++---- .../api/services/chat/v1/model/Message.java | 24 +++++++ .../chat/v1/model/SearchMessagesRequest.java | 24 +++++++ .../chat/v1/model/SearchSpaceResult.java | 66 ++++++++++++++++++ .../chat/v1/model/SearchSpacesResponse.java | 30 ++++++++ .../google-api-services-chat/v1/2.0.0/pom.xml | 4 +- clients/google-api-services-chat/v1/README.md | 4 +- 8 files changed, 204 insertions(+), 20 deletions(-) create mode 100644 clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/SearchSpaceResult.java diff --git a/clients/google-api-services-chat/v1/2.0.0/README.md b/clients/google-api-services-chat/v1/2.0.0/README.md index fa221d5e592..a5d8a97175e 100644 --- a/clients/google-api-services-chat/v1/2.0.0/README.md +++ b/clients/google-api-services-chat/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-chat - v1-rev20260726-2.0.0 + v1-rev20260728-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chat:v1-rev20260726-2.0.0' + implementation 'com.google.apis:google-api-services-chat:v1-rev20260728-2.0.0' } ``` diff --git a/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/HangoutsChat.java b/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/HangoutsChat.java index 0ea5c57baff..bca8abe8b0a 100644 --- a/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/HangoutsChat.java +++ b/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/HangoutsChat.java @@ -3003,10 +3003,10 @@ public Patch set(String parameterName, Object value) { * manage spaces](https://developers.google.com/workspace/chat/search-manage-admin). When * `use_admin_access` is set to `false`, the results are limited to spaces where the calling user is * a joined member. To search with administrator privileges, set `use_admin_access` to `true`. - * Setting `use_admin_access` to `false` is available under Developer Preview. Supports the - * following types of [authentication](https://developers.google.com/workspace/chat/authenticate- - * authorize): - [User authentication](https://developers.google.com/workspace/chat/authenticate- - * authorize-chat-user) with one of the following authorization scopes: - + * Supports the following types of + * [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [User + * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) + * with one of the following authorization scopes: - * `https://www.googleapis.com/auth/chat.spaces.readonly` - * `https://www.googleapis.com/auth/chat.spaces` - [User authentication with administrator * privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin- @@ -3037,10 +3037,10 @@ public class Search extends HangoutsChatRequest 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 Google Chat 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 SearchSpaceResult extends com.google.api.client.json.GenericJson { + + /** + * Output only. The matched space. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private Space space; + + /** + * Output only. The matched space. + * @return value or {@code null} for none + */ + public Space getSpace() { + return space; + } + + /** + * Output only. The matched space. + * @param space space or {@code null} for none + */ + public SearchSpaceResult setSpace(Space space) { + this.space = space; + return this; + } + + @Override + public SearchSpaceResult set(String fieldName, Object value) { + return (SearchSpaceResult) super.set(fieldName, value); + } + + @Override + public SearchSpaceResult clone() { + return (SearchSpaceResult) super.clone(); + } + +} diff --git a/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/SearchSpacesResponse.java b/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/SearchSpacesResponse.java index 6397110ea07..c4aff5eb29a 100644 --- a/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/SearchSpacesResponse.java +++ b/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/SearchSpacesResponse.java @@ -37,6 +37,19 @@ public final class SearchSpacesResponse extends com.google.api.client.json.Gener @com.google.api.client.util.Key private java.lang.String nextPageToken; + /** + * Output only. The list of search results that matched the query. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List results; + + static { + // hack to force ProGuard to consider SearchSpaceResult used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(SearchSpaceResult.class); + } + /** * Deprecated: Please use the new `results` field instead. A page of the requested spaces. This * field will be populated only when `useAdminAccess` is set to `true` and deprecated in favor of @@ -73,6 +86,23 @@ public SearchSpacesResponse setNextPageToken(java.lang.String nextPageToken) { return this; } + /** + * Output only. The list of search results that matched the query. + * @return value or {@code null} for none + */ + public java.util.List getResults() { + return results; + } + + /** + * Output only. The list of search results that matched the query. + * @param results results or {@code null} for none + */ + public SearchSpacesResponse setResults(java.util.List results) { + this.results = results; + return this; + } + /** * Deprecated: Please use the new `results` field instead. A page of the requested spaces. This * field will be populated only when `useAdminAccess` is set to `true` and deprecated in favor of diff --git a/clients/google-api-services-chat/v1/2.0.0/pom.xml b/clients/google-api-services-chat/v1/2.0.0/pom.xml index d1c4ddca359..c723b150c35 100644 --- a/clients/google-api-services-chat/v1/2.0.0/pom.xml +++ b/clients/google-api-services-chat/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-chat - v1-rev20260726-2.0.0 - Google Chat API v1-rev20260726-2.0.0 + v1-rev20260728-2.0.0 + Google Chat API v1-rev20260728-2.0.0 jar 2011 diff --git a/clients/google-api-services-chat/v1/README.md b/clients/google-api-services-chat/v1/README.md index fa221d5e592..a5d8a97175e 100644 --- a/clients/google-api-services-chat/v1/README.md +++ b/clients/google-api-services-chat/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-chat - v1-rev20260726-2.0.0 + v1-rev20260728-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-chat:v1-rev20260726-2.0.0' + implementation 'com.google.apis:google-api-services-chat:v1-rev20260728-2.0.0' } ```