Skip to content

Commit c84e4c0

Browse files
1 parent 7d03b76 commit c84e4c0

File tree

5 files changed

+39
-58
lines changed

5 files changed

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

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

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

1919
/**
20-
* A Google Chat app interaction event. To learn about interaction events, see [Receive and respond
21-
* to interactions with your Google Chat
22-
* app](https://developers.google.com/workspace/chat/api/guides/message-formats). To learn about
23-
* event types and for example event payloads, see [Types of Google Chat app interaction
24-
* events](https://developers.google.com/workspace/chat/events). In addition to receiving events
25-
* from user interactions, Chat apps can receive events about changes to spaces, such as when a new
26-
* member is added to a space. To learn about space events, see [Work with events from Google
20+
* A Google Chat app interaction event that represents and contains data about a user's interaction
21+
* with a Chat app. To configure your Chat app to receive interaction events, see [Receive and
22+
* respond to user interactions](https://developers.google.com/workspace/chat/receive-respond-
23+
* interactions). In addition to receiving events from user interactions, Chat apps can receive
24+
* events about changes to spaces, such as when a new member is added to a space. To learn about
25+
* space events, see [Work with events from Google
2726
* Chat](https://developers.google.com/workspace/chat/events-overview).
2827
*
2928
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
@@ -46,10 +45,9 @@ public final class DeprecatedEvent extends com.google.api.client.json.GenericJso
4645
private FormAction action;
4746

4847
/**
49-
* Represents informatmessage_visibilityion about the user's client, such as locale, host app, and
50-
* platform. For Chat apps, `CommonEventObject` includes information submitted by users
51-
* interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data
52-
* entered on a card.
48+
* Represents information about the user's client, such as locale, host app, and platform. For
49+
* Chat apps, `CommonEventObject` includes information submitted by users interacting with
50+
* [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card.
5351
* The value may be {@code null}.
5452
*/
5553
@com.google.api.client.util.Key
@@ -96,7 +94,7 @@ public final class DeprecatedEvent extends com.google.api.client.json.GenericJso
9694
private Message message;
9795

9896
/**
99-
* The space in which the interaction event occurred.
97+
* The space in which the user interacted with the Chat app.
10098
* The value may be {@code null}.
10199
*/
102100
@com.google.api.client.util.Key
@@ -125,15 +123,15 @@ public final class DeprecatedEvent extends com.google.api.client.json.GenericJso
125123
private java.lang.String token;
126124

127125
/**
128-
* The type of interaction event. For details, see [Types of Google Chat app interaction
129-
* events](https://developers.google.com/workspace/chat/events).
126+
* The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat
127+
* app, such as `MESSAGE` or `ADDED_TO_SPACE`.
130128
* The value may be {@code null}.
131129
*/
132130
@com.google.api.client.util.Key
133131
private java.lang.String type;
134132

135133
/**
136-
* The user that triggered the interaction event.
134+
* The user that interacted with the Chat app.
137135
* The value may be {@code null}.
138136
*/
139137
@com.google.api.client.util.Key
@@ -161,21 +159,19 @@ public DeprecatedEvent setAction(FormAction action) {
161159
}
162160

163161
/**
164-
* Represents informatmessage_visibilityion about the user's client, such as locale, host app, and
165-
* platform. For Chat apps, `CommonEventObject` includes information submitted by users
166-
* interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data
167-
* entered on a card.
162+
* Represents information about the user's client, such as locale, host app, and platform. For
163+
* Chat apps, `CommonEventObject` includes information submitted by users interacting with
164+
* [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card.
168165
* @return value or {@code null} for none
169166
*/
170167
public CommonEventObject getCommon() {
171168
return common;
172169
}
173170

