Skip to content

Commit 27acf91

Browse files
feat(vault): update the API
#### vault:v1 The following keys were added: - schemas.DriveDocumentIds.description - schemas.DriveDocumentIds.id - schemas.DriveDocumentIds.properties.ids.description - schemas.DriveDocumentIds.properties.ids.items.type - schemas.DriveDocumentIds.properties.ids.type - schemas.DriveDocumentIds.type - schemas.DriveDocumentInfo.description - schemas.DriveDocumentInfo.id - schemas.DriveDocumentInfo.properties.documentIds.$ref - schemas.DriveDocumentInfo.properties.documentIds.description - schemas.DriveDocumentInfo.type - schemas.DriveOptions.properties.includeSharedDrives.deprecated - schemas.ExportOptions.properties.geminiOptions.$ref - schemas.ExportOptions.properties.geminiOptions.description - schemas.GeminiExportOptions.description - schemas.GeminiExportOptions.id - schemas.GeminiExportOptions.properties.exportFormat.description - schemas.GeminiExportOptions.properties.exportFormat.enum - schemas.GeminiExportOptions.properties.exportFormat.enumDescriptions - schemas.GeminiExportOptions.properties.exportFormat.type - schemas.GeminiExportOptions.type - schemas.GeminiOptions.description - schemas.GeminiOptions.id - schemas.GeminiOptions.type - schemas.Query.properties.driveDocumentInfo.$ref - schemas.Query.properties.driveDocumentInfo.description - schemas.Query.properties.geminiOptions.$ref - schemas.Query.properties.geminiOptions.description The following keys were changed: - schemas.CalendarExportOptions.properties.exportFormat.enum - schemas.CalendarExportOptions.properties.exportFormat.enumDescriptions - schemas.DriveOptions.description - schemas.GroupsExportOptions.properties.exportFormat.enum - schemas.GroupsExportOptions.properties.exportFormat.enumDescriptions - schemas.HangoutsChatExportOptions.properties.exportFormat.enum - schemas.HangoutsChatExportOptions.properties.exportFormat.enumDescriptions - schemas.Hold.properties.corpus.enum - schemas.Hold.properties.corpus.enumDescriptions - schemas.MailExportOptions.properties.exportFormat.enum - schemas.MailExportOptions.properties.exportFormat.enumDescriptions - schemas.Query.properties.corpus.enum - schemas.Query.properties.corpus.enumDescriptions - schemas.Query.properties.method.enum - schemas.Query.properties.method.enumDeprecated - schemas.Query.properties.method.enumDescriptions - schemas.Query.properties.searchMethod.enum - schemas.Query.properties.searchMethod.enumDeprecated - schemas.Query.properties.searchMethod.enumDescriptions - schemas.VoiceExportOptions.properties.exportFormat.enum - schemas.VoiceExportOptions.properties.exportFormat.enumDescriptions
1 parent 8e97ed6 commit 27acf91

File tree

2 files changed

+153
-21
lines changed

2 files changed

+153
-21
lines changed

discovery/vault-v1.json

