Skip to content

Commit a13da3f

Browse files
1 parent 8e98768 commit a13da3f

File tree

5 files changed

+30
-22
lines changed

5 files changed

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

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ public class HangoutsChatScopes {
4444
/** On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces. */
4545
public static final String CHAT_APP_MEMBERSHIPS = "https://www.googleapis.com/auth/chat.app.memberships";
4646

47+
/** On their own behalf, apps in Google Chat can see members of conversations and spaces. */
48+
public static final String CHAT_APP_MEMBERSHIPS_READONLY = "https://www.googleapis.com/auth/chat.app.memberships.readonly";
49+
4750
/** On their own behalf, apps in Google Chat can see all messages and their associated reactions and message content. */
4851
public static final String CHAT_APP_MESSAGES_READONLY = "https://www.googleapis.com/auth/chat.app.messages.readonly";
4952

@@ -53,6 +56,9 @@ public class HangoutsChatScopes {
5356
/** On their own behalf, apps in Google Chat can create conversations and spaces. */
5457
public static final String CHAT_APP_SPACES_CREATE = "https://www.googleapis.com/auth/chat.app.spaces.create";
5558

59+
/** On their own behalf, apps in Google Chat can see conversations and spaces and their metadata (including history settings and access settings). */
60+
public static final String CHAT_APP_SPACES_READONLY = "https://www.googleapis.com/auth/chat.app.spaces.readonly";
61+
5662
/** Private Service: https://www.googleapis.com/auth/chat.bot. */
5763
public static final String CHAT_BOT = "https://www.googleapis.com/auth/chat.bot";
5864

@@ -133,9 +139,11 @@ public static java.util.Set<String> all() {
133139
set.add(CHAT_ADMIN_SPACES_READONLY);
134140
set.add(CHAT_APP_DELETE);
135141
set.add(CHAT_APP_MEMBERSHIPS);
142+
set.add(CHAT_APP_MEMBERSHIPS_READONLY);
136143
set.add(CHAT_APP_MESSAGES_READONLY);
137144
set.add(CHAT_APP_SPACES);
138145
set.add(CHAT_APP_SPACES_CREATE);
146+
set.add(CHAT_APP_SPACES_READONLY);
139147
set.add(CHAT_BOT);
140148
set.add(CHAT_CUSTOMEMOJIS);
141149
set.add(CHAT_CUSTOMEMOJIS_READONLY);

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@
2424
* the following documentation: * For Google Chat apps, see [Design the components of a card or
2525
* dialog](https://developers.google.com/workspace/chat/design-components-card-dialog). * For Google
2626
* Workspace add-ons, see [Card-based interfaces](https://developers.google.com/apps-script/add-
27-
* ons/concepts/cards). Note: You can add up to 100 widgets per card. Any widgets beyond this limit
28-
* are ignored. This limit applies to both card messages and dialogs in Google Chat apps, and to
29-
* cards in Google Workspace add-ons. **Example: Card message for a Google Chat app** ![Example
30-
* contact card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To
31-
* create the sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ {
32-
* "cardId": "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software
33-
* Engineer", "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-
34-
* avatar.png", "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ {
35-
* "header": "Contact Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ {
36-
* "decoratedText": { "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, {
37-
* "decoratedText": { "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, {
38-
* "decoratedText": { "startIcon": { "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, {
39-
* "buttonList": { "buttons": [ { "text": "Share", "onClick": { "openLink": { "url":
40-
* "https://example.com/share" } } }, { "text": "Edit", "onClick": { "action": { "function":
41-
* "goToView", "parameters": [ { "key": "viewType", "value": "EDIT" } ] } } } ] } } ] } ] } } ] }
42-
* ```
27+
* ons/concepts/cards). Note: You can add up to 100 widgets per card. If a section's widgets push
28+
* the total count above 100, that entire section and all following sections are ignored. This limit
29+
* applies to both card messages and dialogs in Google Chat apps, and to cards in Google Workspace
30+
* add-ons. **Example: Card message for a Google Chat app** ![Example contact
31+
* card](https://developers.google.com/workspace/chat/images/card_api_reference.png) To create the
32+
* sample card message in Google Chat, use the following JSON: ``` { "cardsV2": [ { "cardId":
33+
* "unique-card-id", "card": { "header": { "title": "Sasha", "subtitle": "Software Engineer",
34+
* "imageUrl": "https://developers.google.com/workspace/chat/images/quickstart-app-avatar.png",
35+
* "imageType": "CIRCLE", "imageAltText": "Avatar for Sasha" }, "sections": [ { "header": "Contact
36+
* Info", "collapsible": true, "uncollapsibleWidgetsCount": 1, "widgets": [ { "decoratedText": {
37+
* "startIcon": { "knownIcon": "EMAIL" }, "text": "sasha@example.com" } }, { "decoratedText": {
38+
* "startIcon": { "knownIcon": "PERSON" }, "text": "Online" } }, { "decoratedText": { "startIcon": {
39+
* "knownIcon": "PHONE" }, "text": "+1 (555) 555-1234" } }, { "buttonList": { "buttons": [ { "text":
40+
* "Share", "onClick": { "openLink": { "url": "https://example.com/share" } } }, { "text": "Edit",
41+
* "onClick": { "action": { "function": "goToView", "parameters": [ { "key": "viewType", "value":
42+
* "EDIT" } ] } } } ] } } ] } ] } } ] } ```
4343
*
4444
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
4545
* transmitted over HTTP when working with the Google Chat API. For a detailed explanation see:

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

0 commit comments

Comments
 (0)