Skip to content

Commit c6da93f

Browse files
1 parent 5e2127d commit c6da93f

File tree

8 files changed

+155
-14
lines changed

8 files changed

+155
-14
lines changed

clients/google-api-services-drive/v2/2.0.0/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<windowtitle>Google Drive API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.46.3/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.38.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>

clients/google-api-services-drive/v3/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-drive</artifactId>
25-
<version>v3-rev20250216-2.0.0</version>
25+
<version>v3-rev20250220-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-drive:v3-rev20250216-2.0.0'
38+
implementation 'com.google.apis:google-api-services-drive:v3-rev20250220-2.0.0'
3939
}
4040
```
4141

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.drive.model;
18+
19+
/**
20+
* A restriction for copy and download of the file.
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 Drive API. For a detailed explanation see:
24+
* <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>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class DownloadRestriction extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Whether download and copy is restricted for readers.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Boolean restrictedForReaders;
38+
39+
/**
40+
* Whether download and copy is restricted for writers. If true, download is also restricted for
41+
* readers.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean restrictedForWriters;
46+
47+
/**
48+
* Whether download and copy is restricted for readers.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.lang.Boolean getRestrictedForReaders() {
52+
return restrictedForReaders;
53+
}
54+
55+
/**
56+
* Whether download and copy is restricted for readers.
57+
* @param restrictedForReaders restrictedForReaders or {@code null} for none
58+
*/
59+
public DownloadRestriction setRestrictedForReaders(java.lang.Boolean restrictedForReaders) {
60+
this.restrictedForReaders = restrictedForReaders;
61+
return this;
62+
}
63+
64+
/**
65+
* Whether download and copy is restricted for writers. If true, download is also restricted for
66+
* readers.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Boolean getRestrictedForWriters() {
70+
return restrictedForWriters;
71+
}
72+
73+
/**
74+
* Whether download and copy is restricted for writers. If true, download is also restricted for
75+
* readers.
76+
* @param restrictedForWriters restrictedForWriters or {@code null} for none
77+
*/
78+
public DownloadRestriction setRestrictedForWriters(java.lang.Boolean restrictedForWriters) {
79+
this.restrictedForWriters = restrictedForWriters;
80+
return this;
81+
}
82+
83+
@Override
84+
public DownloadRestriction set(String fieldName, Object value) {
85+
return (DownloadRestriction) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public DownloadRestriction clone() {
90+
return (DownloadRestriction) super.clone();
91+
}
92+
93+
}

clients/google-api-services-drive/v3/2.0.0/com/google/api/services/drive/model/Drive.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,6 +1053,13 @@ public static final class Restrictions extends com.google.api.client.json.Generi
10531053
@com.google.api.client.util.Key
10541054
private java.lang.Boolean domainUsersOnly;
10551055

1056+
/**
1057+
* Download restrictions applied by shared drive managers.
1058+
* The value may be {@code null}.
1059+
*/
1060+
@com.google.api.client.util.Key
1061+
private DownloadRestriction downloadRestriction;
1062+
10561063
/**
10571064
* Whether access to items inside this shared drive is restricted to its members.
10581065
* The value may be {@code null}.
@@ -1127,6 +1134,23 @@ public Restrictions setDomainUsersOnly(java.lang.Boolean domainUsersOnly) {
11271134
return this;
11281135
}
11291136

1137+
/**
1138+
* Download restrictions applied by shared drive managers.
1139+
* @return value or {@code null} for none
1140+
*/
1141+
public DownloadRestriction getDownloadRestriction() {
1142+
return downloadRestriction;
1143+
}
1144+
1145+
/**
1146+
* Download restrictions applied by shared drive managers.
1147+
* @param downloadRestriction downloadRestriction or {@code null} for none
1148+
*/
1149+
public Restrictions setDownloadRestriction(DownloadRestriction downloadRestriction) {
1150+
this.downloadRestriction = downloadRestriction;
1151+
return this;
1152+
}
1153+
11301154
/**
11311155
* Whether access to items inside this shared drive is restricted to its members.
11321156
* @return value or {@code null} for none

clients/google-api-services-drive/v3/2.0.0/com/google/api/services/drive/model/Permission.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,8 @@ public static final class PermissionDetails extends com.google.api.client.json.G
537537

538538
/**
539539
* Output only. The primary role for this user. While new values may be added in the future, the
540-
* following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` *
541-
* `reader`
540+
* following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` *
541+
* `commenter` * `reader`
542542
* The value may be {@code null}.
543543
*/
544544
@com.google.api.client.util.Key
@@ -603,8 +603,8 @@ public PermissionDetails setPermissionType(java.lang.String permissionType) {
603603

604604
/**
605605
* Output only. The primary role for this user. While new values may be added in the future, the
606-
* following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` *
607-
* `reader`
606+
* following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` *
607+
* `commenter` * `reader`
608608
* @return value or {@code null} for none
609609
*/
610610
public java.lang.String getRole() {
@@ -613,8 +613,8 @@ public java.lang.String getRole() {
613613

614614
/**
615615
* Output only. The primary role for this user. While new values may be added in the future, the
616-
* following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` *
617-
* `reader`
616+
* following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` *
617+
* `commenter` * `reader`
618618
* @param role role or {@code null} for none
619619
*/
620620
public PermissionDetails setRole(java.lang.String role) {

clients/google-api-services-drive/v3/2.0.0/com/google/api/services/drive/model/TeamDrive.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,6 +1032,13 @@ public static final class Restrictions extends com.google.api.client.json.Generi
10321032
@com.google.api.client.util.Key
10331033
private java.lang.Boolean domainUsersOnly;
10341034

1035+
/**
1036+
* Download restrictions applied by shared drive managers.
1037+
* The value may be {@code null}.
1038+
*/
1039+
@com.google.api.client.util.Key
1040+
private DownloadRestriction downloadRestriction;
1041+
10351042
/**
10361043
* If true, only users with the organizer role can share folders. If false, users with either the
10371044
* organizer role or the file organizer role can share folders.
@@ -1106,6 +1113,23 @@ public Restrictions setDomainUsersOnly(java.lang.Boolean domainUsersOnly) {
11061113
return this;
11071114
}
11081115

1116+
/**
1117+
* Download restrictions applied by shared drive managers.
1118+
* @return value or {@code null} for none
1119+
*/
1120+
public DownloadRestriction getDownloadRestriction() {
1121+
return downloadRestriction;
1122+
}
1123+
1124+
/**
1125+
* Download restrictions applied by shared drive managers.
1126+
* @param downloadRestriction downloadRestriction or {@code null} for none
1127+
*/
1128+
public Restrictions setDownloadRestriction(DownloadRestriction downloadRestriction) {
1129+
this.downloadRestriction = downloadRestriction;
1130+
return this;
1131+
}
1132+
11091133
/**
11101134
* If true, only users with the organizer role can share folders. If false, users with either the
11111135
* organizer role or the file organizer role can share folders.

clients/google-api-services-drive/v3/2.0.0/pom.xml

Lines changed: 3 additions & 3 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-drive</artifactId>
11-
<version>v3-rev20250216-2.0.0</version>
12-
<name>Google Drive API v3-rev20250216-2.0.0</name>
11+
<version>v3-rev20250220-2.0.0</version>
12+
<name>Google Drive API v3-rev20250220-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Google Drive API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.46.3/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.38.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>

clients/google-api-services-drive/v3/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-drive</artifactId>
25-
<version>v3-rev20250216-2.0.0</version>
25+
<version>v3-rev20250220-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-drive:v3-rev20250216-2.0.0'
38+
implementation 'com.google.apis:google-api-services-drive:v3-rev20250220-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)