Skip to content

Commit 64ee1cb

Browse files
feat(vault): update the api
#### vault:v1 The following keys were added: - schemas.DriveDocumentIds (Total Keys: 4) - schemas.DriveDocumentInfo (Total Keys: 3) - schemas.Query.properties.driveDocumentInfo.$ref (Total Keys: 1)
1 parent 8d92a32 commit 64ee1cb

File tree

4 files changed

+103
-5
lines changed

4 files changed

+103
-5
lines changed

docs/dyn/vault_v1.matters.exports.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,13 @@ <h3>Method Details</h3>
173173
},
174174
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
175175
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
176+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
177+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
178+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
179+
&quot;A String&quot;,
180+
],
181+
},
182+
},
176183
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
177184
&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.
178185
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
@@ -309,6 +316,13 @@ <h3>Method Details</h3>
309316
},
310317
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
311318
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
319+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
320+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
321+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
322+
&quot;A String&quot;,
323+
],
324+
},
325+
},
312326
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
313327
&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.
314328
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
@@ -472,6 +486,13 @@ <h3>Method Details</h3>
472486
},
473487
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
474488
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
489+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
490+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
491+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
492+
&quot;A String&quot;,
493+
],
494+
},
495+
},
475496
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
476497
&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.
477498
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
@@ -619,6 +640,13 @@ <h3>Method Details</h3>
619640
},
620641
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
621642
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
643+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
644+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
645+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
646+
&quot;A String&quot;,
647+
],
648+
},
649+
},
622650
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
623651
&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.
624652
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.

docs/dyn/vault_v1.matters.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,13 @@ <h3>Method Details</h3>
228228
},
229229
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
230230
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
231+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
232+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
233+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
234+
&quot;A String&quot;,
235+
],
236+
},
237+
},
231238
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
232239
&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.
233240
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.

docs/dyn/vault_v1.matters.savedQueries.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ <h3>Method Details</h3>
134134
},
135135
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
136136
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
137+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
138+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
139+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
140+
&quot;A String&quot;,
141+
],
142+
},
143+
},
137144
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
138145
&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.
139146
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
@@ -222,6 +229,13 @@ <h3>Method Details</h3>
222229
},
223230
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
224231
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
232+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
233+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
234+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
235+
&quot;A String&quot;,
236+
],
237+
},
238+
},
225239
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
226240
&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.
227241
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
@@ -337,6 +351,13 @@ <h3>Method Details</h3>
337351
},
338352
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
339353
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
354+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
355+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
356+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
357+
&quot;A String&quot;,
358+
],
359+
},
360+
},
340361
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
341362
&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.
342363
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.
@@ -437,6 +458,13 @@ <h3>Method Details</h3>
437458
},
438459
&quot;corpus&quot;: &quot;A String&quot;, # The Google Workspace service to search.
439460
&quot;dataScope&quot;: &quot;A String&quot;, # The data source to search.
461+
&quot;driveDocumentInfo&quot;: { # The Drive documents to search. # Required when **SearchMethod** is **DRIVE_DOCUMENT**.
462+
&quot;documentIds&quot;: { # Specify Drive documents by document ID. # Specify Drive documents by document ID.
463+
&quot;ids&quot;: [ # Required. A list of Drive document IDs.
464+
&quot;A String&quot;,
465+
],
466+
},
467+
},
440468
&quot;driveOptions&quot;: { # Additional options for Drive search. # Set Drive search-specific options.
441469
&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.
442470
&quot;includeSharedDrives&quot;: True or False, # Set to **true** to include shared drives.

googleapiclient/discovery_cache/documents/vault.v1.json

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,7 @@
12031203
}
12041204
}
12051205
},
1206-
"revision": "20250130",
1206+
"revision": "20250212",
12071207
"rootUrl": "https://vault.googleapis.com/",
12081208
"schemas": {
12091209
"AccountCount": {
@@ -1577,6 +1577,31 @@
15771577
},
15781578
"type": "object"
15791579
},
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+
},
15801605
"DriveExportOptions": {
15811606
"description": "Options for Drive exports.",
15821607
"id": "DriveExportOptions",
@@ -2505,6 +2530,10 @@
25052530
],
25062531
"type": "string"
25072532
},
2533+
"driveDocumentInfo": {
2534+
"$ref": "DriveDocumentInfo",
2535+
"description": "Required when **SearchMethod** is **DRIVE_DOCUMENT**."
2536+
},
25082537
"driveOptions": {
25092538
"$ref": "DriveOptions",
25102539
"description": "Set Drive search-specific options."
@@ -2540,7 +2569,8 @@
25402569
"ENTIRE_ORG",
25412570
"ROOM",
25422571
"SITES_URL",
2543-
"SHARED_DRIVE"
2572+
"SHARED_DRIVE",
2573+
"DRIVE_DOCUMENT"
25442574
],
25452575
"enumDeprecated": [
25462576
false,
@@ -2550,6 +2580,7 @@ true,
25502580
false,
25512581
false,
25522582
false,
2583+
false,
25532584
false
25542585
],
25552586
"enumDescriptions": [
@@ -2560,7 +2591,8 @@ false
25602591
"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.",
25612592
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/vault/reference/rest/v1/Query#hangoutschatinfo).",
25622593
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/vault/reference/rest/v1/Query#sitesurlinfo).",
2563-
"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."
25642596
],
25652597
"type": "string"
25662598
},
@@ -2579,7 +2611,8 @@ false
25792611
"ENTIRE_ORG",
25802612
"ROOM",
25812613
"SITES_URL",
2582-
"SHARED_DRIVE"
2614+
"SHARED_DRIVE",
2615+
"DRIVE_DOCUMENT"
25832616
],
25842617
"enumDeprecated": [
25852618
false,
@@ -2589,6 +2622,7 @@ true,
25892622
false,
25902623
false,
25912624
false,
2625+
false,
25922626
false
25932627
],
25942628
"enumDescriptions": [
@@ -2599,7 +2633,8 @@ false
25992633
"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.",
26002634
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/vault/reference/rest/v1/Query#hangoutschatinfo).",
26012635
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/vault/reference/rest/v1/Query#sitesurlinfo).",
2602-
"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."
26032638
],
26042639
"type": "string"
26052640
},

0 commit comments

Comments
 (0)