Skip to content

Commit 253143c

Browse files
feat(vault): update the api
#### vault:v1 The following keys were added: - schemas.DriveOptions.properties.includeSharedDrives.deprecated (Total Keys: 1) - schemas.DriveOptions.properties.sharedDrivesOption.type (Total Keys: 1)
1 parent 3c0344e commit 253143c

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

docs/dyn/vault_v1.matters.exports.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ <h3>Method Details</h3>
184184
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
185185
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
186186
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
187+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
187188
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
188189
},
189190
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
@@ -327,6 +328,7 @@ <h3>Method Details</h3>
327328
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
328329
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
329330
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
331+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
330332
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
331333
},
332334
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
@@ -497,6 +499,7 @@ <h3>Method Details</h3>
497499
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
498500
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
499501
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
502+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
500503
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
501504
},
502505
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
@@ -651,6 +654,7 @@ <h3>Method Details</h3>
651654
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
652655
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
653656
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
657+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
654658
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
655659
},
656660
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.

docs/dyn/vault_v1.matters.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ <h3>Method Details</h3>
239239
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
240240
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
241241
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
242+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
242243
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
243244
},
244245
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.

docs/dyn/vault_v1.matters.savedQueries.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ <h3>Method Details</h3>
145145
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
146146
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
147147
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
148+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
148149
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
149150
},
150151
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
@@ -240,6 +241,7 @@ <h3>Method Details</h3>
240241
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
241242
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
242243
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
244+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
243245
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
244246
},
245247
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
@@ -362,6 +364,7 @@ <h3>Method Details</h3>
362364
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
363365
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
364366
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
367+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
365368
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
366369
},
367370
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.
@@ -469,6 +472,7 @@ <h3>Method Details</h3>
469472
&quot;clientSideEncryptedOption&quot;: &quot;A String&quot;, # Set whether the results include only content encrypted with [Google Workspace Client-side encryption](https://support.google.com/a?p=cse_ov) content, only unencrypted content, or both. Defaults to both. Currently supported for Drive.
470473
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
471474
&quot;includeTeamDrives&quot;: True or False, # Set to true to include Team Drive.
475+
&quot;sharedDrivesOption&quot;: &quot;A String&quot;, # Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.
472476
&quot;versionDate&quot;: &quot;A String&quot;, # Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.
473477
},
474478
&quot;endTime&quot;: &quot;A String&quot;, # The end time for the search query. Specify in GMT. The value is rounded to 12 AM on the specified date.

googleapiclient/discovery_cache/documents/vault.v1.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@
12031203
}
12041204
}
12051205
},
1206-
"revision": "20250331",
1206+
"revision": "20250527",
12071207
"rootUrl": "https://vault.googleapis.com/",
12081208
"schemas": {
12091209
"AccountCount": {
@@ -1634,6 +1634,7 @@
16341634
"type": "string"
16351635
},
16361636
"includeSharedDrives": {
1637+
"deprecated": true,
16371638
"description": "Set to **true** to include shared drives.",
16381639
"type": "boolean"
16391640
},
@@ -1642,6 +1643,22 @@
16421643
"description": "Set to true to include Team Drive.",
16431644
"type": "boolean"
16441645
},
1646+
"sharedDrivesOption": {
1647+
"description": "Optional. Options to include or exclude documents in shared drives. We recommend using this field over include_shared_drives. This field overrides include_shared_drives and include_team_drives when set.",
1648+
"enum": [
1649+
"SHARED_DRIVES_OPTION_UNSPECIFIED",
1650+
"NOT_INCLUDED",
1651+
"INCLUDED_IF_ACCOUNT_IS_NOT_A_MEMBER",
1652+
"INCLUDED"
1653+
],
1654+
"enumDescriptions": [
1655+
"No shared drive option specified.",
1656+
"If a resource is in a shared drive, it isn't included in the search.",
1657+
"(Previously \"include_shared_drives\" off)",
1658+
"Resources in shared drives are included in the search. (Previously \"include_shared_drives\" on)"
1659+
],
1660+
"type": "string"
1661+
},
16451662
"versionDate": {
16461663
"description": "Search the current version of the Drive file, but export the contents of the last version saved before 12:00 AM UTC on the specified date. Enter the date in UTC.",
16471664
"format": "google-datetime",

0 commit comments

Comments
 (0)