Skip to content

Commit ed466d0

Browse files
1 parent 1864b7b commit ed466d0

File tree

5 files changed

+83
-6
lines changed

5 files changed

+83
-6
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-rev20251216-2.0.0</version>
25+
<version>v1-rev20260329-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-rev20251216-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workspaceevents:v1-rev20260329-2.0.0'
3939
}
4040
```
4141

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

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

29+
/** On their own behalf, apps in Google Chat can see members of conversations and spaces. */
30+
public static final String CHAT_APP_MEMBERSHIPS_READONLY = "https://www.googleapis.com/auth/chat.app.memberships.readonly";
31+
2932
/** On their own behalf, apps in Google Chat can see all messages and their associated reactions and message content. */
3033
public static final String CHAT_APP_MESSAGES_READONLY = "https://www.googleapis.com/auth/chat.app.messages.readonly";
3134

3235
/** 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). */
3336
public static final String CHAT_APP_SPACES = "https://www.googleapis.com/auth/chat.app.spaces";
3437

38+
/** On their own behalf, apps in Google Chat can see conversations and spaces and their metadata (including history settings and access settings). */
39+
public static final String CHAT_APP_SPACES_READONLY = "https://www.googleapis.com/auth/chat.app.spaces.readonly";
40+
3541
/** Private Service: https://www.googleapis.com/auth/chat.bot. */
3642
public static final String CHAT_BOT = "https://www.googleapis.com/auth/chat.bot";
3743

@@ -88,8 +94,10 @@ public class WorkspaceEventsScopes {
8894
public static java.util.Set<String> all() {
8995
java.util.Set<String> set = new java.util.HashSet<String>();
9096
set.add(CHAT_APP_MEMBERSHIPS);
97+
set.add(CHAT_APP_MEMBERSHIPS_READONLY);
9198
set.add(CHAT_APP_MESSAGES_READONLY);
9299
set.add(CHAT_APP_SPACES);
100+
set.add(CHAT_APP_SPACES_READONLY);
93101
set.add(CHAT_BOT);
94102
set.add(CHAT_MEMBERSHIPS);
95103
set.add(CHAT_MEMBERSHIPS_READONLY);

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

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,16 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
114114
@com.google.api.client.util.Key
115115
private java.lang.Boolean reconciling;
116116

117+
/**
118+
* Output only. The service account that was used to authorize the creation of the subscription.
119+
* This service account must be owned by the same Google Cloud project where you create this
120+
* subscription. Format: `projects/{project_id}/serviceAccounts/{service_account_id}` [Developer
121+
* Preview](https://developers.google.com/workspace/preview).
122+
* The value may be {@code null}.
123+
*/
124+
@com.google.api.client.util.Key
125+
private java.lang.String serviceAccountAuthority;
126+
117127
/**
118128
* Output only. The state of the subscription. Determines whether the subscription can receive
119129
* events and deliver them to the notification endpoint.
@@ -165,6 +175,17 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
165175
@com.google.api.client.util.Key
166176
private String updateTime;
167177

178+
/**
179+
* Output only. The user who authorized the creation of the subscription. The user must be able to
180+
* view the `target_resource`. For Google Workspace users, the `{user}` value is the [`user.id`](h
181+
* ttps://developers.google.com/workspace/admin/directory/reference/rest/v1/users#User.FIELDS.id)
182+
* field from the Directory API. Format: `users/{user}` [Developer
183+
* Preview](https://developers.google.com/workspace/preview).
184+
* The value may be {@code null}.
185+
*/
186+
@com.google.api.client.util.Key
187+
private java.lang.String userAuthority;
188+
168189
/**
169190
* Output only. The user who authorized the creation of the subscription. When a user authorizes
170191
* the subscription, this field and the `user_authority` field have the same value and the format
@@ -356,6 +377,29 @@ public Subscription setReconciling(java.lang.Boolean reconciling) {
356377
return this;
357378
}
358379

380+
/**
381+
* Output only. The service account that was used to authorize the creation of the subscription.
382+
* This service account must be owned by the same Google Cloud project where you create this
383+
* subscription. Format: `projects/{project_id}/serviceAccounts/{service_account_id}` [Developer
384+
* Preview](https://developers.google.com/workspace/preview).
385+
* @return value or {@code null} for none
386+
*/
387+
public java.lang.String getServiceAccountAuthority() {
388+
return serviceAccountAuthority;
389+
}
390+
391+
/**
392+
* Output only. The service account that was used to authorize the creation of the subscription.
393+
* This service account must be owned by the same Google Cloud project where you create this
394+
* subscription. Format: `projects/{project_id}/serviceAccounts/{service_account_id}` [Developer
395+
* Preview](https://developers.google.com/workspace/preview).
396+
* @param serviceAccountAuthority serviceAccountAuthority or {@code null} for none
397+
*/
398+
public Subscription setServiceAccountAuthority(java.lang.String serviceAccountAuthority) {
399+
this.serviceAccountAuthority = serviceAccountAuthority;
400+
return this;
401+
}
402+
359403
/**
360404
* Output only. The state of the subscription. Determines whether the subscription can receive
361405
* events and deliver them to the notification endpoint.
@@ -476,6 +520,31 @@ public Subscription setUpdateTime(String updateTime) {
476520
return this;
477521
}
478522

523+
/**
524+
* Output only. The user who authorized the creation of the subscription. The user must be able to
525+
* view the `target_resource`. For Google Workspace users, the `{user}` value is the [`user.id`](h
526+
* ttps://developers.google.com/workspace/admin/directory/reference/rest/v1/users#User.FIELDS.id)
527+
* field from the Directory API. Format: `users/{user}` [Developer
528+
* Preview](https://developers.google.com/workspace/preview).
529+
* @return value or {@code null} for none
530+
*/
531+
public java.lang.String getUserAuthority() {
532+
return userAuthority;
533+
}
534+
535+
/**
536+
* Output only. The user who authorized the creation of the subscription. The user must be able to
537+
* view the `target_resource`. For Google Workspace users, the `{user}` value is the [`user.id`](h
538+
* ttps://developers.google.com/workspace/admin/directory/reference/rest/v1/users#User.FIELDS.id)
539+
* field from the Directory API. Format: `users/{user}` [Developer
540+
* Preview](https://developers.google.com/workspace/preview).
541+
* @param userAuthority userAuthority or {@code null} for none
542+
*/
543+
public Subscription setUserAuthority(java.lang.String userAuthority) {
544+
this.userAuthority = userAuthority;
545+
return this;
546+
}
547+
479548
@Override
480549
public Subscription set(String fieldName, Object value) {
481550
return (Subscription) super.set(fieldName, value);

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-rev20251216-2.0.0</version>
12-
<name>Google Workspace Events API v1-rev20251216-2.0.0</name>
11+
<version>v1-rev20260329-2.0.0</version>
12+
<name>Google Workspace Events API v1-rev20260329-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-rev20251216-2.0.0</version>
25+
<version>v1-rev20260329-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-rev20251216-2.0.0'
38+
implementation 'com.google.apis:google-api-services-workspaceevents:v1-rev20260329-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)