174171
/**
175-
* Represents informatmessage_visibilityion about the user's client, such as locale, host app, and
176-
* platform. For Chat apps, `CommonEventObject` includes information submitted by users
177-
* interacting with [dialogs](https://developers.google.com/workspace/chat/dialogs), like data
178-
* entered on a card.
172+
* Represents information about the user's client, such as locale, host app, and platform. For
173+
* Chat apps, `CommonEventObject` includes information submitted by users interacting with
174+
* [dialogs](https://developers.google.com/workspace/chat/dialogs), like data entered on a card.
179175
* @param common common or {@code null} for none
180176
*/
181177
public DeprecatedEvent setCommon(CommonEventObject common) {
@@ -279,15 +275,15 @@ public DeprecatedEvent setMessage(Message message) {
279275
}
280276

281277
/**
282-
* The space in which the interaction event occurred.
278+
* The space in which the user interacted with the Chat app.
283279
* @return value or {@code null} for none
284280
*/
285281
public Space getSpace() {
286282
return space;
287283
}
288284

289285
/**
290-
* The space in which the interaction event occurred.
286+
* The space in which the user interacted with the Chat app.
291287
* @param space space or {@code null} for none
292288
*/
293289
public DeprecatedEvent setSpace(Space space) {
@@ -346,17 +342,17 @@ public DeprecatedEvent setToken(java.lang.String token) {
346342
}
347343

348344
/**
349-
* The type of interaction event. For details, see [Types of Google Chat app interaction
350-
* events](https://developers.google.com/workspace/chat/events).
345+
* The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat
346+
* app, such as `MESSAGE` or `ADDED_TO_SPACE`.
351347
* @return value or {@code null} for none
352348
*/
353349
public java.lang.String getType() {
354350
return type;
355351
}
356352

357353
/**
358-
* The type of interaction event. For details, see [Types of Google Chat app interaction
359-
* events](https://developers.google.com/workspace/chat/events).
354+
* The [type](/workspace/chat/api/reference/rest/v1/EventType) of user interaction with the Chat
355+
* app, such as `MESSAGE` or `ADDED_TO_SPACE`.
360356
* @param type type or {@code null} for none
361357
*/
362358
public DeprecatedEvent setType(java.lang.String type) {
@@ -365,15 +361,15 @@ public DeprecatedEvent setType(java.lang.String type) {
365361
}
366362

367363
/**
368-
* The user that triggered the interaction event.
364+
* The user that interacted with the Chat app.
369365
* @return value or {@code null} for none
370366
*/
371367
public User getUser() {
372368
return user;
373369
}
374370

375371
/**
376-
* The user that triggered the interaction event.
372+
* The user that interacted with the Chat app.
377373
* @param user user or {@code null} for none
378374
*/
379375
public DeprecatedEvent setUser(User user) {

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

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,8 @@ public final class Space extends com.google.api.client.json.GenericJson {
7575
* Immutable. Whether this space permits any Google Chat user as a member. Input when creating a
7676
* space in a Google Workspace organization. Omit this field when creating spaces in the following
7777
* conditions: * The authenticated user uses a consumer account (unmanaged user account). By
78-
* default, a space created by a consumer account permits any Google Chat user. * The space is
79-
* used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-
80-
* data-overview) because import mode spaces must only permit members from the same Google
81-
* Workspace organization. However, as part of the [Google Workspace Developer Preview
82-
* Program](https://developers.google.com/workspace/preview), import mode spaces can permit any
83-
* Google Chat user so this field can then be set for import mode spaces. For existing spaces,
84-
* this field is output only.
78+
* default, a space created by a consumer account permits any Google Chat user. For existing
79+
* spaces, this field is output only.
8580
* The value may be {@code null}.
8681
*/
8782
@com.google.api.client.util.Key
@@ -259,13 +254,8 @@ public Space setDisplayName(java.lang.String displayName) {
259254
* Immutable. Whether this space permits any Google Chat user as a member. Input when creating a
260255
* space in a Google Workspace organization. Omit this field when creating spaces in the following
261256
* conditions: * The authenticated user uses a consumer account (unmanaged user account). By
262-
* default, a space created by a consumer account permits any Google Chat user. * The space is
263-
* used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-
264-
* data-overview) because import mode spaces must only permit members from the same Google
265-
* Workspace organization. However, as part of the [Google Workspace Developer Preview
266-
* Program](https://developers.google.com/workspace/preview), import mode spaces can permit any
267-
* Google Chat user so this field can then be set for import mode spaces. For existing spaces,
268-
* this field is output only.
257+
* default, a space created by a consumer account permits any Google Chat user. For existing
258+
* spaces, this field is output only.
269259
* @return value or {@code null} for none
270260
*/
271261
public java.lang.Boolean getExternalUserAllowed() {
@@ -276,13 +266,8 @@ public java.lang.Boolean getExternalUserAllowed() {
276266
* Immutable. Whether this space permits any Google Chat user as a member. Input when creating a
277267
* space in a Google Workspace organization. Omit this field when creating spaces in the following
278268
* conditions: * The authenticated user uses a consumer account (unmanaged user account). By
279-
* default, a space created by a consumer account permits any Google Chat user. * The space is
280-
* used to [import data to Google Chat] (https://developers.google.com/chat/api/guides/import-
281-
* data-overview) because import mode spaces must only permit members from the same Google
282-
* Workspace organization. However, as part of the [Google Workspace Developer Preview
283-
* Program](https://developers.google.com/workspace/preview), import mode spaces can permit any
284-
* Google Chat user so this field can then be set for import mode spaces. For existing spaces,
285-
* this field is output only.
269+
* default, a space created by a consumer account permits any Google Chat user. For existing
270+
* spaces, this field is output only.
286271
* @param externalUserAllowed externalUserAllowed or {@code null} for none
287272
*/
288273
public Space setExternalUserAllowed(java.lang.Boolean externalUserAllowed) {

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

0 commit comments

Comments
 (0)