Skip to content

Commit 43307e7

Browse files
1 parent 3362f54 commit 43307e7

File tree

7 files changed

+47
-28
lines changed

7 files changed

+47
-28
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-rev20240829-2.0.0</version>
25+
<version>v1-rev20240908-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-rev20240829-2.0.0'
38+
implementation 'com.google.apis:google-api-services-chat:v1-rev20240908-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: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,18 @@ public class HangoutsChatScopes {
3838
/** View display name, description, and other metadata for all Google Chat conversations owned by your organization. */
3939
public static final String CHAT_ADMIN_SPACES_READONLY = "https://www.googleapis.com/auth/chat.admin.spaces.readonly";
4040

41+
/** On their own behalf, apps in Google Chat can delete conversations and spaces and remove access to associated files. */
42+
public static final String CHAT_APP_DELETE = "https://www.googleapis.com/auth/chat.app.delete";
43+
44+
/** On their own behalf, apps in Google Chat can see, add, update, and remove members from conversations and spaces. */
45+
public static final String CHAT_APP_MEMBERSHIPS = "https://www.googleapis.com/auth/chat.app.memberships";
46+
47+
/** On their own behalf, apps in Google Chat can create conversations and spaces and see or update their metadata (including history settings and access settings). */
48+
public static final String CHAT_APP_SPACES = "https://www.googleapis.com/auth/chat.app.spaces";
49+
50+
/** On their own behalf, apps in Google Chat can create conversations and spaces. */
51+
public static final String CHAT_APP_SPACES_CREATE = "https://www.googleapis.com/auth/chat.app.spaces.create";
52+
4153
/** Private Service: https://www.googleapis.com/auth/chat.bot. */
4254
public static final String CHAT_BOT = "https://www.googleapis.com/auth/chat.bot";
4355

@@ -101,6 +113,10 @@ public static java.util.Set<String> all() {
101113
set.add(CHAT_ADMIN_MEMBERSHIPS_READONLY);
102114
set.add(CHAT_ADMIN_SPACES);
103115
set.add(CHAT_ADMIN_SPACES_READONLY);
116+
set.add(CHAT_APP_DELETE);
117+
set.add(CHAT_APP_MEMBERSHIPS);
118+
set.add(CHAT_APP_SPACES);
119+
set.add(CHAT_APP_SPACES_CREATE);
104120
set.add(CHAT_BOT);
105121
set.add(CHAT_DELETE);
106122
set.add(CHAT_IMPORT);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.chat.v1.model;
1818

1919
/**
20-
* Data for Chat space links. [Developer Preview](https://developers.google.com/workspace/preview).
20+
* Data for Chat space links.
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* 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: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,13 @@ public final class Message extends com.google.api.client.json.GenericJson {
241241
/**
242242
* Immutable. Input for creating a message, otherwise output only. The user that can view the
243243
* message. When set, the message is private and only visible to the specified user and the Chat
244-
* app. Link previews and attachments aren't supported for private messages. Only Chat apps can
245-
* send private messages. If your Chat app [authenticates as a
246-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) to send a
247-
* message, the message can't be private and must omit this field. For details, see [Send a
248-
* message privately](https://developers.google.com/workspace/chat/create-messages#private).
244+
* app. To include this field in your request, you must call the Chat API using [app
245+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
246+
* and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/refere
247+
* nce/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/wo
248+
* rkspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see
249+
* [Send a message privately](https://developers.google.com/workspace/chat/create-
250+
* messages#private).
249251
* The value may be {@code null}.
250252
*/
251253
@com.google.api.client.util.Key
@@ -707,11 +709,13 @@ public Message setName(java.lang.String name) {
707709
/**
708710
* Immutable. Input for creating a message, otherwise output only. The user that can view the
709711
* message. When set, the message is private and only visible to the specified user and the Chat
710-
* app. Link previews and attachments aren't supported for private messages. Only Chat apps can
711-
* send private messages. If your Chat app [authenticates as a
712-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) to send a
713-
* message, the message can't be private and must omit this field. For details, see [Send a
714-
* message privately](https://developers.google.com/workspace/chat/create-messages#private).
712+
* app. To include this field in your request, you must call the Chat API using [app
713+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
714+
* and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/refere
715+
* nce/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/wo
716+
* rkspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see
717+
* [Send a message privately](https://developers.google.com/workspace/chat/create-
718+
* messages#private).
715719
* @return value or {@code null} for none
716720
*/
717721
public User getPrivateMessageViewer() {
@@ -721,11 +725,13 @@ public User getPrivateMessageViewer() {
721725
/**
722726
* Immutable. Input for creating a message, otherwise output only. The user that can view the
723727
* message. When set, the message is private and only visible to the specified user and the Chat
724-
* app. Link previews and attachments aren't supported for private messages. Only Chat apps can
725-
* send private messages. If your Chat app [authenticates as a
726-
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) to send a
727-
* message, the message can't be private and must omit this field. For details, see [Send a
728-
* message privately](https://developers.google.com/workspace/chat/create-messages#private).
728+
* app. To include this field in your request, you must call the Chat API using [app
729+
* authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app)
730+
* and omit the following: * [Attachments](https://developers.google.com/workspace/chat/api/refere
731+
* nce/rest/v1/spaces.messages.attachments) * [Accessory widgets](https://developers.google.com/wo
732+
* rkspace/chat/api/reference/rest/v1/spaces.messages#Message.AccessoryWidget) For details, see
733+
* [Send a message privately](https://developers.google.com/workspace/chat/create-
734+
* messages#private).
729735
* @param privateMessageViewer privateMessageViewer or {@code null} for none
730736
*/
731737
public Message setPrivateMessageViewer(User privateMessageViewer) {

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@
3030
public final class RichLinkMetadata extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Data for a chat space link. [Developer
34-
* Preview](https://developers.google.com/workspace/preview).
33+
* Data for a chat space link.
3534
* The value may be {@code null}.
3635
*/
3736
@com.google.api.client.util.Key
@@ -59,17 +58,15 @@ public final class RichLinkMetadata extends com.google.api.client.json.GenericJs
5958
private java.lang.String uri;
6059

6160
/**
62-
* Data for a chat space link. [Developer
63-
* Preview](https://developers.google.com/workspace/preview).
61+
* Data for a chat space link.
6462
* @return value or {@code null} for none
6563
*/
6664
public ChatSpaceLinkData getChatSpaceLinkData() {
6765
return chatSpaceLinkData;
6866
}
6967

7068
/**
71-
* Data for a chat space link. [Developer
72-
* Preview](https://developers.google.com/workspace/preview).
69+
* Data for a chat space link.
7370
* @param chatSpaceLinkData chatSpaceLinkData or {@code null} for none
7471
*/
7572
public RichLinkMetadata setChatSpaceLinkData(ChatSpaceLinkData chatSpaceLinkData) {

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

0 commit comments

Comments
 (0)