Skip to content

Commit 6fbfeaa

Browse files
1 parent 9a093b6 commit 6fbfeaa

5 files changed

Lines changed: 112 additions & 6 deletions

File tree

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

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.workspaceevents.v1.model;
18+
19+
/**
20+
* Additional supported options for serving Drive events.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Workspace Events API. For a detailed
24+
* explanation see:
25+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class DriveOptions extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Immutable. For subscriptions to Google Drive events, whether to receive events about
35+
* Drive files that are children of the target folder or shared drive. * If `false`, the
36+
* subscription only receives events about changes to the folder or shared drive that's specified
37+
* as the `targetResource`. * If `true`, the `mimeType` field of the `file` resource must be set
38+
* to `application/vnd.google-apps.folder`. For details, see [Google Drive event
39+
* types](https://developers.google.com/workspace/events/guides/events-drive#event-types).
40+
* The value may be {@code null}.
41+
*/
42+
@com.google.api.client.util.Key
43+
private java.lang.Boolean includeDescendants;
44+
45+
/**
46+
* Optional. Immutable. For subscriptions to Google Drive events, whether to receive events about
47+
* Drive files that are children of the target folder or shared drive. * If `false`, the
48+
* subscription only receives events about changes to the folder or shared drive that's specified
49+
* as the `targetResource`. * If `true`, the `mimeType` field of the `file` resource must be set
50+
* to `application/vnd.google-apps.folder`. For details, see [Google Drive event
51+
* types](https://developers.google.com/workspace/events/guides/events-drive#event-types).
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.Boolean getIncludeDescendants() {
55+
return includeDescendants;
56+
}
57+
58+
/**
59+
* Optional. Immutable. For subscriptions to Google Drive events, whether to receive events about
60+
* Drive files that are children of the target folder or shared drive. * If `false`, the
61+
* subscription only receives events about changes to the folder or shared drive that's specified
62+
* as the `targetResource`. * If `true`, the `mimeType` field of the `file` resource must be set
63+
* to `application/vnd.google-apps.folder`. For details, see [Google Drive event
64+
* types](https://developers.google.com/workspace/events/guides/events-drive#event-types).
65+
* @param includeDescendants includeDescendants or {@code null} for none
66+
*/
67+
public DriveOptions setIncludeDescendants(java.lang.Boolean includeDescendants) {
68+
this.includeDescendants = includeDescendants;
69+
return this;
70+
}
71+
72+
@Override
73+
public DriveOptions set(String fieldName, Object value) {
74+
return (DriveOptions) super.set(fieldName, value);
75+
}
76+
77+
@Override
78+
public DriveOptions clone() {
79+
return (DriveOptions) super.clone();
80+
}
81+
82+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ public final class Subscription extends com.google.api.client.json.GenericJson {
5252
@com.google.api.client.util.Key
5353
private String createTime;
5454

55+
/**
56+
* Optional. Features that are supported only for subscriptions on Drive resources.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key
60+
private DriveOptions driveOptions;
61+
5562
/**
5663
* Optional. This checksum is computed by the server based on the value of other fields, and might
5764
* be sent on update requests to ensure the client has an up-to-date value before proceeding.
@@ -230,6 +237,23 @@ public Subscription setCreateTime(String createTime) {
230237
return this;
231238
}
232239

240+
/**
241+
* Optional. Features that are supported only for subscriptions on Drive resources.
242+
* @return value or {@code null} for none
243+
*/
244+
public DriveOptions getDriveOptions() {
245+
return driveOptions;
246+
}
247+
248+
/**
249+
* Optional. Features that are supported only for subscriptions on Drive resources.
250+
* @param driveOptions driveOptions or {@code null} for none
251+
*/
252+
public Subscription setDriveOptions(DriveOptions driveOptions) {
253+
this.driveOptions = driveOptions;
254+
return this;
255+
}
256+
233257
/**
234258
* Optional. This checksum is computed by the server based on the value of other fields, and might
235259
* be sent on update requests to ensure the client has an up-to-date value before proceeding.

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

0 commit comments

Comments
 (0)