Skip to content

Commit 0743db7

Browse files
feat(vault): update the API
#### vault:v1 The following keys were added: - schemas.DriveOptions.properties.includeSharedDrives.deprecated - schemas.DriveOptions.properties.sharedDrivesOption.description - schemas.DriveOptions.properties.sharedDrivesOption.enum - schemas.DriveOptions.properties.sharedDrivesOption.enumDescriptions - schemas.DriveOptions.properties.sharedDrivesOption.type
1 parent daa1817 commit 0743db7

File tree

2 files changed

+1865
-1
lines changed

2 files changed

+1865
-1
lines changed

discovery/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": "20250616",
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+
"Shared drive resources are only included in instances where the account is a collaborator on a resource but they are not a member of the shared drive. This maps to the *\"Included only if documents shared directly (not due to shared drive membership)\"* option in the Vault UI. (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)