From fe2503aecf11a94054ebea4f174bc447a56d6c9b Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Thu, 11 Jun 2026 19:33:59 -0700
Subject: [PATCH] chore: regenerate chat client
---
.../v1/2.0.0/README.md | 4 +-
.../api/services/chat/v1/HangoutsChat.java | 206 +++++++++++-------
.../chat/v1/model/QuotedMessageMetadata.java | 4 +-
.../chat/v1/model/SearchSpacesResponse.java | 12 +-
.../google-api-services-chat/v1/2.0.0/pom.xml | 4 +-
clients/google-api-services-chat/v1/README.md | 4 +-
6 files changed, 138 insertions(+), 96 deletions(-)
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 2ae0ea7bf3e..9c0d445f433 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-rev20260530-2.0.0
+ v1-rev20260607-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-chat:v1-rev20260530-2.0.0'
+ implementation 'com.google.apis:google-api-services-chat:v1-rev20260607-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 8b958ec7345..42fe60ac23b 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
@@ -2962,10 +2962,16 @@ public Patch set(String parameterName, Object value) {
}
}
/**
- * Returns a list of spaces in a Google Workspace organization based on an administrator's search.
- * In the request, set `use_admin_access` to `true`. For an example, see [Search for and manage
- * spaces](https://developers.google.com/workspace/chat/search-manage-admin). Requires [user
- * authentication with administrator
+ * Returns a list of spaces in a Google Workspace organization. For an example, see [Search for and
+ * 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`.
+ * 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-
* privileges) and one of the following [authorization
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
@@ -2990,10 +2996,16 @@ public class Search extends HangoutsChatRequest`, `<=`, `>=`. `customer` is required and is used to
- * indicate which customer to fetch spaces from. `customers/my_customer` is the only supported
- * value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first
- * tokenized into tokens and each token is prefix-matched case-insensitively and independently
- * as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun
- * event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed`
- * accepts either `true` or `false`. `space_history_state` only accepts values from the
- * [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces
- * #Space.HistoryState) field of a `space` resource. `space_type` is required and the only
- * valid value is `SPACE`. Across different fields, only `AND` operators are supported. A
- * valid example is `space_type = "SPACE" AND display_name:"Hello"` and an invalid example is
- * `space_type = "SPACE" OR display_name:"Hello"`. Among the same field, `space_type` doesn't
- * support `AND` or `OR` operators. `display_name`, 'space_history_state', and
- * 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time`
- * support both `AND` and `OR` operators. `AND` can only be used to represent an interval,
- * such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time >
- * "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer =
+ * Required. A search query. You can search by using the following parameters when
+ * `useAdminAccess` is set to `true`: - `create_time` - `customer` - `display_name` -
+ * `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` When
+ * `useAdminAccess` is set to `false`: - `display_name` - `external_user_allowed`
+ * `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-
+ * editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `>`,
+ * `<=`, `>=`. `customer` is required and is used to indicate which customer to fetch spaces
+ * from. `customers/my_customer` is the only supported value. `display_name` only accepts the
+ * `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is
+ * prefix-matched case-insensitively and independently as a substring anywhere in the space's
+ * `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but
+ * not `notFun event` or `even`. When `useAdminAccess` is set to `false`, `display_name` is
+ * required to retrieve meaningful results. Otherwise, the default behavior is to return an
+ * empty response. `external_user_allowed` accepts either `true` or `false`.
+ * `space_history_state` only accepts values from the [`historyState`] (https://developers.goo
+ * gle.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space`
+ * resource. `space_type` is required and the only valid value is `SPACE`. Across different
+ * fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND
+ * display_name:"Hello"` and an invalid example is `space_type = "SPACE" OR
+ * display_name:"Hello"`. Among the same field, `space_type` doesn't support `AND` or `OR`
+ * operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support
+ * `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators.
+ * `AND` can only be used to represent an interval, such as `last_active_time <
+ * "2022-01-01T00:00:00+00:00" AND last_active_time > "2023-01-01T00:00:00+00:00"`. The
+ * following example queries are valid when `useAdminAccess` is set to `true`: ``` customer =
* "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND
* space_type = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND
* space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR
@@ -3206,22 +3231,28 @@ public Search setPageToken(java.lang.String pageToken) {
* "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE"
* AND (create_time > "2019-01-01T00:00:00+00:00" AND create_time <
* "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND (space_history_state
- * = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ```
+ * = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ``` The following example queries
+ * are valid when `useAdminAccess` is set to `false`: ``` display_name:"Hello World"
+ * (display_name:"Hello" OR display_name:"Fun") (external_user_allowed = "true")
+ * (external_user_allowed = "true" AND display_name:"Hello") ```
*/
@com.google.api.client.util.Key
private java.lang.String query;
- /** Required. A search query. You can search by using the following parameters : - `create_time` -
- `customer` - `display_name` - `external_user_allowed` - `last_active_time` - `space_history_state`
- - `space_type` `create_time` and `last_active_time` accept a timestamp in
- [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators
+ /** Required. A search query. You can search by using the following parameters when `useAdminAccess` is
+ set to `true`: - `create_time` - `customer` - `display_name` - `external_user_allowed` -
+ `last_active_time` - `space_history_state` - `space_type` When `useAdminAccess` is set to `false`:
+ - `display_name` - `external_user_allowed` `create_time` and `last_active_time` accept a timestamp
+ in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison operators
are: `=`, `<`, `>`, `<=`, `>=`. `customer` is required and is used to indicate which customer to
fetch spaces from. `customers/my_customer` is the only supported value. `display_name` only accepts
the `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is
prefix-matched case-insensitively and independently as a substring anywhere in the space's
`display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but not
- `notFun event` or `even`. `external_user_allowed` accepts either `true` or `false`.
- `space_history_state` only accepts values from the [`historyState`]
+ `notFun event` or `even`. When `useAdminAccess` is set to `false`, `display_name` is required to
+ retrieve meaningful results. Otherwise, the default behavior is to return an empty response.
+ `external_user_allowed` accepts either `true` or `false`. `space_history_state` only accepts values
+ from the [`historyState`]
(https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState)
field of a `space` resource. `space_type` is required and the only valid value is `SPACE`. Across
different fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND
@@ -3230,43 +3261,50 @@ public Search setPageToken(java.lang.String pageToken) {
'space_history_state', and 'external_user_allowed' only support `OR` operators. `last_active_time`
and `create_time` support both `AND` and `OR` operators. `AND` can only be used to represent an
interval, such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time >
- "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer =
- "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND space_type
- = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND space_type =
- "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR last_active_time >
- "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND
- (display_name:"Hello World" OR display_name:"Fun event") AND (last_active_time >
- "2020-01-01T00:00:00+00:00" AND last_active_time < "2022-01-01T00:00:00+00:00") customer =
- "customers/my_customer" AND space_type = "SPACE" AND (create_time > "2019-01-01T00:00:00+00:00" AND
- create_time < "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND
- (space_history_state = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ```
+ "2023-01-01T00:00:00+00:00"`. The following example queries are valid when `useAdminAccess` is set
+ to `true`: ``` customer = "customers/my_customer" AND space_type = "SPACE" customer =
+ "customers/my_customer" AND space_type = "SPACE" AND display_name:"Hello World" customer =
+ "customers/my_customer" AND space_type = "SPACE" AND (last_active_time <
+ "2020-01-01T00:00:00+00:00" OR last_active_time > "2022-01-01T00:00:00+00:00") customer =
+ "customers/my_customer" AND space_type = "SPACE" AND (display_name:"Hello World" OR
+ display_name:"Fun event") AND (last_active_time > "2020-01-01T00:00:00+00:00" AND last_active_time
+ < "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE" AND
+ (create_time > "2019-01-01T00:00:00+00:00" AND create_time < "2020-01-01T00:00:00+00:00") AND
+ (external_user_allowed = "true") AND (space_history_state = "HISTORY_ON" OR space_history_state =
+ "HISTORY_OFF") ``` The following example queries are valid when `useAdminAccess` is set to `false`:
+ ``` display_name:"Hello World" (display_name:"Hello" OR display_name:"Fun") (external_user_allowed
+ = "true") (external_user_allowed = "true" AND display_name:"Hello") ```
*/
public java.lang.String getQuery() {
return query;
}
/**
- * Required. A search query. You can search by using the following parameters : -
- * `create_time` - `customer` - `display_name` - `external_user_allowed` - `last_active_time`
- * - `space_history_state` - `space_type` `create_time` and `last_active_time` accept a
- * timestamp in [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported
- * comparison operators are: `=`, `<`, `>`, `<=`, `>=`. `customer` is required and is used to
- * indicate which customer to fetch spaces from. `customers/my_customer` is the only supported
- * value. `display_name` only accepts the `HAS` (`:`) operator. The text to match is first
- * tokenized into tokens and each token is prefix-matched case-insensitively and independently
- * as a substring anywhere in the space's `display_name`. For example, `Fun Eve` matches `Fun
- * event` or `The evening was fun`, but not `notFun event` or `even`. `external_user_allowed`
- * accepts either `true` or `false`. `space_history_state` only accepts values from the
- * [`historyState`] (https://developers.google.com/workspace/chat/api/reference/rest/v1/spaces
- * #Space.HistoryState) field of a `space` resource. `space_type` is required and the only
- * valid value is `SPACE`. Across different fields, only `AND` operators are supported. A
- * valid example is `space_type = "SPACE" AND display_name:"Hello"` and an invalid example is
- * `space_type = "SPACE" OR display_name:"Hello"`. Among the same field, `space_type` doesn't
- * support `AND` or `OR` operators. `display_name`, 'space_history_state', and
- * 'external_user_allowed' only support `OR` operators. `last_active_time` and `create_time`
- * support both `AND` and `OR` operators. `AND` can only be used to represent an interval,
- * such as `last_active_time < "2022-01-01T00:00:00+00:00" AND last_active_time >
- * "2023-01-01T00:00:00+00:00"`. The following example queries are valid: ``` customer =
+ * Required. A search query. You can search by using the following parameters when
+ * `useAdminAccess` is set to `true`: - `create_time` - `customer` - `display_name` -
+ * `external_user_allowed` - `last_active_time` - `space_history_state` - `space_type` When
+ * `useAdminAccess` is set to `false`: - `display_name` - `external_user_allowed`
+ * `create_time` and `last_active_time` accept a timestamp in [RFC-3339](https://www.rfc-
+ * editor.org/rfc/rfc3339) format and the supported comparison operators are: `=`, `<`, `>`,
+ * `<=`, `>=`. `customer` is required and is used to indicate which customer to fetch spaces
+ * from. `customers/my_customer` is the only supported value. `display_name` only accepts the
+ * `HAS` (`:`) operator. The text to match is first tokenized into tokens and each token is
+ * prefix-matched case-insensitively and independently as a substring anywhere in the space's
+ * `display_name`. For example, `Fun Eve` matches `Fun event` or `The evening was fun`, but
+ * not `notFun event` or `even`. When `useAdminAccess` is set to `false`, `display_name` is
+ * required to retrieve meaningful results. Otherwise, the default behavior is to return an
+ * empty response. `external_user_allowed` accepts either `true` or `false`.
+ * `space_history_state` only accepts values from the [`historyState`] (https://developers.goo
+ * gle.com/workspace/chat/api/reference/rest/v1/spaces#Space.HistoryState) field of a `space`
+ * resource. `space_type` is required and the only valid value is `SPACE`. Across different
+ * fields, only `AND` operators are supported. A valid example is `space_type = "SPACE" AND
+ * display_name:"Hello"` and an invalid example is `space_type = "SPACE" OR
+ * display_name:"Hello"`. Among the same field, `space_type` doesn't support `AND` or `OR`
+ * operators. `display_name`, 'space_history_state', and 'external_user_allowed' only support
+ * `OR` operators. `last_active_time` and `create_time` support both `AND` and `OR` operators.
+ * `AND` can only be used to represent an interval, such as `last_active_time <
+ * "2022-01-01T00:00:00+00:00" AND last_active_time > "2023-01-01T00:00:00+00:00"`. The
+ * following example queries are valid when `useAdminAccess` is set to `true`: ``` customer =
* "customers/my_customer" AND space_type = "SPACE" customer = "customers/my_customer" AND
* space_type = "SPACE" AND display_name:"Hello World" customer = "customers/my_customer" AND
* space_type = "SPACE" AND (last_active_time < "2020-01-01T00:00:00+00:00" OR
@@ -3276,7 +3314,10 @@ public java.lang.String getQuery() {
* "2022-01-01T00:00:00+00:00") customer = "customers/my_customer" AND space_type = "SPACE"
* AND (create_time > "2019-01-01T00:00:00+00:00" AND create_time <
* "2020-01-01T00:00:00+00:00") AND (external_user_allowed = "true") AND (space_history_state
- * = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ```
+ * = "HISTORY_ON" OR space_history_state = "HISTORY_OFF") ``` The following example queries
+ * are valid when `useAdminAccess` is set to `false`: ``` display_name:"Hello World"
+ * (display_name:"Hello" OR display_name:"Fun") (external_user_allowed = "true")
+ * (external_user_allowed = "true" AND display_name:"Hello") ```
*/
public Search setQuery(java.lang.String query) {
this.query = query;
@@ -3289,8 +3330,7 @@ public Search setQuery(java.lang.String query) {
* conversations privilege](https://support.google.com/a/answer/13369245). Requires either the
* `chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
- * scopes). This method currently only supports admin access, thus only `true` is accepted for
- * this field.
+ * scopes).
*/
@com.google.api.client.util.Key
private java.lang.Boolean useAdminAccess;
@@ -3299,8 +3339,7 @@ public Search setQuery(java.lang.String query) {
calling user must be a Google Workspace administrator with the [manage chat and spaces
conversations privilege](https://support.google.com/a/answer/13369245). Requires either the
`chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0
- scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes). This
- method currently only supports admin access, thus only `true` is accepted for this field.
+ scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
*/
public java.lang.Boolean getUseAdminAccess() {
return useAdminAccess;
@@ -3312,8 +3351,7 @@ public java.lang.Boolean getUseAdminAccess() {
* conversations privilege](https://support.google.com/a/answer/13369245). Requires either the
* `chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
- * scopes). This method currently only supports admin access, thus only `true` is accepted for
- * this field.
+ * scopes).
*/
public Search setUseAdminAccess(java.lang.Boolean useAdminAccess) {
this.useAdminAccess = useAdminAccess;
diff --git a/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/QuotedMessageMetadata.java b/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/QuotedMessageMetadata.java
index 91e85dd8d2b..c7d95f9fe35 100644
--- a/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/QuotedMessageMetadata.java
+++ b/clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/QuotedMessageMetadata.java
@@ -17,9 +17,7 @@
package com.google.api.services.chat.v1.model;
/**
- * Information about a message that another message quotes. When you create a message, you can quote
- * messages within the same thread, or quote a root message to create a new root message. However,
- * you can't quote a message reply from a different thread. When you update a message, you can't add
+ * Information about a message that another message quotes. When you update a message, you can't add
* or replace the `quotedMessageMetadata` field, but you can remove it. For example usage, see
* [Quote another message](https://developers.google.com/workspace/chat/create-messages#quote-a-
* message).
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 12900a5a06f..6397110ea07 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
@@ -38,7 +38,9 @@ public final class SearchSpacesResponse extends com.google.api.client.json.Gener
private java.lang.String nextPageToken;
/**
- * A page of the requested spaces.
+ * 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
+ * the new `results` field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
@@ -72,7 +74,9 @@ public SearchSpacesResponse setNextPageToken(java.lang.String nextPageToken) {
}
/**
- * A page of the requested spaces.
+ * 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
+ * the new `results` field.
* @return value or {@code null} for none
*/
public java.util.List getSpaces() {
@@ -80,7 +84,9 @@ public java.util.List getSpaces() {
}
/**
- * A page of the requested spaces.
+ * 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
+ * the new `results` field.
* @param spaces spaces or {@code null} for none
*/
public SearchSpacesResponse setSpaces(java.util.List spaces) {
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 9475573df89..51f72595c8b 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-rev20260530-2.0.0
- Google Chat API v1-rev20260530-2.0.0
+ v1-rev20260607-2.0.0
+ Google Chat API v1-rev20260607-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 2ae0ea7bf3e..9c0d445f433 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-rev20260530-2.0.0
+ v1-rev20260607-2.0.0
@@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
- implementation 'com.google.apis:google-api-services-chat:v1-rev20260530-2.0.0'
+ implementation 'com.google.apis:google-api-services-chat:v1-rev20260607-2.0.0'
}
```