Skip to content

Commit fd090f0

Browse files
feat(vault)!: update the API
BREAKING CHANGE: This release has breaking changes. #### vault:v1 The following keys were deleted: - schemas.DriveOptions.properties.includeSharedDrives.deprecated The following keys were changed: - documentationLink - resources.matters.methods.get.parameters.view.enumDescriptions - resources.matters.methods.list.parameters.view.enumDescriptions - schemas.HangoutsChatInfo.properties.roomId.description - schemas.Query.properties.method.enumDescriptions - schemas.Query.properties.searchMethod.enumDescriptions
1 parent b3ec4cc commit fd090f0

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

‎discovery/vault-v1.json

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"canonicalName": "Vault",
1818
"description": "Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them. ",
1919
"discoveryVersion": "v1",
20-
"documentationLink": "https://developers.google.com/vault",
20+
"documentationLink": "https://developers.google.com/workspace/vault",
2121
"fullyEncodeReservedExpansion": true,
2222
"icons": {
2323
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -258,7 +258,7 @@
258258
"enumDescriptions": [
259259
"The amount of detail is unspecified. Same as **BASIC**.",
260260
"Returns the matter ID, name, description, and state. Default choice.",
261-
"Returns the basic details and a list of matter owners and collaborators (see [MatterPermissions](https://developers.google.com/vault/reference/rest/v1/matters#matterpermission))."
261+
"Returns the basic details and a list of matter owners and collaborators (see [MatterPermissions](https://developers.google.com/workspace/vault/reference/rest/v1/matters#matterpermission))."
262262
],
263263
"location": "query",
264264
"type": "string"
@@ -318,7 +318,7 @@
318318
"enumDescriptions": [
319319
"The amount of detail is unspecified. Same as **BASIC**.",
320320
"Returns the matter ID, name, description, and state. Default choice.",
321-
"Returns the basic details and a list of matter owners and collaborators (see [MatterPermissions](https://developers.google.com/vault/reference/rest/v1/matters#matterpermission))."
321+
"Returns the basic details and a list of matter owners and collaborators (see [MatterPermissions](https://developers.google.com/workspace/vault/reference/rest/v1/matters#matterpermission))."
322322
],
323323
"location": "query",
324324
"type": "string"
@@ -1203,7 +1203,7 @@
12031203
}
12041204
}
12051205
},
1206-
"revision": "20250212",
1206+
"revision": "20250331",
12071207
"rootUrl": "https://vault.googleapis.com/",
12081208
"schemas": {
12091209
"AccountCount": {
@@ -1634,7 +1634,6 @@
16341634
"type": "string"
16351635
},
16361636
"includeSharedDrives": {
1637-
"deprecated": true,
16381637
"description": "Set to **true** to include shared drives.",
16391638
"type": "boolean"
16401639
},
@@ -1919,7 +1918,7 @@
19191918
"id": "HangoutsChatInfo",
19201919
"properties": {
19211920
"roomId": {
1922-
"description": "A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/chat). There is a limit of exporting from 500 Chat spaces per request.",
1921+
"description": "A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.",
19231922
"items": {
19241923
"type": "string"
19251924
},
@@ -2585,13 +2584,13 @@
25852584
],
25862585
"enumDescriptions": [
25872586
"A search method must be specified or else it is rejected.",
2588-
"Search the data of the accounts specified in [AccountInfo](https://developers.google.com/vault/reference/rest/v1/Query#accountinfo).",
2589-
"Search the data of all accounts in the organizational unit specified in [OrgUnitInfo](https://developers.google.com/vault/reference/rest/v1/Query#orgunitinfo).",
2587+
"Search the data of the accounts specified in [AccountInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#accountinfo).",
2588+
"Search the data of all accounts in the organizational unit specified in [OrgUnitInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#orgunitinfo).",
25902589
"Search the data in the Team Drive specified in **team_drive_info**.",
25912590
"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.",
2592-
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/vault/reference/rest/v1/Query#hangoutschatinfo).",
2593-
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/vault/reference/rest/v1/Query#sitesurlinfo).",
2594-
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/vault/reference/rest/v1/Query#shareddriveinfo).",
2591+
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#hangoutschatinfo).",
2592+
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#sitesurlinfo).",
2593+
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#shareddriveinfo).",
25952594
"Retrieve the documents specified in DriveDocumentInfo."
25962595
],
25972596
"type": "string"
@@ -2627,13 +2626,13 @@
26272626
],
26282627
"enumDescriptions": [
26292628
"A search method must be specified or else it is rejected.",
2630-
"Search the data of the accounts specified in [AccountInfo](https://developers.google.com/vault/reference/rest/v1/Query#accountinfo).",
2631-
"Search the data of all accounts in the organizational unit specified in [OrgUnitInfo](https://developers.google.com/vault/reference/rest/v1/Query#orgunitinfo).",
2629+
"Search the data of the accounts specified in [AccountInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#accountinfo).",
2630+
"Search the data of all accounts in the organizational unit specified in [OrgUnitInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#orgunitinfo).",
26322631
"Search the data in the Team Drive specified in **team_drive_info**.",
26332632
"Search the data of all accounts in the organization. Supported only for Gmail. When specified, you don't need to specify **AccountInfo** or **OrgUnitInfo**.",
2634-
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/vault/reference/rest/v1/Query#hangoutschatinfo).",
2635-
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/vault/reference/rest/v1/Query#sitesurlinfo).",
2636-
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/vault/reference/rest/v1/Query#shareddriveinfo).",
2633+
"Search messages in the Chat spaces specified in [HangoutsChatInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#hangoutschatinfo).",
2634+
"Search for sites by the published site URLs specified in [SitesUrlInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#sitesurlinfo).",
2635+
"Search the files in the shared drives specified in [SharedDriveInfo](https://developers.google.com/workspace/vault/reference/rest/v1/Query#shareddriveinfo).",
26372636
"Retrieve the documents specified in DriveDocumentInfo."
26382637
],
26392638
"type": "string"

‎src/apis/vault/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ export namespace vault_v1 {
590590
*/
591591
export interface Schema$HangoutsChatInfo {
592592
/**
593-
* A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/chat). There is a limit of exporting from 500 Chat spaces per request.
593+
* A list of Chat spaces IDs, as provided by the [Chat API](https://developers.google.com/workspace/chat). There is a limit of exporting from 500 Chat spaces per request.
594594
*/
595595
roomId?: string[] | null;
596596
}

0 commit comments

Comments
 (0)