Skip to content

Commit c7c1116

Browse files
1 parent 72e4bbd commit c7c1116

File tree

5 files changed

+41
-24
lines changed

5 files changed

+41
-24
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-rev20260205-2.0.0</version>
25+
<version>v1-rev20260305-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-rev20260205-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20260305-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,14 @@
1818

1919
/**
2020
* A [card](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards) in a Google
21-
* Chat message. Only Chat apps can create cards. If your Chat app [authenticates as a
22-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the message
23-
* can't contain cards. [Card builder](https://addons.gsuite.google.com/uikit/builder)
21+
* Chat message. Chat apps can create cards with [app
22+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). As
23+
* part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if your
24+
* Chat app [authenticates as a user](https://developers.google.com/workspace/chat/authenticate-
25+
* authorize-chat-user), it can create card messages. If your Chat app is not part of Developer
26+
* Preview Program, it can't create cards with user authentication. To learn how to create a message
27+
* that contains cards, see [Send a message](https://developers.google.com/workspace/chat/create-
28+
* messages). [Card builder](https://addons.gsuite.google.com/uikit/builder)
2429
*
2530
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2631
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:

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

Lines changed: 27 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,15 @@ public final class Message extends com.google.api.client.json.GenericJson {
120120

121121
/**
122122
* Optional. An array of
123-
* [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat
124-
* apps can create cards. If your Chat app [authenticates as a
125-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the
126-
* messages can't contain cards. To learn how to create a message that contains cards, see [Send a
127-
* message](https://developers.google.com/workspace/chat/create-messages). [Card
123+
* [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps
124+
* can create cards with [app
125+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
126+
* As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if
127+
* your Chat app [authenticates as a
128+
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can
129+
* create card messages. If your Chat app is not part of Developer Preview Program, it can't
130+
* create cards with user authentication. To learn how to create a message that contains cards,
131+
* see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card
128132
* builder](https://addons.gsuite.google.com/uikit/builder)
129133
* The value may be {@code null}.
130134
*/
@@ -466,11 +470,15 @@ public Message setCards(java.util.List<Card> cards) {
466470

467471
/**
468472
* Optional. An array of
469-
* [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat
470-
* apps can create cards. If your Chat app [authenticates as a
471-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the
472-
* messages can't contain cards. To learn how to create a message that contains cards, see [Send a
473-
* message](https://developers.google.com/workspace/chat/create-messages). [Card
473+
* [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps
474+
* can create cards with [app
475+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
476+
* As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if
477+
* your Chat app [authenticates as a
478+
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can
479+
* create card messages. If your Chat app is not part of Developer Preview Program, it can't
480+
* create cards with user authentication. To learn how to create a message that contains cards,
481+
* see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card
474482
* builder](https://addons.gsuite.google.com/uikit/builder)
475483
* @return value or {@code null} for none
476484
*/
@@ -480,11 +488,15 @@ public java.util.List<CardWithId> getCardsV2() {
480488

481489
/**
482490
* Optional. An array of
483-
* [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Only Chat
484-
* apps can create cards. If your Chat app [authenticates as a
485-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), the
486-
* messages can't contain cards. To learn how to create a message that contains cards, see [Send a
487-
* message](https://developers.google.com/workspace/chat/create-messages). [Card
491+
* [cards](https://developers.google.com/workspace/chat/api/reference/rest/v1/cards). Chat apps
492+
* can create cards with [app
493+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
494+
* As part of the [Developer Preview Program](https://developers.google.com/workspace/preview), if
495+
* your Chat app [authenticates as a
496+
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user), it can
497+
* create card messages. If your Chat app is not part of Developer Preview Program, it can't
498+
* create cards with user authentication. To learn how to create a message that contains cards,
499+
* see [Send a message](https://developers.google.com/workspace/chat/create-messages). [Card
488500
* builder](https://addons.gsuite.google.com/uikit/builder)
489501
* @param cardsV2 cardsV2 or {@code null} for none
490502
*/

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

0 commit comments

Comments
 (0)