Lines changed: 109 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@
12031203
}
12041204
}
12051205
},
1206-
"revision": "20241121",
1206+
"revision": "20250212",
12071207
"rootUrl": "https://vault.googleapis.com/",
12081208
"schemas": {
12091209
"AccountCount": {
@@ -1346,13 +1346,15 @@
13461346
"EXPORT_FORMAT_UNSPECIFIED",
13471347
"MBOX",
13481348
"PST",
1349-
"ICS"
1349+
"ICS",
1350+
"XML"
13501351
],
13511352
"enumDescriptions": [
13521353
"No export format specified.",
13531354
"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.",
13541355
"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.",
1355-
"Export as ICS. Only available for Calendar."
1356+
"Export as ICS. Only available for Calendar.",
1357+
"Export as XML. Only available for Gemini."
13561358
],
13571359
"type": "string"
13581360
}
@@ -1575,6 +1577,31 @@
15751577
},
15761578
"type": "object"
15771579
},
1580+
"DriveDocumentIds": {
1581+
"description": "Specify Drive documents by document ID.",
1582+
"id": "DriveDocumentIds",
1583+
"properties": {
1584+
"ids": {
1585+
"description": "Required. A list of Drive document IDs.",
1586+
"items": {
1587+
"type": "string"
1588+
},
1589+
"type": "array"
1590+
}
1591+
},
1592+
"type": "object"
1593+
},
1594+
"DriveDocumentInfo": {
1595+
"description": "The Drive documents to search.",
1596+
"id": "DriveDocumentInfo",
1597+
"properties": {
1598+
"documentIds": {
1599+
"$ref": "DriveDocumentIds",
1600+
"description": "Specify Drive documents by document ID."
1601+
}
1602+
},
1603+
"type": "object"
1604+
},
15781605
"DriveExportOptions": {
15791606
"description": "Options for Drive exports.",
15801607
"id": "DriveExportOptions",
@@ -1587,7 +1614,7 @@
15871614
"type": "object"
15881615
},
15891616
"DriveOptions": {
1590-
"description": "Additional options for Drive search",
1617+
"description": "Additional options for Drive search.",
15911618
"id": "DriveOptions",
15921619
"properties": {
15931620
"clientSideEncryptedOption": {
@@ -1607,6 +1634,7 @@
16071634
"type": "string"
16081635
},
16091636
"includeSharedDrives": {
1637+
"deprecated": true,
16101638
"description": "Set to **true** to include shared drives.",
16111639
"type": "boolean"
16121640
},
@@ -1706,6 +1734,10 @@
17061734
"$ref": "DriveExportOptions",
17071735
"description": "Options for Drive exports."
17081736
},
1737+
"geminiOptions": {
1738+
"$ref": "GeminiExportOptions",
1739+
"description": "Option available for Gemini export."
1740+
},
17091741
"groupsOptions": {
17101742
"$ref": "GroupsExportOptions",
17111743
"description": "Options for Groups exports."
@@ -1763,6 +1795,37 @@
17631795
},
17641796
"type": "object"
17651797
},
1798+
"GeminiExportOptions": {
1799+
"description": "The options for Gemini exports.",
1800+
"id": "GeminiExportOptions",
1801+
"properties": {
1802+
"exportFormat": {
1803+
"description": "The file format for exported messages.",
1804+
"enum": [
1805+
"EXPORT_FORMAT_UNSPECIFIED",
1806+
"MBOX",
1807+
"PST",
1808+
"ICS",
1809+
"XML"
1810+
],
1811+
"enumDescriptions": [
1812+
"No export format specified.",
1813+
"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.",
1814+
"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.",
1815+
"Export as ICS. Only available for Calendar.",
1816+
"Export as XML. Only available for Gemini."
1817+
],
1818+
"type": "string"
1819+
}
1820+
},
1821+
"type": "object"
1822+
},
1823+
"GeminiOptions": {
1824+
"description": "Additional options for Gemini search",
1825+
"id": "GeminiOptions",
1826+
"properties": {},
1827+
"type": "object"
1828+
},
17661829
"GroupsCountResult": {
17671830
"description": "Groups specific count metrics.",
17681831
"id": "GroupsCountResult",
@@ -1811,13 +1874,15 @@
18111874
"EXPORT_FORMAT_UNSPECIFIED",
18121875
"MBOX",
18131876
"PST",
1814-
"ICS"
1877+
"ICS",
1878+
"XML"
18151879
],
18161880
"enumDescriptions": [
18171881
"No export format specified.",
18181882
"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.",
18191883
"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.",
1820-
"Export as ICS. Only available for Calendar."
1884+
"Export as ICS. Only available for Calendar.",
1885+
"Export as XML. Only available for Gemini."
18211886
],
18221887
"type": "string"
18231888
}
@@ -1834,13 +1899,15 @@
18341899
"EXPORT_FORMAT_UNSPECIFIED",
18351900
"MBOX",
18361901
"PST",
1837-
"ICS"
1902+
"ICS",
1903+
"XML"
18381904
],
18391905
"enumDescriptions": [
18401906
"No export format specified.",
18411907
"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.",
18421908
"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.",
1843-
"Export as ICS. Only available for Calendar."
1909+
"Export as ICS. Only available for Calendar.",
1910+
"Export as XML. Only available for Gemini."
18441911
],
18451912
"type": "string"
18461913
}
@@ -2037,7 +2104,8 @@
20372104
"GROUPS",
20382105
"HANGOUTS_CHAT",
20392106
"VOICE",
2040-
"CALENDAR"
2107+
"CALENDAR",
2108+
"GEMINI"
20412109
],
20422110
"enumDescriptions": [
20432111
"No service specified.",
@@ -2046,7 +2114,8 @@
20462114
"Groups.",
20472115
"For export, Google Chat only. For holds, Google Chat and classic Hangouts.",
20482116
"Google Voice.",
2049-
"Calendar."
2117+
"Calendar.",
2118+
"Gemini."
20502119
],
20512120
"type": "string"
20522121
},
@@ -2226,13 +2295,15 @@
22262295
"EXPORT_FORMAT_UNSPECIFIED",
22272296
"MBOX",
22282297
"PST",
2229-
"ICS"
2298+
"ICS",
2299+
"XML"
22302300
],
22312301
"enumDescriptions": [
22322302
"No export format specified.",
22332303
"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.",
22342304
"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.",
2235-
"Export as ICS. Only available for Calendar."
2305+
"Export as ICS. Only available for Calendar.",
2306+
"Export as XML. Only available for Gemini."
22362307
],
22372308
"type": "string"
22382309
},
@@ -2428,7 +2499,8 @@
24282499
"GROUPS",
24292500
"HANGOUTS_CHAT",
24302501
"VOICE",
2431-
"CALENDAR"
2502+
"CALENDAR",
2503+
"GEMINI"
24322504
],
24332505
"enumDescriptions": [
24342506
"No service specified.",
@@ -2437,7 +2509,8 @@
24372509
"Groups.",
24382510
"For export, Google Chat only. For holds, Google Chat and classic Hangouts.",
24392511
"Google Voice.",
2440-
"Calendar."
2512+
"Calendar.",
2513+
"Gemini."
24412514
],
24422515
"type": "string"
24432516
},
@@ -2457,6 +2530,10 @@
24572530
],
24582531
"type": "string"
24592532
},
2533+
"driveDocumentInfo": {
2534+
"$ref": "DriveDocumentInfo",
2535+
"description": "Required when **SearchMethod** is **DRIVE_DOCUMENT**."
2536+
},
24602537
"driveOptions": {
24612538
"$ref": "DriveOptions",
24622539
"description": "Set Drive search-specific options."
@@ -2466,6 +2543,10 @@
24662543
"format": "google-datetime",
24672544
"type": "string"
24682545
},
2546+
"geminiOptions": {
2547+
"$ref": "GeminiOptions",
2548+
"description": "Set Gemini search-specific options."
2549+
},
24692550
"hangoutsChatInfo": {
24702551
"$ref": "HangoutsChatInfo",
24712552
"description": "Required when **SearchMethod** is **ROOM**. (read-only)"
@@ -2488,7 +2569,8 @@
24882569
"ENTIRE_ORG",
24892570
"ROOM",
24902571
"SITES_URL",
2491-
"SHARED_DRIVE"
2572+
"SHARED_DRIVE",
2573+
"DRIVE_DOCUMENT"
24922574
],
24932575
"enumDeprecated": [
24942576
false,
@@ -2498,6 +2580,7 @@
24982580
false,
24992581
false,
25002582
false,
2583+
false,
25012584
false
25022585
],
25032586
"enumDescriptions": [
@@ -2508,7 +2591,8 @@
25082591
"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.",
25092592
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/vault/reference/rest/v1/Query#hangoutschatinfo).",
25102593
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/vault/reference/rest/v1/Query#sitesurlinfo).",
2511-
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/vault/reference/rest/v1/Query#shareddriveinfo)."
2594+
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/vault/reference/rest/v1/Query#shareddriveinfo).",
2595+
"Retrieve the documents specified in DriveDocumentInfo."
25122596
],
25132597
"type": "string"
25142598
},
@@ -2527,7 +2611,8 @@
25272611
"ENTIRE_ORG",
25282612
"ROOM",
25292613
"SITES_URL",
2530-
"SHARED_DRIVE"
2614+
"SHARED_DRIVE",
2615+
"DRIVE_DOCUMENT"
25312616
],
25322617
"enumDeprecated": [
25332618
false,
@@ -2537,6 +2622,7 @@
25372622
false,
25382623
false,
25392624
false,
2625+
false,
25402626
false
25412627
],
25422628
"enumDescriptions": [
@@ -2547,7 +2633,8 @@
25472633
"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.",
25482634
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/vault/reference/rest/v1/Query#hangoutschatinfo).",
25492635
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/vault/reference/rest/v1/Query#sitesurlinfo).",
2550-
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/vault/reference/rest/v1/Query#shareddriveinfo)."
2636+
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/vault/reference/rest/v1/Query#shareddriveinfo).",
2637+
"Retrieve the documents specified in DriveDocumentInfo."
25512638
],
25522639
"type": "string"
25532640
},
@@ -2770,13 +2857,15 @@
27702857
"EXPORT_FORMAT_UNSPECIFIED",
27712858
"MBOX",
27722859
"PST",
2773-
"ICS"
2860+
"ICS",
2861+
"XML"
27742862
],
27752863
"enumDescriptions": [
27762864
"No export format specified.",
27772865
"Export as MBOX. Only available for Gmail, Groups, Hangouts and Voice.",
27782866
"Export as PST. Only available for Gmail, Groups, Hangouts, Voice and Calendar.",
2779-
"Export as ICS. Only available for Calendar."
2867+
"Export as ICS. Only available for Calendar.",
2868+
"Export as XML. Only available for Gemini."
27802869
],
27812870
"type": "string"
27822871
}

0 commit comments

Comments
 (0)