Skip to content

Commit 7265248

Browse files
1 parent 936a1a5 commit 7265248

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

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

clients/google-api-services-drive/v2/2.0.0/com/google/api/services/drive/model/About.java

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ public final class About extends com.google.api.client.json.GenericJson {
5858
private java.lang.Boolean canCreateTeamDrives;
5959

6060
/**
61-
* The domain sharing policy for the current user. Possible values are: * `allowed` *
62-
* `allowedWithWarning` * `incomingOnly` * `disallowed`
61+
* Deprecated: Does not granularly represent allowlisted domains or Trust Rules. The domain
62+
* sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` *
63+
* `incomingOnly` * `disallowed` Note that if the user is enrolled in Trust Rules, `disallowed`
64+
* will always be returned. If sharing is restricted to allowlisted domains, either `incomingOnly`
65+
* or `allowedWithWarning` will be returned, depending on whether receiving files from outside the
66+
* allowlisted domains is permitted.
6367
* The value may be {@code null}.
6468
*/
6569
@com.google.api.client.util.Key
@@ -330,17 +334,25 @@ public About setCanCreateTeamDrives(java.lang.Boolean canCreateTeamDrives) {
330334
}
331335

332336
/**
333-
* The domain sharing policy for the current user. Possible values are: * `allowed` *
334-
* `allowedWithWarning` * `incomingOnly` * `disallowed`
337+
* Deprecated: Does not granularly represent allowlisted domains or Trust Rules. The domain
338+
* sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` *
339+
* `incomingOnly` * `disallowed` Note that if the user is enrolled in Trust Rules, `disallowed`
340+
* will always be returned. If sharing is restricted to allowlisted domains, either `incomingOnly`
341+
* or `allowedWithWarning` will be returned, depending on whether receiving files from outside the
342+
* allowlisted domains is permitted.
335343
* @return value or {@code null} for none
336344
*/
337345
public java.lang.String getDomainSharingPolicy() {
338346
return domainSharingPolicy;
339347
}
340348

341349
/**
342-
* The domain sharing policy for the current user. Possible values are: * `allowed` *
343-
* `allowedWithWarning` * `incomingOnly` * `disallowed`
350+
* Deprecated: Does not granularly represent allowlisted domains or Trust Rules. The domain
351+
* sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` *
352+
* `incomingOnly` * `disallowed` Note that if the user is enrolled in Trust Rules, `disallowed`
353+
* will always be returned. If sharing is restricted to allowlisted domains, either `incomingOnly`
354+
* or `allowedWithWarning` will be returned, depending on whether receiving files from outside the
355+
* allowlisted domains is permitted.
344356
* @param domainSharingPolicy domainSharingPolicy or {@code null} for none
345357
*/
346358
public About setDomainSharingPolicy(java.lang.String domainSharingPolicy) {

clients/google-api-services-drive/v2/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-drive</artifactId>
11-
<version>v2-rev20260305-2.0.0</version>
12-
<name>Google Drive API v2-rev20260305-2.0.0</name>
11+
<version>v2-rev20260318-2.0.0</version>
12+
<name>Google Drive API v2-rev20260318-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)