Skip to content

Commit 9ab6874

Browse files
1 parent d228ab7 commit 9ab6874

8 files changed

Lines changed: 204 additions & 20 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-rev20260726-2.0.0</version>
25+
<version>v1-rev20260728-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-rev20260726-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20260728-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-chat/v1/2.0.0/com/google/api/services/chat/v1/HangoutsChat.java

Lines changed: 54 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,10 +3003,10 @@ public Patch set(String parameterName, Object value) {
30033003
* manage spaces](https://developers.google.com/workspace/chat/search-manage-admin). When
30043004
* `use_admin_access` is set to `false`, the results are limited to spaces where the calling user is
30053005
* a joined member. To search with administrator privileges, set `use_admin_access` to `true`.
3006-
* Setting `use_admin_access` to `false` is available under Developer Preview. Supports the
3007-
* following types of [authentication](https://developers.google.com/workspace/chat/authenticate-
3008-
* authorize): - [User authentication](https://developers.google.com/workspace/chat/authenticate-
3009-
* authorize-chat-user) with one of the following authorization scopes: -
3006+
* Supports the following types of
3007+
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [User
3008+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
3009+
* with one of the following authorization scopes: -
30103010
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
30113011
* `https://www.googleapis.com/auth/chat.spaces` - [User authentication with administrator
30123012
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user#admin-
@@ -3037,10 +3037,10 @@ public class Search extends HangoutsChatRequest<com.google.api.services.chat.v1.
30373037
* and manage spaces](https://developers.google.com/workspace/chat/search-manage-admin). When
30383038
* `use_admin_access` is set to `false`, the results are limited to spaces where the calling user
30393039
* is a joined member. To search with administrator privileges, set `use_admin_access` to `true`.
3040-
* Setting `use_admin_access` to `false` is available under Developer Preview. Supports the
3041-
* following types of [authentication](https://developers.google.com/workspace/chat/authenticate-
3042-
* authorize): - [User authentication](https://developers.google.com/workspace/chat/authenticate-
3043-
* authorize-chat-user) with one of the following authorization scopes: -
3040+
* Supports the following types of
3041+
* [authentication](https://developers.google.com/workspace/chat/authenticate-authorize): - [User
3042+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
3043+
* with one of the following authorization scopes: -
30443044
* `https://www.googleapis.com/auth/chat.spaces.readonly` -
30453045
* `https://www.googleapis.com/auth/chat.spaces` - [User authentication with administrator
30463046
* privileges](https://developers.google.com/workspace/chat/authenticate-authorize-chat-
@@ -3373,8 +3373,7 @@ public Search setQuery(java.lang.String query) {
33733373
* conversations privilege](https://support.google.com/a/answer/13369245). Requires either the
33743374
* `chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0
33753375
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
3376-
* scopes). Setting `use_admin_access` to `false` is available under Developer Preview.
3377-
* [Developer Preview](https://developers.google.com/workspace/preview).
3376+
* scopes).
33783377
*/
33793378
@com.google.api.client.util.Key
33803379
private java.lang.Boolean useAdminAccess;
@@ -3384,8 +3383,6 @@ public Search setQuery(java.lang.String query) {
33843383
conversations privilege](https://support.google.com/a/answer/13369245). Requires either the
33853384
`chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0
33863385
scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes).
3387-
Setting `use_admin_access` to `false` is available under Developer Preview. [Developer
3388-
Preview](https://developers.google.com/workspace/preview).
33893386
*/
33903387
public java.lang.Boolean getUseAdminAccess() {
33913388
return useAdminAccess;
@@ -3397,8 +3394,7 @@ public java.lang.Boolean getUseAdminAccess() {
33973394
* conversations privilege](https://support.google.com/a/answer/13369245). Requires either the
33983395
* `chat.admin.spaces.readonly` or `chat.admin.spaces` [OAuth 2.0
33993396
* scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-
3400-
* scopes). Setting `use_admin_access` to `false` is available under Developer Preview.
3401-
* [Developer Preview](https://developers.google.com/workspace/preview).
3397+
* scopes).
34023398
*/
34033399
public Search setUseAdminAccess(java.lang.Boolean useAdminAccess) {
34043400
this.useAdminAccess = useAdminAccess;
@@ -5640,6 +5636,28 @@ public Get setName(java.lang.String name) {
56405636
return this;
56415637
}
56425638

5639+
/**
5640+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
5641+
* field.
5642+
*/
5643+
@com.google.api.client.util.Key
5644+
private java.lang.String markupSyntax;
5645+
5646+
/** Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
5647+
*/
5648+
public java.lang.String getMarkupSyntax() {
5649+
return markupSyntax;
5650+
}
5651+
5652+
/**
5653+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
5654+
* field.
5655+
*/
5656+
public Get setMarkupSyntax(java.lang.String markupSyntax) {
5657+
this.markupSyntax = markupSyntax;
5658+
return this;
5659+
}
5660+
56435661
@Override
56445662
public Get set(String parameterName, Object value) {
56455663
return (Get) super.set(parameterName, value);
@@ -5874,6 +5892,28 @@ public List setFilter(java.lang.String filter) {
58745892
return this;
58755893
}
58765894

5895+
/**
5896+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
5897+
* field.
5898+
*/
5899+
@com.google.api.client.util.Key
5900+
private java.lang.String markupSyntax;
5901+
5902+
/** Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
5903+
*/
5904+
public java.lang.String getMarkupSyntax() {
5905+
return markupSyntax;
5906+
}
5907+
5908+
/**
5909+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
5910+
* field.
5911+
*/
5912+
public List setMarkupSyntax(java.lang.String markupSyntax) {
5913+
this.markupSyntax = markupSyntax;
5914+
return this;
5915+
}
5916+
58775917
/**
58785918
* Optional. How the list of messages is ordered. Specify a value to order by an ordering
58795919
* operation. Valid ordering operation values are as follows: - `ASC` for ascending. -

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,13 @@ public final class Message extends com.google.api.client.json.GenericJson {
225225
@com.google.api.client.util.Key
226226
private String lastUpdateTime;
227227

228+
/**
229+
* Optional. Specifies how the server interprets the message `text` field content.
230+
* The value may be {@code null}.
231+
*/
232+
@com.google.api.client.util.Key
233+
private java.lang.String markupSyntax;
234+
228235
/**
229236
* Output only. A URL in the Chat message `text` field that matches a link preview pattern. For
230237
* more information, see [Preview links](https://developers.google.com/workspace/chat/preview-
@@ -694,6 +701,23 @@ public Message setLastUpdateTime(String lastUpdateTime) {
694701
return this;
695702
}
696703

704+
/**
705+
* Optional. Specifies how the server interprets the message `text` field content.
706+
* @return value or {@code null} for none
707+
*/
708+
public java.lang.String getMarkupSyntax() {
709+
return markupSyntax;
710+
}
711+
712+
/**
713+
* Optional. Specifies how the server interprets the message `text` field content.
714+
* @param markupSyntax markupSyntax or {@code null} for none
715+
*/
716+
public Message setMarkupSyntax(java.lang.String markupSyntax) {
717+
this.markupSyntax = markupSyntax;
718+
return this;
719+
}
720+
697721
/**
698722
* Output only. A URL in the Chat message `text` field that matches a link preview pattern. For
699723
* more information, see [Preview links](https://developers.google.com/workspace/chat/preview-

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ public final class SearchMessagesRequest extends com.google.api.client.json.Gene
9696
@com.google.api.client.util.Key
9797
private java.lang.String filter;
9898

99+
/**
100+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
101+
* The value may be {@code null}.
102+
*/
103+
@com.google.api.client.util.Key
104+
private java.lang.String markupSyntax;
105+
99106
/**
100107
* Optional. How the results list is ordered. Supported attributes to order by are: -
101108
* `create_time`: Sorts the results by the time of the message creation. Default value. -
@@ -272,6 +279,23 @@ public SearchMessagesRequest setFilter(java.lang.String filter) {
272279
return this;
273280
}
274281

282+
/**
283+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
284+
* @return value or {@code null} for none
285+
*/
286+
public java.lang.String getMarkupSyntax() {
287+
return markupSyntax;
288+
}
289+
290+
/**
291+
* Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
292+
* @param markupSyntax markupSyntax or {@code null} for none
293+
*/
294+
public SearchMessagesRequest setMarkupSyntax(java.lang.String markupSyntax) {
295+
this.markupSyntax = markupSyntax;
296+
return this;
297+
}
298+
275299
/**
276300
* Optional. How the results list is ordered. Supported attributes to order by are: -
277301
* `create_time`: Sorts the results by the time of the message creation. Default value. -
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.chat.v1.model;
18+
19+
/**
20+
* A single result item from a space search.
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 Google Chat API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class SearchSpaceResult extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. The matched space.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Space space;
38+
39+
/**
40+
* Output only. The matched space.
41+
* @return value or {@code null} for none
42+
*/
43+
public Space getSpace() {
44+
return space;
45+
}
46+
47+
/**
48+
* Output only. The matched space.
49+
* @param space space or {@code null} for none
50+
*/
51+
public SearchSpaceResult setSpace(Space space) {
52+
this.space = space;
53+
return this;
54+
}
55+
56+
@Override
57+
public SearchSpaceResult set(String fieldName, Object value) {
58+
return (SearchSpaceResult) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public SearchSpaceResult clone() {
63+
return (SearchSpaceResult) super.clone();
64+
}
65+
66+
}

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ public final class SearchSpacesResponse extends com.google.api.client.json.Gener
3737
@com.google.api.client.util.Key
3838
private java.lang.String nextPageToken;
3939

40+
/**
41+
* Output only. The list of search results that matched the query.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<SearchSpaceResult> results;
46+
47+
static {
48+
// hack to force ProGuard to consider SearchSpaceResult used, since otherwise it would be stripped out
49+
// see https://github.com/google/google-api-java-client/issues/543
50+
com.google.api.client.util.Data.nullOf(SearchSpaceResult.class);
51+
}
52+
4053
/**
4154
* Deprecated: Please use the new `results` field instead. A page of the requested spaces. This
4255
* 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) {
7386
return this;
7487
}
7588

89+
/**
90+
* Output only. The list of search results that matched the query.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.util.List<SearchSpaceResult> getResults() {
94+
return results;
95+
}
96+
97+
/**
98+
* Output only. The list of search results that matched the query.
99+
* @param results results or {@code null} for none
100+
*/
101+
public SearchSpacesResponse setResults(java.util.List<SearchSpaceResult> results) {
102+
this.results = results;
103+
return this;
104+
}
105+
76106
/**
77107
* Deprecated: Please use the new `results` field instead. A page of the requested spaces. This
78108
* field will be populated only when `useAdminAccess` is set to `true` and deprecated in favor of

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-rev20260726-2.0.0</version>
12-
<name>Google Chat API v1-rev20260726-2.0.0</name>
11+
<version>v1-rev20260728-2.0.0</version>
12+
<name>Google Chat API v1-rev20260728-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-rev20260726-2.0.0</version>
25+
<version>v1-rev20260728-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-rev20260726-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20260728-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)