Skip to content

Commit 01bd595

Browse files
1 parent fd727fd commit 01bd595

File tree

5 files changed

+84
-20
lines changed

5 files changed

+84
-20
lines changed

clients/google-api-services-workspaceevents/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-workspaceevents</artifactId>
25-
<version>v1-rev20250708-2.0.0</version>
25+
<version>v1-rev20250921-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-workspaceevents:v1-rev20250708-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workspaceevents:v1-rev20250921-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-workspaceevents/v1/2.0.0/com/google/api/services/workspaceevents/v1/WorkspaceEvents.java

Lines changed: 60 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,15 @@ public class Subscriptions {
319319
/**
320320
* Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google
321321
* Workspace subscription](https://developers.google.com/workspace/events/guides/create-
322-
* subscription).
322+
* subscription). For a subscription on a [Chat target
323+
* resource](https://developers.google.com/workspace/events/guides/events-chat), you can create a
324+
* subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app`
325+
* and getting one-time administrator approval ([Developer
326+
* Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a
327+
* Chat app with administrator approval](https://developers.google.com/workspace/chat/authenticate-
328+
* authorize-chat-app). - A user by specifying an authorization scope that doesn't include `app` in
329+
* its name. To learn more, see [Authorize as a Chat
330+
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
323331
*
324332
* Create a request for the method "subscriptions.create".
325333
*
@@ -342,7 +350,16 @@ public class Create extends WorkspaceEventsRequest<com.google.api.services.works
342350
/**
343351
* Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google
344352
* Workspace subscription](https://developers.google.com/workspace/events/guides/create-
345-
* subscription).
353+
* subscription). For a subscription on a [Chat target
354+
* resource](https://developers.google.com/workspace/events/guides/events-chat), you can create a
355+
* subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app`
356+
* and getting one-time administrator approval ([Developer
357+
* Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a
358+
* Chat app with administrator
359+
* approval](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). - A
360+
* user by specifying an authorization scope that doesn't include `app` in its name. To learn
361+
* more, see [Authorize as a Chat user](https://developers.google.com/workspace/chat/authenticate-
362+
* authorize-chat-user).
346363
*
347364
* Create a request for the method "subscriptions.create".
348365
*
@@ -1016,7 +1033,16 @@ public List set(String parameterName, Object value) {
10161033
/**
10171034
* Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update
10181035
* or renew a Google Workspace
1019-
* subscription](https://developers.google.com/workspace/events/guides/update-subscription).
1036+
* subscription](https://developers.google.com/workspace/events/guides/update-subscription). For a
1037+
* subscription on a [Chat target
1038+
* resource](https://developers.google.com/workspace/events/guides/events-chat), you can update a
1039+
* subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app`
1040+
* andgetting one-time administrator approval ([Developer
1041+
* Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a
1042+
* Chat app with administrator approval](https://developers.google.com/workspace/chat/authenticate-
1043+
* authorize-chat-app). - A user by specifying an authorization scope that doesn't include `app` in
1044+
* its name. To learn more, see [Authorize as a Chat
1045+
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
10201046
*
10211047
* Create a request for the method "subscriptions.patch".
10221048
*
@@ -1043,7 +1069,17 @@ public class Patch extends WorkspaceEventsRequest<com.google.api.services.worksp
10431069
/**
10441070
* Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update
10451071
* or renew a Google Workspace
1046-
* subscription](https://developers.google.com/workspace/events/guides/update-subscription).
1072+
* subscription](https://developers.google.com/workspace/events/guides/update-subscription). For a
1073+
* subscription on a [Chat target
1074+
* resource](https://developers.google.com/workspace/events/guides/events-chat), you can update a
1075+
* subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app`
1076+
* andgetting one-time administrator approval ([Developer
1077+
* Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a
1078+
* Chat app with administrator
1079+
* approval](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). - A
1080+
* user by specifying an authorization scope that doesn't include `app` in its name. To learn
1081+
* more, see [Authorize as a Chat user](https://developers.google.com/workspace/chat/authenticate-
1082+
* authorize-chat-user).
10471083
*
10481084
* Create a request for the method "subscriptions.patch".
10491085
*
@@ -1211,7 +1247,16 @@ public Patch set(String parameterName, Object value) {
12111247
* `State` field to `ACTIVE`. Before you use this method, you must fix the error that suspended the
12121248
* subscription. This method will ignore or reject any subscription that isn't currently in a
12131249
* suspended state. To learn how to use this method, see [Reactivate a Google Workspace
1214-
* subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).
1250+
* subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription). For
1251+
* a subscription on a [Chat target
1252+
* resource](https://developers.google.com/workspace/events/guides/events-chat), you can reactivate
1253+
* a subscription as: - A Chat app by specifying an authorization scope that begins with `chat.app`
1254+
* andgetting one-time administrator approval ([Developer
1255+
* Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a
1256+
* Chat app with administrator approval](https://developers.google.com/workspace/chat/authenticate-
1257+
* authorize-chat-app). - A user by specifying an authorization scope that doesn't include `app` in
1258+
* its name. To learn more, see [Authorize as a Chat
1259+
* user](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user).
12151260
*
12161261
* Create a request for the method "subscriptions.reactivate".
12171262
*
@@ -1241,6 +1286,16 @@ public class Reactivate extends WorkspaceEventsRequest<com.google.api.services.w
12411286
* the subscription. This method will ignore or reject any subscription that isn't currently in a
12421287
* suspended state. To learn how to use this method, see [Reactivate a Google Workspace
12431288
* subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).
1289+
* For a subscription on a [Chat target
1290+
* resource](https://developers.google.com/workspace/events/guides/events-chat), you can
1291+
* reactivate a subscription as: - A Chat app by specifying an authorization scope that begins
1292+
* with `chat.app` andgetting one-time administrator approval ([Developer
1293+
* Preview](https://developers.google.com/workspace/preview)). To learn more, see [Authorize as a
1294+
* Chat app with administrator
1295+
* approval](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app). - A
1296+
* user by specifying an authorization scope that doesn't include `app` in its name. To learn
1297+
* more, see [Authorize as a Chat user](https://developers.google.com/workspace/chat/authenticate-
1298+
* authorize-chat-user).
12441299
*
12451300
* Create a request for the method "subscriptions.reactivate".
12461301
*

clients/google-api-services-workspaceevents/v1/2.0.0/com/google/api/services/workspaceevents/v1/model/Subscription.java

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@
3333
public final class Subscription extends com.google.api.client.json.GenericJson {
3434

3535
/**
36-
* Output only. The user who authorized the creation of the subscription. Format: `users/{user}`
37-
* For Google Workspace users, the `{user}` value is the
36+
* Output only. The user who authorized the creation of the subscription. When a user authorizes
37+
* the subscription, this field and the `user_authority` field have the same value and the format
38+
* is: Format: `users/{user}` For Google Workspace users, the `{user}` value is the
3839
* [`user.id`](https://developers.google.com/admin-
39-
* sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API.
40+
* sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API. When a
41+
* Chat app authorizes the subscription, only `service_account_authority` field populates and this
42+
* field is empty.
4043
* The value may be {@code null}.
4144
*/
4245
@com.google.api.client.util.Key
@@ -163,21 +166,27 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
163166
private String updateTime;
164167

165168
/**
166-
* Output only. The user who authorized the creation of the subscription. Format: `users/{user}`
167-
* For Google Workspace users, the `{user}` value is the
169+
* Output only. The user who authorized the creation of the subscription. When a user authorizes
170+
* the subscription, this field and the `user_authority` field have the same value and the format
171+
* is: Format: `users/{user}` For Google Workspace users, the `{user}` value is the
168172
* [`user.id`](https://developers.google.com/admin-
169-
* sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API.
173+
* sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API. When a
174+
* Chat app authorizes the subscription, only `service_account_authority` field populates and this
175+
* field is empty.
170176
* @return value or {@code null} for none
171177
*/
172178
public java.lang.String getAuthority() {
173179
return authority;
174180
}
175181

176182
/**
177-
* Output only. The user who authorized the creation of the subscription. Format: `users/{user}`
178-
* For Google Workspace users, the `{user}` value is the
183+
* Output only. The user who authorized the creation of the subscription. When a user authorizes
184+
* the subscription, this field and the `user_authority` field have the same value and the format
185+
* is: Format: `users/{user}` For Google Workspace users, the `{user}` value is the
179186
* [`user.id`](https://developers.google.com/admin-
180-
* sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API.
187+
* sdk/directory/reference/rest/v1/users#User.FIELDS.ids) field from the Directory API. When a
188+
* Chat app authorizes the subscription, only `service_account_authority` field populates and this
189+
* field is empty.
181190
* @param authority authority or {@code null} for none
182191
*/
183192
public Subscription setAuthority(java.lang.String authority) {

clients/google-api-services-workspaceevents/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-workspaceevents</artifactId>
11-
<version>v1-rev20250708-2.0.0</version>
12-
<name>Google Workspace Events API v1-rev20250708-2.0.0</name>
11+
<version>v1-rev20250921-2.0.0</version>
12+
<name>Google Workspace Events API v1-rev20250921-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-workspaceevents/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-workspaceevents</artifactId>
25-
<version>v1-rev20250708-2.0.0</version>
25+
<version>v1-rev20250921-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-workspaceevents:v1-rev20250708-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workspaceevents:v1-rev20250921-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)