Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-chat/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chat</artifactId>
<version>v1-rev20260726-2.0.0</version>
<version>v1-rev20260728-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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-
Expand Down Expand Up @@ -3037,10 +3037,10 @@ public class Search extends HangoutsChatRequest<com.google.api.services.chat.v1.
* 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`.
* 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-
Expand Down Expand Up @@ -3373,8 +3373,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). Setting `use_admin_access` to `false` is available under Developer Preview.
* [Developer Preview](https://developers.google.com/workspace/preview).
* scopes).
*/
@com.google.api.client.util.Key
private java.lang.Boolean useAdminAccess;
Expand All @@ -3384,8 +3383,6 @@ 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).
Setting `use_admin_access` to `false` is available under Developer Preview. [Developer
Preview](https://developers.google.com/workspace/preview).
*/
public java.lang.Boolean getUseAdminAccess() {
return useAdminAccess;
Expand All @@ -3397,8 +3394,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). Setting `use_admin_access` to `false` is available under Developer Preview.
* [Developer Preview](https://developers.google.com/workspace/preview).
* scopes).
*/
public Search setUseAdminAccess(java.lang.Boolean useAdminAccess) {
this.useAdminAccess = useAdminAccess;
Expand Down Expand Up @@ -5640,6 +5636,28 @@ public Get setName(java.lang.String name) {
return this;
}

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
* field.
*/
@com.google.api.client.util.Key
private java.lang.String markupSyntax;

/** Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
*/
public java.lang.String getMarkupSyntax() {
return markupSyntax;
}

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
* field.
*/
public Get setMarkupSyntax(java.lang.String markupSyntax) {
this.markupSyntax = markupSyntax;
return this;
}

@Override
public Get set(String parameterName, Object value) {
return (Get) super.set(parameterName, value);
Expand Down Expand Up @@ -5874,6 +5892,28 @@ public List setFilter(java.lang.String filter) {
return this;
}

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
* field.
*/
@com.google.api.client.util.Key
private java.lang.String markupSyntax;

/** Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
*/
public java.lang.String getMarkupSyntax() {
return markupSyntax;
}

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text`
* field.
*/
public List setMarkupSyntax(java.lang.String markupSyntax) {
this.markupSyntax = markupSyntax;
return this;
}

/**
* Optional. How the list of messages is ordered. Specify a value to order by an ordering
* operation. Valid ordering operation values are as follows: - `ASC` for ascending. -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ public final class Message extends com.google.api.client.json.GenericJson {
@com.google.api.client.util.Key
private String lastUpdateTime;

/**
* Optional. Specifies how the server interprets the message `text` field content.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String markupSyntax;

/**
* Output only. A URL in the Chat message `text` field that matches a link preview pattern. For
* more information, see [Preview links](https://developers.google.com/workspace/chat/preview-
Expand Down Expand Up @@ -694,6 +701,23 @@ public Message setLastUpdateTime(String lastUpdateTime) {
return this;
}

/**
* Optional. Specifies how the server interprets the message `text` field content.
* @return value or {@code null} for none
*/
public java.lang.String getMarkupSyntax() {
return markupSyntax;
}

/**
* Optional. Specifies how the server interprets the message `text` field content.
* @param markupSyntax markupSyntax or {@code null} for none
*/
public Message setMarkupSyntax(java.lang.String markupSyntax) {
this.markupSyntax = markupSyntax;
return this;
}

/**
* Output only. A URL in the Chat message `text` field that matches a link preview pattern. For
* more information, see [Preview links](https://developers.google.com/workspace/chat/preview-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ public final class SearchMessagesRequest extends com.google.api.client.json.Gene
@com.google.api.client.util.Key
private java.lang.String filter;

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String markupSyntax;

/**
* Optional. How the results list is ordered. Supported attributes to order by are: -
* `create_time`: Sorts the results by the time of the message creation. Default value. -
Expand Down Expand Up @@ -272,6 +279,23 @@ public SearchMessagesRequest setFilter(java.lang.String filter) {
return this;
}

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
* @return value or {@code null} for none
*/
public java.lang.String getMarkupSyntax() {
return markupSyntax;
}

/**
* Optional. Specifies the desired output syntax for the Chat message `formatted_text` field.
* @param markupSyntax markupSyntax or {@code null} for none
*/
public SearchMessagesRequest setMarkupSyntax(java.lang.String markupSyntax) {
this.markupSyntax = markupSyntax;
return this;
}

/**
* Optional. How the results list is ordered. Supported attributes to order by are: -
* `create_time`: Sorts the results by the time of the message creation. Default value. -
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* 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.chat.v1.model;

/**
* A single result item from a space search.
*
* <p> 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:
* <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>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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<SearchSpaceResult> 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
Expand Down Expand Up @@ -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<SearchSpaceResult> 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<SearchSpaceResult> 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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-chat/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chat</artifactId>
<version>v1-rev20260726-2.0.0</version>
<name>Google Chat API v1-rev20260726-2.0.0</name>
<version>v1-rev20260728-2.0.0</version>
<name>Google Chat API v1-rev20260728-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-chat/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-chat</artifactId>
<version>v1-rev20260726-2.0.0</version>
<version>v1-rev20260728-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading