Skip to content

Commit 97db478

Browse files
chore: regenerate chat client
1 parent e209b20 commit 97db478

5 files changed

Lines changed: 126 additions & 39 deletions

File tree

‎clients/google-api-services-chat/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-chat</artifactId>
25-
<version>v1-rev20260913-2.0.0</version>
25+
<version>v1-rev20260920-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-chat:v1-rev20260913-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20260920-2.0.0'
3939
}
4040
```
4141

‎clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/SearchMessagesRequest.java‎

Lines changed: 48 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,23 @@ public final class SearchMessagesRequest extends com.google.api.client.json.Gene
4242
* `space.display_name`: Supports the operator `:` (has) and filters spaces based on a partial
4343
* match of their display name. Results are limited to the top five space matches. For example,
4444
* `space.display_name:Project` searches for messages in the top five spaces that contain the word
45-
* "Project" in their display names. - `attachment`: Supports the operator `:*` (has any) to check
46-
* for the presence of attachments. If `attachment:*` is specified, only messages that have at
47-
* least one attachment are returned. - `annotations.user_mentions.user.name`: The resource name
48-
* of the mentioned user (`users/{user}`). Only supports `:` (has). For example:
45+
* "Project" in their display names. - `space.space_type`: The type of the space. Only supports
46+
* `=`. For example, `space.space_type="DIRECT_MESSAGE"` returns only messages from direct
47+
* messages. The possible values are `DIRECT_MESSAGE`, `GROUP_CHAT`, and `SPACE`. - `attachment`:
48+
* Supports the operator `:*` (has any) to check for the presence of attachments. If
49+
* `attachment:*` is specified, only messages that have at least one attachment are returned. -
50+
* `annotations.user_mentions.user.name`: The resource name of the mentioned user
51+
* (`users/{user}`). Only supports `:` (has). For example:
4952
* `annotations.user_mentions.user.name:"users/1234567890"` returns only messages that contain a
5053
* mention to the specified user. Alternatively, the alias `me` can be used to filter for messages
5154
* that mention the caller user, for example: `annotations.user_mentions.user.name:users/me`. You
5255
* can also use the e-mail as an alias for `{user}`, for example, `users/example@gmail.com`. For
5356
* advanced filtering, the following functions are also available: - `has_link()`: Returns only
5457
* messages that have at least one hyperlink in the message text. - `is_unread()`: Filters out
55-
* messages that have been read by the calling user. Using the `space.display_name` filter
56-
* requires that the calling credentials include one of the following [authorization
57-
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
58-
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
58+
* messages that have been read by the calling user. Using the `space.display_name` or the
59+
* `space.space_type` filters requires that the calling credentials include one of the following
60+
* [authorization scopes](https://developers.google.com/workspace/chat/authenticate-
61+
* authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.spaces.readonly` -
5962
* `https://www.googleapis.com/auth/chat.spaces` Using the `is_unread()` filter requires that the
6063
* calling credentials include one of the following [authorization
6164
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
@@ -74,9 +77,11 @@ public final class SearchMessagesRequest extends com.google.api.client.json.Gene
7477
* but not a mix of both. For example: `space.display_name:Project AND space.display_name:Tasks`
7578
* returns messages that are in spaces with display names containing both `Project` and `Tasks`,
7679
* whereas `space.display_name:Project OR space.display_name:Tasks` returns messages that are in
77-
* spaces with display names containing either `Project` or `Tasks` or both. -
78-
* `annotations.user_mentions.user.name` supports the operators `AND` and `OR`, but not a mix of
79-
* both. For example: `annotations.user_mentions.user.name:"users/1234567890" AND
80+
* spaces with display names containing either `Project` or `Tasks` or both. - `space.space_type`
81+
* supports only the `OR` operator, for example: `space.space_type = "DIRECT_MESSAGE" OR
82+
* space.space_type = "GROUP_CHAT"`. - `annotations.user_mentions.user.name` supports the
83+
* operators `AND` and `OR`, but not a mix of both. For example:
84+
* `annotations.user_mentions.user.name:"users/1234567890" AND
8085
* annotations.user_mentions.user.name:"users/0987654321"` returns only messages that mentions
8186
* both users, whereas `annotations.user_mentions.user.name:"users/1234567890" OR
8287
* annotations.user_mentions.user.name:"users/0987654321"` returns messages that mention either
@@ -155,20 +160,23 @@ public final class SearchMessagesRequest extends com.google.api.client.json.Gene
155160
* `space.display_name`: Supports the operator `:` (has) and filters spaces based on a partial
156161
* match of their display name. Results are limited to the top five space matches. For example,
157162
* `space.display_name:Project` searches for messages in the top five spaces that contain the word
158-
* "Project" in their display names. - `attachment`: Supports the operator `:*` (has any) to check
159-
* for the presence of attachments. If `attachment:*` is specified, only messages that have at
160-
* least one attachment are returned. - `annotations.user_mentions.user.name`: The resource name
161-
* of the mentioned user (`users/{user}`). Only supports `:` (has). For example:
163+
* "Project" in their display names. - `space.space_type`: The type of the space. Only supports
164+
* `=`. For example, `space.space_type="DIRECT_MESSAGE"` returns only messages from direct
165+
* messages. The possible values are `DIRECT_MESSAGE`, `GROUP_CHAT`, and `SPACE`. - `attachment`:
166+
* Supports the operator `:*` (has any) to check for the presence of attachments. If
167+
* `attachment:*` is specified, only messages that have at least one attachment are returned. -
168+
* `annotations.user_mentions.user.name`: The resource name of the mentioned user
169+
* (`users/{user}`). Only supports `:` (has). For example:
162170
* `annotations.user_mentions.user.name:"users/1234567890"` returns only messages that contain a
163171
* mention to the specified user. Alternatively, the alias `me` can be used to filter for messages
164172
* that mention the caller user, for example: `annotations.user_mentions.user.name:users/me`. You
165173
* can also use the e-mail as an alias for `{user}`, for example, `users/example@gmail.com`. For
166174
* advanced filtering, the following functions are also available: - `has_link()`: Returns only
167175
* messages that have at least one hyperlink in the message text. - `is_unread()`: Filters out
168-
* messages that have been read by the calling user. Using the `space.display_name` filter
169-
* requires that the calling credentials include one of the following [authorization
170-
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
171-
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
176+
* messages that have been read by the calling user. Using the `space.display_name` or the
177+
* `space.space_type` filters requires that the calling credentials include one of the following
178+
* [authorization scopes](https://developers.google.com/workspace/chat/authenticate-
179+
* authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.spaces.readonly` -
172180
* `https://www.googleapis.com/auth/chat.spaces` Using the `is_unread()` filter requires that the
173181
* calling credentials include one of the following [authorization
174182
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
@@ -187,9 +195,11 @@ public final class SearchMessagesRequest extends com.google.api.client.json.Gene
187195
* but not a mix of both. For example: `space.display_name:Project AND space.display_name:Tasks`
188196
* returns messages that are in spaces with display names containing both `Project` and `Tasks`,
189197
* whereas `space.display_name:Project OR space.display_name:Tasks` returns messages that are in
190-
* spaces with display names containing either `Project` or `Tasks` or both. -
191-
* `annotations.user_mentions.user.name` supports the operators `AND` and `OR`, but not a mix of
192-
* both. For example: `annotations.user_mentions.user.name:"users/1234567890" AND
198+
* spaces with display names containing either `Project` or `Tasks` or both. - `space.space_type`
199+
* supports only the `OR` operator, for example: `space.space_type = "DIRECT_MESSAGE" OR
200+
* space.space_type = "GROUP_CHAT"`. - `annotations.user_mentions.user.name` supports the
201+
* operators `AND` and `OR`, but not a mix of both. For example:
202+
* `annotations.user_mentions.user.name:"users/1234567890" AND
193203
* annotations.user_mentions.user.name:"users/0987654321"` returns only messages that mentions
194204
* both users, whereas `annotations.user_mentions.user.name:"users/1234567890" OR
195205
* annotations.user_mentions.user.name:"users/0987654321"` returns messages that mention either
@@ -223,20 +233,23 @@ public java.lang.String getFilter() {
223233
* `space.display_name`: Supports the operator `:` (has) and filters spaces based on a partial
224234
* match of their display name. Results are limited to the top five space matches. For example,
225235
* `space.display_name:Project` searches for messages in the top five spaces that contain the word
226-
* "Project" in their display names. - `attachment`: Supports the operator `:*` (has any) to check
227-
* for the presence of attachments. If `attachment:*` is specified, only messages that have at
228-
* least one attachment are returned. - `annotations.user_mentions.user.name`: The resource name
229-
* of the mentioned user (`users/{user}`). Only supports `:` (has). For example:
236+
* "Project" in their display names. - `space.space_type`: The type of the space. Only supports
237+
* `=`. For example, `space.space_type="DIRECT_MESSAGE"` returns only messages from direct
238+
* messages. The possible values are `DIRECT_MESSAGE`, `GROUP_CHAT`, and `SPACE`. - `attachment`:
239+
* Supports the operator `:*` (has any) to check for the presence of attachments. If
240+
* `attachment:*` is specified, only messages that have at least one attachment are returned. -
241+
* `annotations.user_mentions.user.name`: The resource name of the mentioned user
242+
* (`users/{user}`). Only supports `:` (has). For example:
230243
* `annotations.user_mentions.user.name:"users/1234567890"` returns only messages that contain a
231244
* mention to the specified user. Alternatively, the alias `me` can be used to filter for messages
232245
* that mention the caller user, for example: `annotations.user_mentions.user.name:users/me`. You
233246
* can also use the e-mail as an alias for `{user}`, for example, `users/example@gmail.com`. For
234247
* advanced filtering, the following functions are also available: - `has_link()`: Returns only
235248
* messages that have at least one hyperlink in the message text. - `is_unread()`: Filters out
236-
* messages that have been read by the calling user. Using the `space.display_name` filter
237-
* requires that the calling credentials include one of the following [authorization
238-
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
239-
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
249+
* messages that have been read by the calling user. Using the `space.display_name` or the
250+
* `space.space_type` filters requires that the calling credentials include one of the following
251+
* [authorization scopes](https://developers.google.com/workspace/chat/authenticate-
252+
* authorize#chat-api-scopes): - `https://www.googleapis.com/auth/chat.spaces.readonly` -
240253
* `https://www.googleapis.com/auth/chat.spaces` Using the `is_unread()` filter requires that the
241254
* calling credentials include one of the following [authorization
242255
* scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): -
@@ -255,9 +268,11 @@ public java.lang.String getFilter() {
255268
* but not a mix of both. For example: `space.display_name:Project AND space.display_name:Tasks`
256269
* returns messages that are in spaces with display names containing both `Project` and `Tasks`,
257270
* whereas `space.display_name:Project OR space.display_name:Tasks` returns messages that are in
258-
* spaces with display names containing either `Project` or `Tasks` or both. -
259-
* `annotations.user_mentions.user.name` supports the operators `AND` and `OR`, but not a mix of
260-
* both. For example: `annotations.user_mentions.user.name:"users/1234567890" AND
271+
* spaces with display names containing either `Project` or `Tasks` or both. - `space.space_type`
272+
* supports only the `OR` operator, for example: `space.space_type = "DIRECT_MESSAGE" OR
273+
* space.space_type = "GROUP_CHAT"`. - `annotations.user_mentions.user.name` supports the
274+
* operators `AND` and `OR`, but not a mix of both. For example:
275+
* `annotations.user_mentions.user.name:"users/1234567890" AND
261276
* annotations.user_mentions.user.name:"users/0987654321"` returns only messages that mentions
262277
* both users, whereas `annotations.user_mentions.user.name:"users/1234567890" OR
263278
* annotations.user_mentions.user.name:"users/0987654321"` returns messages that mention either

‎clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/model/User.java‎

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
@SuppressWarnings("javadoc")
3434
public final class User extends com.google.api.client.json.GenericJson {
3535

36+
/**
37+
* Output only. The user's avatar image URL. When calling the Messages and Memberships APIs with
38+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
39+
* user), this field is populated for both internal and external users for the `sender` of a
40+
* message, users within `annotations` (such as user mentions), and within `Membership` resources,
41+
* provided the user is a member of the space or has prior affinity with the calling user.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String avatarUrl;
46+
3647
/**
3748
* Output only. The user's display name. Populated for both app authentication and user
3849
* authentication. This field is always populated for requests made with [app
@@ -54,6 +65,17 @@ public final class User extends com.google.api.client.json.GenericJson {
5465
@com.google.api.client.util.Key
5566
private java.lang.String domainId;
5667

68+
/**
69+
* Output only. The user's email address. When calling the Messages and Memberships APIs with
70+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
71+
* user), this field is populated for both internal and external users for the `sender` of a
72+
* message, users within `annotations` (such as user mentions), and within `Membership` resources,
73+
* provided the user is a member of the space or has prior affinity with the calling user.
74+
* The value may be {@code null}.
75+
*/
76+
@com.google.api.client.util.Key
77+
private java.lang.String email;
78+
5779
/**
5880
* Output only. When `true`, the user is deleted or their profile is not visible, such as when a
5981
* user is mentioned in a space without being a member and without prior affinity with the calling
@@ -86,6 +108,31 @@ public final class User extends com.google.api.client.json.GenericJson {
86108
@com.google.api.client.util.Key
87109
private java.lang.String type;
88110

111+
/**
112+
* Output only. The user's avatar image URL. When calling the Messages and Memberships APIs with
113+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
114+
* user), this field is populated for both internal and external users for the `sender` of a
115+
* message, users within `annotations` (such as user mentions), and within `Membership` resources,
116+
* provided the user is a member of the space or has prior affinity with the calling user.
117+
* @return value or {@code null} for none
118+
*/
119+
public java.lang.String getAvatarUrl() {
120+
return avatarUrl;
121+
}
122+
123+
/**
124+
* Output only. The user's avatar image URL. When calling the Messages and Memberships APIs with
125+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
126+
* user), this field is populated for both internal and external users for the `sender` of a
127+
* message, users within `annotations` (such as user mentions), and within `Membership` resources,
128+
* provided the user is a member of the space or has prior affinity with the calling user.
129+
* @param avatarUrl avatarUrl or {@code null} for none
130+
*/
131+
public User setAvatarUrl(java.lang.String avatarUrl) {
132+
this.avatarUrl = avatarUrl;
133+
return this;
134+
}
135+
89136
/**
90137
* Output only. The user's display name. Populated for both app authentication and user
91138
* authentication. This field is always populated for requests made with [app
@@ -134,6 +181,31 @@ public User setDomainId(java.lang.String domainId) {
134181
return this;
135182
}
136183

184+
/**
185+
* Output only. The user's email address. When calling the Messages and Memberships APIs with
186+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
187+
* user), this field is populated for both internal and external users for the `sender` of a
188+
* message, users within `annotations` (such as user mentions), and within `Membership` resources,
189+
* provided the user is a member of the space or has prior affinity with the calling user.
190+
* @return value or {@code null} for none
191+
*/
192+
public java.lang.String getEmail() {
193+
return email;
194+
}
195+
196+
/**
197+
* Output only. The user's email address. When calling the Messages and Memberships APIs with
198+
* [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
199+
* user), this field is populated for both internal and external users for the `sender` of a
200+
* message, users within `annotations` (such as user mentions), and within `Membership` resources,
201+
* provided the user is a member of the space or has prior affinity with the calling user.
202+
* @param email email or {@code null} for none
203+
*/
204+
public User setEmail(java.lang.String email) {
205+
this.email = email;
206+
return this;
207+
}
208+
137209
/**
138210
* Output only. When `true`, the user is deleted or their profile is not visible, such as when a
139211
* user is mentioned in a space without being a member and without prior affinity with the calling

‎clients/google-api-services-chat/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-chat</artifactId>
11-
<version>v1-rev20260913-2.0.0</version>
12-
<name>Google Chat API v1-rev20260913-2.0.0</name>
11+
<version>v1-rev20260920-2.0.0</version>
12+
<name>Google Chat API v1-rev20260920-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

‎clients/google-api-services-chat/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-chat</artifactId>
25-
<version>v1-rev20260913-2.0.0</version>
25+
<version>v1-rev20260920-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-chat:v1-rev20260913-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20260920-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)