Skip to content

Commit 1a3a187

Browse files
1 parent 44e7d9a commit 1a3a187

File tree

6 files changed

+47
-22
lines changed

6 files changed

+47
-22
lines changed

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-rev20250812-2.0.0</version>
25+
<version>v1-rev20250814-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-rev20250812-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20250814-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: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5817,7 +5817,7 @@ public Patch setAllowMissing(java.lang.Boolean allowMissing) {
58175817
* `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
58185818
* `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
58195819
* `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-
5820-
* accounts).)
5820+
* accounts).) - `quoted_message_metadata` (Only allows removal of the quoted message.)
58215821
*/
58225822
@com.google.api.client.util.Key
58235823
private String updateMask;
@@ -5826,7 +5826,8 @@ public Patch setAllowMissing(java.lang.Boolean allowMissing) {
58265826
field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app
58275827
authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app
58285828
authentication](/chat/api/guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
5829-
authentication](/chat/api/guides/auth/service-accounts).)
5829+
authentication](/chat/api/guides/auth/service-accounts).) - `quoted_message_metadata` (Only allows
5830+
removal of the quoted message.)
58305831
*/
58315832
public String getUpdateMask() {
58325833
return updateMask;
@@ -5838,7 +5839,7 @@ public String getUpdateMask() {
58385839
* `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
58395840
* `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
58405841
* `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-
5841-
* accounts).)
5842+
* accounts).) - `quoted_message_metadata` (Only allows removal of the quoted message.)
58425843
*/
58435844
public Patch setUpdateMask(String updateMask) {
58445845
this.updateMask = updateMask;
@@ -6073,7 +6074,7 @@ public Update setAllowMissing(java.lang.Boolean allowMissing) {
60736074
* `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
60746075
* `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
60756076
* `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-
6076-
* accounts).)
6077+
* accounts).) - `quoted_message_metadata` (Only allows removal of the quoted message.)
60776078
*/
60786079
@com.google.api.client.util.Key
60796080
private String updateMask;
@@ -6082,7 +6083,8 @@ public Update setAllowMissing(java.lang.Boolean allowMissing) {
60826083
field paths. Currently supported field paths: - `text` - `attachment` - `cards` (Requires [app
60836084
authentication](/chat/api/guides/auth/service-accounts).) - `cards_v2` (Requires [app
60846085
authentication](/chat/api/guides/auth/service-accounts).) - `accessory_widgets` (Requires [app
6085-
authentication](/chat/api/guides/auth/service-accounts).)
6086+
authentication](/chat/api/guides/auth/service-accounts).) - `quoted_message_metadata` (Only allows
6087+
removal of the quoted message.)
60866088
*/
60876089
public String getUpdateMask() {
60886090
return updateMask;
@@ -6094,7 +6096,7 @@ public String getUpdateMask() {
60946096
* `cards` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
60956097
* `cards_v2` (Requires [app authentication](/chat/api/guides/auth/service-accounts).) -
60966098
* `accessory_widgets` (Requires [app authentication](/chat/api/guides/auth/service-
6097-
* accounts).)
6099+
* accounts).) - `quoted_message_metadata` (Only allows removal of the quoted message.)
60986100
*/
60996101
public Update setUpdateMask(String updateMask) {
61006102
this.updateMask = updateMask;

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

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,12 @@ public final class Message extends com.google.api.client.json.GenericJson {
258258
private User privateMessageViewer;
259259

260260
/**
261-
* Optional. Information about a message that's quoted by a Google Chat user in a space. Google
262-
* Chat users can quote a message to reply to it.
261+
* Optional. Information about a message that another message quotes. When you create a message,
262+
* you can quote messages within the same thread, or quote a root message to create a new root
263+
* message. However, you can't quote a message reply from a different thread. When you update a
264+
* message, you can't add or replace the `quotedMessageMetadata` field, but you can remove it. For
265+
* example usage, see [Quote another message](https://developers.google.com/workspace/chat/create-
266+
* messages#quote-a-message).
263267
* The value may be {@code null}.
264268
*/
265269
@com.google.api.client.util.Key
@@ -752,17 +756,25 @@ public Message setPrivateMessageViewer(User privateMessageViewer) {
752756
}
753757

754758
/**
755-
* Optional. Information about a message that's quoted by a Google Chat user in a space. Google
756-
* Chat users can quote a message to reply to it.
759+
* Optional. Information about a message that another message quotes. When you create a message,
760+
* you can quote messages within the same thread, or quote a root message to create a new root
761+
* message. However, you can't quote a message reply from a different thread. When you update a
762+
* message, you can't add or replace the `quotedMessageMetadata` field, but you can remove it. For
763+
* example usage, see [Quote another message](https://developers.google.com/workspace/chat/create-
764+
* messages#quote-a-message).
757765
* @return value or {@code null} for none
758766
*/
759767
public QuotedMessageMetadata getQuotedMessageMetadata() {
760768
return quotedMessageMetadata;
761769
}
762770

763771
/**
764-
* Optional. Information about a message that's quoted by a Google Chat user in a space. Google
765-
* Chat users can quote a message to reply to it.
772+
* Optional. Information about a message that another message quotes. When you create a message,
773+
* you can quote messages within the same thread, or quote a root message to create a new root
774+
* message. However, you can't quote a message reply from a different thread. When you update a
775+
* message, you can't add or replace the `quotedMessageMetadata` field, but you can remove it. For
776+
* example usage, see [Quote another message](https://developers.google.com/workspace/chat/create-
777+
* messages#quote-a-message).
766778
* @param quotedMessageMetadata quotedMessageMetadata or {@code null} for none
767779
*/
768780
public Message setQuotedMessageMetadata(QuotedMessageMetadata quotedMessageMetadata) {

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

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
package com.google.api.services.chat.v1.model;
1818

1919
/**
20-
* Information about a quoted message.
20+
* Information about a message that another message quotes. When you create a message, you can quote
21+
* messages within the same thread, or quote a root message to create a new root message. However,
22+
* you can't quote a message reply from a different thread. When you update a message, you can't add
23+
* or replace the `quotedMessageMetadata` field, but you can remove it. For example usage, see
24+
* [Quote another message](https://developers.google.com/workspace/chat/create-messages#quote-a-
25+
* message).
2126
*
2227
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2328
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:
@@ -31,7 +36,9 @@ public final class QuotedMessageMetadata extends com.google.api.client.json.Gene
3136

3237
/**
3338
* Required. The timestamp when the quoted message was created or when the quoted message was last
34-
* updated.
39+
* updated. If the message was edited, use this field, `last_update_time`. If the message was
40+
* never edited, use `create_time`. If `last_update_time` doesn't match the latest version of the
41+
* quoted message, the request fails.
3542
* The value may be {@code null}.
3643
*/
3744
@com.google.api.client.util.Key
@@ -47,7 +54,9 @@ public final class QuotedMessageMetadata extends com.google.api.client.json.Gene
4754

4855
/**
4956
* Required. The timestamp when the quoted message was created or when the quoted message was last
50-
* updated.
57+
* updated. If the message was edited, use this field, `last_update_time`. If the message was
58+
* never edited, use `create_time`. If `last_update_time` doesn't match the latest version of the
59+
* quoted message, the request fails.
5160
* @return value or {@code null} for none
5261
*/
5362
public String getLastUpdateTime() {
@@ -56,7 +65,9 @@ public String getLastUpdateTime() {
5665

5766
/**
5867
* Required. The timestamp when the quoted message was created or when the quoted message was last
59-
* updated.
68+
* updated. If the message was edited, use this field, `last_update_time`. If the message was
69+
* never edited, use `create_time`. If `last_update_time` doesn't match the latest version of the
70+
* quoted message, the request fails.
6071
* @param lastUpdateTime lastUpdateTime or {@code null} for none
6172
*/
6273
public QuotedMessageMetadata setLastUpdateTime(String lastUpdateTime) {

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

0 commit comments

Comments
 (0)