| { |
| "documentationLink": "https://developers.google.com/vault", |
| "canonicalName": "Vault", |
| "auth": { |
| "oauth2": { |
| "scopes": { |
| "https://www.googleapis.com/auth/ediscovery.readonly": { |
| "description": "View your eDiscovery data" |
| }, |
| "https://www.googleapis.com/auth/ediscovery": { |
| "description": "Manage your eDiscovery data" |
| } |
| } |
| } |
| }, |
| "baseUrl": "https://vault.googleapis.com/", |
| "parameters": { |
| "oauth_token": { |
| "type": "string", |
| "location": "query", |
| "description": "OAuth 2.0 token for the current user." |
| }, |
| "prettyPrint": { |
| "type": "boolean", |
| "default": "true", |
| "location": "query", |
| "description": "Returns response with indentations and line breaks." |
| }, |
| "alt": { |
| "type": "string", |
| "enum": [ |
| "json", |
| "media", |
| "proto" |
| ], |
| "enumDescriptions": [ |
| "Responses with Content-Type of application/json", |
| "Media download with context-dependent Content-Type", |
| "Responses with Content-Type of application/x-protobuf" |
| ], |
| "location": "query", |
| "description": "Data format for response.", |
| "default": "json" |
| }, |
| "quotaUser": { |
| "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| "type": "string", |
| "location": "query" |
| }, |
| "access_token": { |
| "description": "OAuth access token.", |
| "type": "string", |
| "location": "query" |
| }, |
| "$.xgafv": { |
| "enumDescriptions": [ |
| "v1 error format", |
| "v2 error format" |
| ], |
| "type": "string", |
| "description": "V1 error format.", |
| "enum": [ |
| "1", |
| "2" |
| ], |
| "location": "query" |
| }, |
| "upload_protocol": { |
| "location": "query", |
| "type": "string", |
| "description": "Upload protocol for media (e.g. \"raw\", \"multipart\")." |
| }, |
| "callback": { |
| "type": "string", |
| "description": "JSONP", |
| "location": "query" |
| }, |
| "key": { |
| "location": "query", |
| "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| "type": "string" |
| }, |
| "fields": { |
| "location": "query", |
| "description": "Selector specifying which fields to include in a partial response.", |
| "type": "string" |
| }, |
| "uploadType": { |
| "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| "location": "query", |
| "type": "string" |
| } |
| }, |
| "servicePath": "", |
| "schemas": { |
| "Empty": { |
| "type": "object", |
| "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.", |
| "id": "Empty", |
| "properties": {} |
| }, |
| "ListExportsResponse": { |
| "description": "The holds for a matter.", |
| "properties": { |
| "exports": { |
| "description": "The list of exports.", |
| "type": "array", |
| "items": { |
| "$ref": "Export" |
| } |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "Page token to retrieve the next page of results in the list." |
| } |
| }, |
| "id": "ListExportsResponse", |
| "type": "object" |
| }, |
| "ListSavedQueriesResponse": { |
| "properties": { |
| "savedQueries": { |
| "description": "List of output saved queries.", |
| "type": "array", |
| "items": { |
| "$ref": "SavedQuery" |
| } |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "Page token to retrieve the next page of results in the list. If this is empty, then there are no more saved queries to list." |
| } |
| }, |
| "id": "ListSavedQueriesResponse", |
| "description": "Definition of the response for method ListSaveQuery.", |
| "type": "object" |
| }, |
| "MatterPermission": { |
| "properties": { |
| "role": { |
| "enum": [ |
| "ROLE_UNSPECIFIED", |
| "COLLABORATOR", |
| "OWNER" |
| ], |
| "description": "The user's role in this matter.", |
| "type": "string", |
| "enumDescriptions": [ |
| "No role assigned.", |
| "A collaborator to the matter.", |
| "The owner of the matter." |
| ] |
| }, |
| "accountId": { |
| "description": "The account ID, as provided by Admin SDK.", |
| "type": "string" |
| } |
| }, |
| "description": "Currently each matter only has one owner, and all others are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.", |
| "id": "MatterPermission", |
| "type": "object" |
| }, |
| "CloseMatterRequest": { |
| "id": "CloseMatterRequest", |
| "description": "Close a matter by ID.", |
| "type": "object", |
| "properties": {} |
| }, |
| "HeldOrgUnit": { |
| "properties": { |
| "orgUnitId": { |
| "description": "The org unit's immutable ID as provided by the Admin SDK.", |
| "type": "string" |
| }, |
| "holdTime": { |
| "type": "string", |
| "format": "google-datetime", |
| "description": "When the org unit was put on hold. This property is immutable." |
| } |
| }, |
| "type": "object", |
| "description": "A organizational unit being held in a particular hold. This structure is immutable.", |
| "id": "HeldOrgUnit" |
| }, |
| "AccountInfo": { |
| "description": "Accounts to search", |
| "properties": { |
| "emails": { |
| "type": "array", |
| "description": "A set of accounts to search.", |
| "items": { |
| "type": "string" |
| } |
| } |
| }, |
| "id": "AccountInfo", |
| "type": "object" |
| }, |
| "ExportOptions": { |
| "type": "object", |
| "properties": { |
| "mailOptions": { |
| "$ref": "MailExportOptions", |
| "description": "Option available for mail export." |
| }, |
| "groupsOptions": { |
| "$ref": "GroupsExportOptions", |
| "description": "Option available for groups export." |
| }, |
| "voiceOptions": { |
| "description": "Option available for voice export.", |
| "$ref": "VoiceExportOptions" |
| }, |
| "hangoutsChatOptions": { |
| "$ref": "HangoutsChatExportOptions", |
| "description": "Option available for hangouts chat export." |
| }, |
| "driveOptions": { |
| "description": "Option available for Drive export.", |
| "$ref": "DriveExportOptions" |
| }, |
| "region": { |
| "description": "The requested export location.", |
| "enumDescriptions": [ |
| "The region is unspecified. Will be treated the same as ANY.", |
| "Any region.", |
| "US region.", |
| "Europe region." |
| ], |
| "enum": [ |
| "EXPORT_REGION_UNSPECIFIED", |
| "ANY", |
| "US", |
| "EUROPE" |
| ], |
| "type": "string" |
| } |
| }, |
| "id": "ExportOptions", |
| "description": "Export advanced options" |
| }, |
| "RemoveHeldAccountsRequest": { |
| "description": "Remove a list of accounts from a hold.", |
| "type": "object", |
| "id": "RemoveHeldAccountsRequest", |
| "properties": { |
| "accountIds": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "Account IDs to identify HeldAccounts to remove." |
| } |
| } |
| }, |
| "MailExportOptions": { |
| "type": "object", |
| "description": "The options for mail export.", |
| "id": "MailExportOptions", |
| "properties": { |
| "showConfidentialModeContent": { |
| "type": "boolean", |
| "description": "Set to true to export confidential mode content." |
| }, |
| "exportFormat": { |
| "enum": [ |
| "EXPORT_FORMAT_UNSPECIFIED", |
| "MBOX", |
| "PST" |
| ], |
| "type": "string", |
| "enumDescriptions": [ |
| "No export format specified.", |
| "MBOX as export format.", |
| "PST as export format" |
| ], |
| "description": "The export file format." |
| } |
| } |
| }, |
| "HeldAccount": { |
| "properties": { |
| "holdTime": { |
| "description": "Output only. When the account was put on hold.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "accountId": { |
| "description": "The account's ID as provided by the Admin SDK.", |
| "type": "string" |
| }, |
| "firstName": { |
| "type": "string", |
| "description": "Output only. The first name of the account holder." |
| }, |
| "lastName": { |
| "type": "string", |
| "description": "Output only. The last name of the account holder." |
| }, |
| "email": { |
| "type": "string", |
| "description": "The primary email address of the account. If used as an input, this takes precedence over account ID." |
| } |
| }, |
| "id": "HeldAccount", |
| "description": "An account being held in a particular hold. This structure is immutable. This can be either a single user or a google group, depending on the corpus.", |
| "type": "object" |
| }, |
| "CloudStorageSink": { |
| "properties": { |
| "files": { |
| "description": "Output only. The exported files on cloud storage.", |
| "type": "array", |
| "items": { |
| "$ref": "CloudStorageFile" |
| } |
| } |
| }, |
| "id": "CloudStorageSink", |
| "type": "object", |
| "description": "Export sink for cloud storage files." |
| }, |
| "VoiceOptions": { |
| "description": "Voice search options", |
| "properties": { |
| "coveredData": { |
| "items": { |
| "enumDescriptions": [ |
| "Covered data unspecified.", |
| "Voice text message will be covered.", |
| "Voicemail will be covered.", |
| "Call logs will be covered." |
| ], |
| "type": "string", |
| "enum": [ |
| "COVERED_DATA_UNSPECIFIED", |
| "TEXT_MESSAGES", |
| "VOICEMAILS", |
| "CALL_LOGS" |
| ] |
| }, |
| "type": "array", |
| "description": "Datatypes to search" |
| } |
| }, |
| "id": "VoiceOptions", |
| "type": "object" |
| }, |
| "MailCountResult": { |
| "type": "object", |
| "properties": { |
| "accountCountErrors": { |
| "description": "Error occurred when querying these accounts.", |
| "type": "array", |
| "items": { |
| "$ref": "AccountCountError" |
| } |
| }, |
| "accountCounts": { |
| "description": "Subtotal count per matching account that have more than zero messages.", |
| "type": "array", |
| "items": { |
| "$ref": "AccountCount" |
| } |
| }, |
| "nonQueryableAccounts": { |
| "description": "When data scope is HELD_DATA in the request Query, these accounts in the request are not queried because they are not on hold. For other data scope, this field is not set.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "matchingAccountsCount": { |
| "format": "int64", |
| "type": "string", |
| "description": "Total number of accounts that can be queried and have more than zero messages." |
| }, |
| "queriedAccountsCount": { |
| "description": "Total number of accounts involved in this count operation.", |
| "type": "string", |
| "format": "int64" |
| } |
| }, |
| "id": "MailCountResult", |
| "description": "Mail specific count metrics." |
| }, |
| "ReopenMatterRequest": { |
| "id": "ReopenMatterRequest", |
| "description": "Reopen a matter by ID.", |
| "type": "object", |
| "properties": {} |
| }, |
| "HangoutsChatInfo": { |
| "properties": { |
| "roomId": { |
| "items": { |
| "type": "string" |
| }, |
| "description": "A set of rooms to search.", |
| "type": "array" |
| } |
| }, |
| "type": "object", |
| "id": "HangoutsChatInfo", |
| "description": "Accounts to search" |
| }, |
| "ListOperationsResponse": { |
| "id": "ListOperationsResponse", |
| "description": "The response message for Operations.ListOperations.", |
| "properties": { |
| "nextPageToken": { |
| "type": "string", |
| "description": "The standard List next-page token." |
| }, |
| "operations": { |
| "type": "array", |
| "items": { |
| "$ref": "Operation" |
| }, |
| "description": "A list of operations that matches the specified filter in the request." |
| } |
| }, |
| "type": "object" |
| }, |
| "CloudStorageFile": { |
| "type": "object", |
| "description": "An export file on cloud storage", |
| "properties": { |
| "size": { |
| "description": "The size of the export file.", |
| "format": "int64", |
| "type": "string" |
| }, |
| "bucketName": { |
| "description": "The cloud storage bucket name of this export file. Can be used in cloud storage JSON/XML API, but not to list the bucket contents. Instead, you can get individual export files by object name.", |
| "type": "string" |
| }, |
| "md5Hash": { |
| "description": "The md5 hash of the file.", |
| "type": "string" |
| }, |
| "objectName": { |
| "type": "string", |
| "description": "The cloud storage object name of this export file. Can be used in cloud storage JSON/XML API." |
| } |
| }, |
| "id": "CloudStorageFile" |
| }, |
| "RemoveMatterPermissionsRequest": { |
| "type": "object", |
| "properties": { |
| "accountId": { |
| "type": "string", |
| "description": "The account ID." |
| } |
| }, |
| "id": "RemoveMatterPermissionsRequest", |
| "description": "Remove an account as a matter collaborator." |
| }, |
| "DriveOptions": { |
| "properties": { |
| "includeSharedDrives": { |
| "description": "Set to true to include shared drive.", |
| "type": "boolean" |
| }, |
| "versionDate": { |
| "format": "google-datetime", |
| "description": "Search the versions of the Drive file as of the reference date. These timestamps are in GMT and rounded down to the given date.", |
| "type": "string" |
| }, |
| "includeTeamDrives": { |
| "description": "Set to true to include Team Drive.", |
| "type": "boolean" |
| } |
| }, |
| "type": "object", |
| "id": "DriveOptions", |
| "description": "Drive search advanced options" |
| }, |
| "Status": { |
| "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).", |
| "properties": { |
| "details": { |
| "type": "array", |
| "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.", |
| "items": { |
| "type": "object", |
| "additionalProperties": { |
| "type": "any", |
| "description": "Properties of the object. Contains field @type with type URL." |
| } |
| } |
| }, |
| "code": { |
| "format": "int32", |
| "type": "integer", |
| "description": "The status code, which should be an enum value of google.rpc.Code." |
| }, |
| "message": { |
| "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
| "type": "string" |
| } |
| }, |
| "id": "Status", |
| "type": "object" |
| }, |
| "Export": { |
| "type": "object", |
| "id": "Export", |
| "properties": { |
| "status": { |
| "type": "string", |
| "enumDescriptions": [ |
| "The status is unspecified.", |
| "The export completed.", |
| "The export failed.", |
| "The export is still being executed." |
| ], |
| "description": "Output only. The export status.", |
| "enum": [ |
| "EXPORT_STATUS_UNSPECIFIED", |
| "COMPLETED", |
| "FAILED", |
| "IN_PROGRESS" |
| ] |
| }, |
| "createTime": { |
| "type": "string", |
| "description": "Output only. The time when the export was created.", |
| "format": "google-datetime" |
| }, |
| "stats": { |
| "description": "Output only. Export statistics.", |
| "$ref": "ExportStats" |
| }, |
| "id": { |
| "description": "Output only. The generated export ID.", |
| "type": "string" |
| }, |
| "query": { |
| "$ref": "Query", |
| "description": "The search query being exported." |
| }, |
| "exportOptions": { |
| "$ref": "ExportOptions", |
| "description": "Advanced options of the export." |
| }, |
| "requester": { |
| "$ref": "UserInfo", |
| "description": "Output only. The requester of the export." |
| }, |
| "name": { |
| "description": "The export name.", |
| "type": "string" |
| }, |
| "matterId": { |
| "description": "Output only. The matter ID.", |
| "type": "string" |
| }, |
| "cloudStorageSink": { |
| "$ref": "CloudStorageSink", |
| "description": "Output only. Export sink for cloud storage files." |
| } |
| }, |
| "description": "An export" |
| }, |
| "DriveExportOptions": { |
| "id": "DriveExportOptions", |
| "type": "object", |
| "description": "The options for Drive export.", |
| "properties": { |
| "includeAccessInfo": { |
| "description": "Set to true to include access level information for users with indirect access to files.", |
| "type": "boolean" |
| } |
| } |
| }, |
| "ListHeldAccountsResponse": { |
| "properties": { |
| "accounts": { |
| "description": "The held accounts on a hold.", |
| "type": "array", |
| "items": { |
| "$ref": "HeldAccount" |
| } |
| } |
| }, |
| "id": "ListHeldAccountsResponse", |
| "type": "object", |
| "description": "Returns a list of held accounts for a hold." |
| }, |
| "Matter": { |
| "properties": { |
| "matterId": { |
| "type": "string", |
| "description": "The matter ID which is generated by the server. Should be blank when creating a new matter." |
| }, |
| "matterPermissions": { |
| "items": { |
| "$ref": "MatterPermission" |
| }, |
| "type": "array", |
| "description": "List of users and access to the matter. Currently there is no programmer defined limit on the number of permissions a matter can have." |
| }, |
| "description": { |
| "type": "string", |
| "description": "The description of the matter." |
| }, |
| "name": { |
| "description": "The name of the matter.", |
| "type": "string" |
| }, |
| "state": { |
| "type": "string", |
| "enum": [ |
| "STATE_UNSPECIFIED", |
| "OPEN", |
| "CLOSED", |
| "DELETED" |
| ], |
| "description": "The state of the matter.", |
| "enumDescriptions": [ |
| "The matter has no specified state.", |
| "This matter is open.", |
| "This matter is closed.", |
| "This matter is deleted." |
| ] |
| } |
| }, |
| "id": "Matter", |
| "description": "Represents a matter.", |
| "type": "object" |
| }, |
| "HangoutsChatExportOptions": { |
| "description": "The options for hangouts chat export.", |
| "type": "object", |
| "properties": { |
| "exportFormat": { |
| "description": "The export format for hangouts chat export.", |
| "enum": [ |
| "EXPORT_FORMAT_UNSPECIFIED", |
| "MBOX", |
| "PST" |
| ], |
| "type": "string", |
| "enumDescriptions": [ |
| "No export format specified.", |
| "MBOX as export format.", |
| "PST as export format" |
| ] |
| } |
| }, |
| "id": "HangoutsChatExportOptions" |
| }, |
| "ExportStats": { |
| "type": "object", |
| "id": "ExportStats", |
| "description": "Stats of an export.", |
| "properties": { |
| "totalArtifactCount": { |
| "type": "string", |
| "format": "int64", |
| "description": "The number of documents to be exported." |
| }, |
| "exportedArtifactCount": { |
| "format": "int64", |
| "type": "string", |
| "description": "The number of documents already processed by the export." |
| }, |
| "sizeInBytes": { |
| "description": "The size of export in bytes.", |
| "type": "string", |
| "format": "int64" |
| } |
| } |
| }, |
| "UserInfo": { |
| "properties": { |
| "displayName": { |
| "type": "string", |
| "description": "The displayed name of the user." |
| }, |
| "email": { |
| "type": "string", |
| "description": "The email address of the user." |
| } |
| }, |
| "description": "User's information.", |
| "type": "object", |
| "id": "UserInfo" |
| }, |
| "HeldVoiceQuery": { |
| "type": "object", |
| "id": "HeldVoiceQuery", |
| "properties": { |
| "coveredData": { |
| "description": "Data covered by this rule. Should be non-empty. Order does not matter and duplicates will be ignored.", |
| "type": "array", |
| "items": { |
| "enumDescriptions": [ |
| "Covered data unspecified.", |
| "Voice text message will be covered.", |
| "Voicemail will be covered.", |
| "Call logs will be covered." |
| ], |
| "type": "string", |
| "enum": [ |
| "COVERED_DATA_UNSPECIFIED", |
| "TEXT_MESSAGES", |
| "VOICEMAILS", |
| "CALL_LOGS" |
| ] |
| } |
| } |
| }, |
| "description": "Query options for Voice holds." |
| }, |
| "SavedQuery": { |
| "description": "Definition of the saved query.", |
| "type": "object", |
| "properties": { |
| "createTime": { |
| "type": "string", |
| "description": "Output only. The server generated timestamp at which saved query was created.", |
| "format": "google-datetime" |
| }, |
| "matterId": { |
| "description": "Output only. The matter ID of the associated matter. The server does not look at this field during create and always uses matter id in the URL.", |
| "type": "string" |
| }, |
| "displayName": { |
| "description": "Name of the saved query.", |
| "type": "string" |
| }, |
| "savedQueryId": { |
| "description": "A unique identifier for the saved query.", |
| "type": "string" |
| }, |
| "query": { |
| "$ref": "Query", |
| "description": "The underlying Query object which contains all the information of the saved query." |
| } |
| }, |
| "id": "SavedQuery" |
| }, |
| "HangoutsChatOptions": { |
| "description": "Hangouts chat search advanced options", |
| "properties": { |
| "includeRooms": { |
| "type": "boolean", |
| "description": "Set to true to include rooms." |
| } |
| }, |
| "type": "object", |
| "id": "HangoutsChatOptions" |
| }, |
| "AddMatterPermissionsRequest": { |
| "description": "Add an account with the permission specified. The role cannot be owner. If an account already has a role in the matter, it will be overwritten.", |
| "id": "AddMatterPermissionsRequest", |
| "properties": { |
| "sendEmails": { |
| "description": "True to send notification email to the added account. False to not send notification email.", |
| "type": "boolean" |
| }, |
| "ccMe": { |
| "type": "boolean", |
| "description": "Only relevant if send_emails is true. True to CC requestor in the email message. False to not CC requestor." |
| }, |
| "matterPermission": { |
| "$ref": "MatterPermission", |
| "description": "The MatterPermission to add." |
| } |
| }, |
| "type": "object" |
| }, |
| "GroupsExportOptions": { |
| "properties": { |
| "exportFormat": { |
| "enum": [ |
| "EXPORT_FORMAT_UNSPECIFIED", |
| "MBOX", |
| "PST" |
| ], |
| "enumDescriptions": [ |
| "No export format specified.", |
| "MBOX as export format.", |
| "PST as export format" |
| ], |
| "description": "The export format for groups export.", |
| "type": "string" |
| } |
| }, |
| "description": "The options for groups export.", |
| "type": "object", |
| "id": "GroupsExportOptions" |
| }, |
| "ListMattersResponse": { |
| "properties": { |
| "matters": { |
| "type": "array", |
| "description": "List of matters.", |
| "items": { |
| "$ref": "Matter" |
| } |
| }, |
| "nextPageToken": { |
| "type": "string", |
| "description": "Page token to retrieve the next page of results in the list." |
| } |
| }, |
| "id": "ListMattersResponse", |
| "type": "object", |
| "description": "Provides the list of matters." |
| }, |
| "CountArtifactsResponse": { |
| "properties": { |
| "groupsCountResult": { |
| "description": "Count metrics of Groups.", |
| "$ref": "GroupsCountResult" |
| }, |
| "mailCountResult": { |
| "description": "Count metrics of Mail.", |
| "$ref": "MailCountResult" |
| }, |
| "totalCount": { |
| "format": "int64", |
| "description": "Total count of artifacts. For mail and groups, artifacts refers to messages.", |
| "type": "string" |
| } |
| }, |
| "description": "Definition of the response for method CountArtifacts.", |
| "type": "object", |
| "id": "CountArtifactsResponse" |
| }, |
| "CancelOperationRequest": { |
| "properties": {}, |
| "type": "object", |
| "id": "CancelOperationRequest", |
| "description": "The request message for Operations.CancelOperation." |
| }, |
| "HeldMailQuery": { |
| "properties": { |
| "terms": { |
| "description": "The search terms for the hold.", |
| "type": "string" |
| }, |
| "startTime": { |
| "description": "The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.", |
| "type": "string", |
| "format": "google-datetime" |
| }, |
| "endTime": { |
| "description": "The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.", |
| "format": "google-datetime", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "Query options for mail holds.", |
| "id": "HeldMailQuery" |
| }, |
| "OrgUnitInfo": { |
| "id": "OrgUnitInfo", |
| "description": "Org Unit to search", |
| "properties": { |
| "orgUnitId": { |
| "type": "string", |
| "description": "Org unit to search, as provided by the Admin SDK Directory API." |
| } |
| }, |
| "type": "object" |
| }, |
| "RemoveHeldAccountsResponse": { |
| "type": "object", |
| "properties": { |
| "statuses": { |
| "description": "A list of statuses for deleted accounts. Results have the same order as the request.", |
| "items": { |
| "$ref": "Status" |
| }, |
| "type": "array" |
| } |
| }, |
| "description": "Response for batch delete held accounts.", |
| "id": "RemoveHeldAccountsResponse" |
| }, |
| "ListHoldsResponse": { |
| "id": "ListHoldsResponse", |
| "type": "object", |
| "properties": { |
| "nextPageToken": { |
| "description": "Page token to retrieve the next page of results in the list. If this is empty, then there are no more holds to list.", |
| "type": "string" |
| }, |
| "holds": { |
| "items": { |
| "$ref": "Hold" |
| }, |
| "type": "array", |
| "description": "The list of holds." |
| } |
| }, |
| "description": "The holds for a matter." |
| }, |
| "CloseMatterResponse": { |
| "properties": { |
| "matter": { |
| "description": "The updated matter, with state CLOSED.", |
| "$ref": "Matter" |
| } |
| }, |
| "description": "Response to a CloseMatterRequest.", |
| "id": "CloseMatterResponse", |
| "type": "object" |
| }, |
| "AddHeldAccountsResponse": { |
| "type": "object", |
| "description": "Response for batch create held accounts.", |
| "id": "AddHeldAccountsResponse", |
| "properties": { |
| "responses": { |
| "items": { |
| "$ref": "AddHeldAccountResult" |
| }, |
| "type": "array", |
| "description": "The list of responses, in the same order as the batch request." |
| } |
| } |
| }, |
| "Query": { |
| "description": "A query definition relevant for search & export.", |
| "type": "object", |
| "id": "Query", |
| "properties": { |
| "driveOptions": { |
| "$ref": "DriveOptions", |
| "description": "For Drive search, specify more options in this field." |
| }, |
| "voiceOptions": { |
| "description": "For voice search, specify more options in this field.", |
| "$ref": "VoiceOptions" |
| }, |
| "sharedDriveInfo": { |
| "$ref": "SharedDriveInfo", |
| "description": "When 'SHARED_DRIVE' is chosen as search method, shared_drive_info needs to be specified." |
| }, |
| "dataScope": { |
| "type": "string", |
| "description": "The data source to search from.", |
| "enumDescriptions": [ |
| "No data scope specified.", |
| "All available data.", |
| "Data on hold.", |
| "Data not processed." |
| ], |
| "enum": [ |
| "DATA_SCOPE_UNSPECIFIED", |
| "ALL_DATA", |
| "HELD_DATA", |
| "UNPROCESSED_DATA" |
| ] |
| }, |
| "timeZone": { |
| "description": "The time zone name. It should be an IANA TZ name, such as \"America/Los_Angeles\". For more information, see Time Zone.", |
| "type": "string" |
| }, |
| "accountInfo": { |
| "$ref": "AccountInfo", |
| "description": "When 'ACCOUNT' is chosen as search method, account_info needs to be specified." |
| }, |
| "mailOptions": { |
| "description": "For mail search, specify more options in this field.", |
| "$ref": "MailOptions" |
| }, |
| "endTime": { |
| "description": "The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "method": { |
| "description": "The search method to use. This field is similar to the search_method field but is introduced to support shared drives. It supports all search method types. In case the search_method is TEAM_DRIVE the response of this field will be SHARED_DRIVE only.", |
| "enum": [ |
| "SEARCH_METHOD_UNSPECIFIED", |
| "ACCOUNT", |
| "ORG_UNIT", |
| "TEAM_DRIVE", |
| "ENTIRE_ORG", |
| "ROOM", |
| "SHARED_DRIVE" |
| ], |
| "type": "string", |
| "enumDescriptions": [ |
| "A search method must be specified. If a request does not specify a search method, it will be rejected.", |
| "Will search all accounts provided in account_info.", |
| "Will search all accounts in the OU specified in org_unit_info.", |
| "Will search for all accounts in the Team Drive specified in team_drive_info.", |
| "Will search for all accounts in the organization. No need to set account_info or org_unit_info.", |
| "Will search in the Room specified in hangout_chats_info. (read-only)", |
| "Will search for all accounts in the shared drive specified in shared_drive_info." |
| ] |
| }, |
| "startTime": { |
| "format": "google-datetime", |
| "description": "The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.", |
| "type": "string" |
| }, |
| "hangoutsChatOptions": { |
| "$ref": "HangoutsChatOptions", |
| "description": "For hangouts chat search, specify more options in this field. (read-only)" |
| }, |
| "orgUnitInfo": { |
| "$ref": "OrgUnitInfo", |
| "description": "When 'ORG_UNIT' is chosen as as search method, org_unit_info needs to be specified." |
| }, |
| "corpus": { |
| "enumDescriptions": [ |
| "No corpus specified.", |
| "Drive.", |
| "Mail.", |
| "Groups.", |
| "Hangouts Chat.", |
| "Google Voice." |
| ], |
| "enum": [ |
| "CORPUS_TYPE_UNSPECIFIED", |
| "DRIVE", |
| "MAIL", |
| "GROUPS", |
| "HANGOUTS_CHAT", |
| "VOICE" |
| ], |
| "description": "The corpus to search.", |
| "type": "string" |
| }, |
| "teamDriveInfo": { |
| "description": "When 'TEAM_DRIVE' is chosen as search method, team_drive_info needs to be specified.", |
| "$ref": "TeamDriveInfo" |
| }, |
| "hangoutsChatInfo": { |
| "$ref": "HangoutsChatInfo", |
| "description": "When 'ROOM' is chosen as search method, hangout_chats_info needs to be specified. (read-only)" |
| }, |
| "terms": { |
| "description": "The corpus-specific search operators used to generate search results.", |
| "type": "string" |
| }, |
| "searchMethod": { |
| "enumDescriptions": [ |
| "A search method must be specified. If a request does not specify a search method, it will be rejected.", |
| "Will search all accounts provided in account_info.", |
| "Will search all accounts in the OU specified in org_unit_info.", |
| "Will search for all accounts in the Team Drive specified in team_drive_info.", |
| "Will search for all accounts in the organization. No need to set account_info or org_unit_info.", |
| "Will search in the Room specified in hangout_chats_info. (read-only)", |
| "Will search for all accounts in the shared drive specified in shared_drive_info." |
| ], |
| "type": "string", |
| "enum": [ |
| "SEARCH_METHOD_UNSPECIFIED", |
| "ACCOUNT", |
| "ORG_UNIT", |
| "TEAM_DRIVE", |
| "ENTIRE_ORG", |
| "ROOM", |
| "SHARED_DRIVE" |
| ], |
| "description": "The search method to use." |
| } |
| } |
| }, |
| "CountArtifactsMetadata": { |
| "description": "Long running operation metadata for CountArtifacts.", |
| "id": "CountArtifactsMetadata", |
| "properties": { |
| "query": { |
| "$ref": "Query", |
| "description": "The search query from the request." |
| }, |
| "matterId": { |
| "description": "The matter ID of the associated matter.", |
| "type": "string" |
| }, |
| "endTime": { |
| "type": "string", |
| "description": "End time of count operation. Available when operation is done.", |
| "format": "google-datetime" |
| }, |
| "startTime": { |
| "format": "google-datetime", |
| "description": "Creation time of count operation.", |
| "type": "string" |
| } |
| }, |
| "type": "object" |
| }, |
| "HeldHangoutsChatQuery": { |
| "description": "Query options for hangouts chat holds.", |
| "id": "HeldHangoutsChatQuery", |
| "properties": { |
| "includeRooms": { |
| "type": "boolean", |
| "description": "If true, include rooms the user has participated in." |
| } |
| }, |
| "type": "object" |
| }, |
| "HeldGroupsQuery": { |
| "id": "HeldGroupsQuery", |
| "description": "Query options for group holds.", |
| "type": "object", |
| "properties": { |
| "endTime": { |
| "description": "The end time range for the search query. These timestamps are in GMT and rounded down to the start of the given date.", |
| "format": "google-datetime", |
| "type": "string" |
| }, |
| "terms": { |
| "description": "The search terms for the hold.", |
| "type": "string" |
| }, |
| "startTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "The start time range for the search query. These timestamps are in GMT and rounded down to the start of the given date." |
| } |
| } |
| }, |
| "Hold": { |
| "description": "Represents a hold within Vault. A hold restricts purging of artifacts based on the combination of the query and accounts restrictions. A hold can be configured to either apply to an explicitly configured set of accounts, or can be applied to all members of an organizational unit.", |
| "id": "Hold", |
| "type": "object", |
| "properties": { |
| "updateTime": { |
| "format": "google-datetime", |
| "type": "string", |
| "description": "The last time this hold was modified." |
| }, |
| "name": { |
| "description": "The name of the hold.", |
| "type": "string" |
| }, |
| "orgUnit": { |
| "description": "If set, the hold applies to all members of the organizational unit and accounts must be empty. This property is mutable. For groups holds, set the accounts field.", |
| "$ref": "HeldOrgUnit" |
| }, |
| "query": { |
| "description": "The corpus-specific query. If set, the corpusQuery must match corpus type.", |
| "$ref": "CorpusQuery" |
| }, |
| "accounts": { |
| "description": "If set, the hold applies to the enumerated accounts and org_unit must be empty.", |
| "type": "array", |
| "items": { |
| "$ref": "HeldAccount" |
| } |
| }, |
| "holdId": { |
| "type": "string", |
| "description": "The unique immutable ID of the hold. Assigned during creation." |
| }, |
| "corpus": { |
| "enumDescriptions": [ |
| "No corpus specified.", |
| "Drive.", |
| "Mail.", |
| "Groups.", |
| "Hangouts Chat.", |
| "Google Voice." |
| ], |
| "enum": [ |
| "CORPUS_TYPE_UNSPECIFIED", |
| "DRIVE", |
| "MAIL", |
| "GROUPS", |
| "HANGOUTS_CHAT", |
| "VOICE" |
| ], |
| "description": "The corpus to be searched.", |
| "type": "string" |
| } |
| } |
| }, |
| "Operation": { |
| "properties": { |
| "metadata": { |
| "type": "object", |
| "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
| "additionalProperties": { |
| "type": "any", |
| "description": "Properties of the object. Contains field @type with type URL." |
| } |
| }, |
| "response": { |
| "additionalProperties": { |
| "type": "any", |
| "description": "Properties of the object. Contains field @type with type URL." |
| }, |
| "type": "object", |
| "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`." |
| }, |
| "error": { |
| "$ref": "Status", |
| "description": "The error result of the operation in case of failure or cancellation." |
| }, |
| "name": { |
| "type": "string", |
| "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`." |
| }, |
| "done": { |
| "type": "boolean", |
| "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available." |
| } |
| }, |
| "type": "object", |
| "description": "This resource represents a long-running operation that is the result of a network API call.", |
| "id": "Operation" |
| }, |
| "HeldDriveQuery": { |
| "description": "Query options for Drive holds.", |
| "type": "object", |
| "properties": { |
| "includeSharedDriveFiles": { |
| "type": "boolean", |
| "description": "If true, include files in shared drives in the hold." |
| }, |
| "includeTeamDriveFiles": { |
| "description": "If true, include files in Team Drives in the hold.", |
| "type": "boolean" |
| } |
| }, |
| "id": "HeldDriveQuery" |
| }, |
| "CountArtifactsRequest": { |
| "description": "Count artifacts request.", |
| "properties": { |
| "query": { |
| "$ref": "Query", |
| "description": "The search query." |
| }, |
| "view": { |
| "type": "string", |
| "description": "Specifies the granularity of the count result returned in response.", |
| "enum": [ |
| "COUNT_RESULT_VIEW_UNSPECIFIED", |
| "TOTAL_COUNT", |
| "ALL" |
| ], |
| "enumDescriptions": [ |
| "Default. It works the same as TOTAL_COUNT.", |
| "Response includes: total count, queried accounts count, matching accounts count, non-queryable accounts, queried account errors.", |
| "Response includes additional breakdown of account count." |
| ] |
| } |
| }, |
| "id": "CountArtifactsRequest", |
| "type": "object" |
| }, |
| "UndeleteMatterRequest": { |
| "properties": {}, |
| "type": "object", |
| "description": "Undelete a matter by ID.", |
| "id": "UndeleteMatterRequest" |
| }, |
| "TeamDriveInfo": { |
| "id": "TeamDriveInfo", |
| "description": "Team Drives to search", |
| "type": "object", |
| "properties": { |
| "teamDriveIds": { |
| "type": "array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "List of Team Drive IDs, as provided by Drive API." |
| } |
| } |
| }, |
| "AddHeldAccountResult": { |
| "id": "AddHeldAccountResult", |
| "description": "A status detailing the status of each account creation, and the HeldAccount, if successful.", |
| "properties": { |
| "status": { |
| "description": "This represents the success status. If failed, check message.", |
| "$ref": "Status" |
| }, |
| "account": { |
| "description": "If present, this account was successfully created.", |
| "$ref": "HeldAccount" |
| } |
| }, |
| "type": "object" |
| }, |
| "GroupsCountResult": { |
| "description": "Groups specific count metrics.", |
| "id": "GroupsCountResult", |
| "properties": { |
| "nonQueryableAccounts": { |
| "description": "When data scope is HELD_DATA in the request Query, these accounts in the request are not queried because they are not on hold. For other data scope, this field is not set.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "accountCounts": { |
| "description": "Subtotal count per matching account that have more than zero messages.", |
| "items": { |
| "$ref": "AccountCount" |
| }, |
| "type": "array" |
| }, |
| "matchingAccountsCount": { |
| "format": "int64", |
| "description": "Total number of accounts that can be queried and have more than zero messages.", |
| "type": "string" |
| }, |
| "accountCountErrors": { |
| "description": "Error occurred when querying these accounts.", |
| "items": { |
| "$ref": "AccountCountError" |
| }, |
| "type": "array" |
| }, |
| "queriedAccountsCount": { |
| "type": "string", |
| "format": "int64", |
| "description": "Total number of accounts involved in this count operation." |
| } |
| }, |
| "type": "object" |
| }, |
| "CorpusQuery": { |
| "description": "Corpus specific queries.", |
| "id": "CorpusQuery", |
| "type": "object", |
| "properties": { |
| "driveQuery": { |
| "description": "Details pertaining to Drive holds. If set, corpus must be Drive.", |
| "$ref": "HeldDriveQuery" |
| }, |
| "hangoutsChatQuery": { |
| "$ref": "HeldHangoutsChatQuery", |
| "description": "Details pertaining to Hangouts Chat holds. If set, corpus must be Hangouts Chat." |
| }, |
| "groupsQuery": { |
| "description": "Details pertaining to Groups holds. If set, corpus must be Groups.", |
| "$ref": "HeldGroupsQuery" |
| }, |
| "voiceQuery": { |
| "$ref": "HeldVoiceQuery", |
| "description": "Details pertaining to Voice holds. If set, corpus must be Voice." |
| }, |
| "mailQuery": { |
| "$ref": "HeldMailQuery", |
| "description": "Details pertaining to mail holds. If set, corpus must be mail." |
| } |
| } |
| }, |
| "VoiceExportOptions": { |
| "description": "The options for voice export.", |
| "type": "object", |
| "id": "VoiceExportOptions", |
| "properties": { |
| "exportFormat": { |
| "enumDescriptions": [ |
| "No export format specified.", |
| "MBOX as export format.", |
| "PST as export format" |
| ], |
| "description": "The export format for voice export.", |
| "type": "string", |
| "enum": [ |
| "EXPORT_FORMAT_UNSPECIFIED", |
| "MBOX", |
| "PST" |
| ] |
| } |
| } |
| }, |
| "SharedDriveInfo": { |
| "description": "Shared drives to search", |
| "type": "object", |
| "properties": { |
| "sharedDriveIds": { |
| "items": { |
| "type": "string" |
| }, |
| "type": "array", |
| "description": "List of Shared drive IDs, as provided by Drive API." |
| } |
| }, |
| "id": "SharedDriveInfo" |
| }, |
| "AddHeldAccountsRequest": { |
| "properties": { |
| "emails": { |
| "description": "Emails to identify which accounts to add. Only emails or only account_ids should be specified, but not both.", |
| "items": { |
| "type": "string" |
| }, |
| "type": "array" |
| }, |
| "accountIds": { |
| "description": "Account IDs to identify which accounts to add. Only account_ids or only emails should be specified, but not both.", |
| "type": "array", |
| "items": { |
| "type": "string" |
| } |
| } |
| }, |
| "type": "object", |
| "description": "Add a list of accounts to a hold.", |
| "id": "AddHeldAccountsRequest" |
| }, |
| "ReopenMatterResponse": { |
| "properties": { |
| "matter": { |
| "description": "The updated matter, with state OPEN.", |
| "$ref": "Matter" |
| } |
| }, |
| "type": "object", |
| "id": "ReopenMatterResponse", |
| "description": "Response to a ReopenMatterRequest." |
| }, |
| "MailOptions": { |
| "description": "Mail search advanced options", |
| "properties": { |
| "excludeDrafts": { |
| "description": "Set to true to exclude drafts.", |
| "type": "boolean" |
| } |
| }, |
| "id": "MailOptions", |
| "type": "object" |
| }, |
| "AccountCount": { |
| "properties": { |
| "account": { |
| "$ref": "UserInfo", |
| "description": "Account owner." |
| }, |
| "count": { |
| "description": "The number of artifacts found for this account.", |
| "type": "string", |
| "format": "int64" |
| } |
| }, |
| "type": "object", |
| "description": "Count number for each account.", |
| "id": "AccountCount" |
| }, |
| "AccountCountError": { |
| "description": "An error that occurred when querying a specific account", |
| "properties": { |
| "account": { |
| "$ref": "UserInfo", |
| "description": "Account owner." |
| }, |
| "errorType": { |
| "enumDescriptions": [ |
| "Default.", |
| "Permanent - prefix terms expanded to too many query terms.", |
| "Permanent - query contains too many terms.", |
| "Transient - data in transit between storage replicas, temporarily unavailable.", |
| "Unrecognized error.", |
| "Deadline exceeded when querying the account." |
| ], |
| "type": "string", |
| "description": "Account query error.", |
| "enum": [ |
| "ERROR_TYPE_UNSPECIFIED", |
| "WILDCARD_TOO_BROAD", |
| "TOO_MANY_TERMS", |
| "LOCATION_UNAVAILABLE", |
| "UNKNOWN", |
| "DEADLINE_EXCEEDED" |
| ] |
| } |
| }, |
| "type": "object", |
| "id": "AccountCountError" |
| } |
| }, |
| "mtlsRootUrl": "https://vault.mtls.googleapis.com/", |
| "resources": { |
| "operations": { |
| "methods": { |
| "delete": { |
| "response": { |
| "$ref": "Empty" |
| }, |
| "id": "vault.operations.delete", |
| "parameters": { |
| "name": { |
| "description": "The name of the operation resource to be deleted.", |
| "location": "path", |
| "pattern": "^operations/.*$", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "httpMethod": "DELETE", |
| "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.", |
| "path": "v1/{+name}", |
| "flatPath": "v1/operations/{operationsId}" |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "flatPath": "v1/operations/{operationsId}", |
| "parameters": { |
| "name": { |
| "pattern": "^operations/.*$", |
| "description": "The name of the operation resource.", |
| "required": true, |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "path": "v1/{+name}", |
| "response": { |
| "$ref": "Operation" |
| }, |
| "id": "vault.operations.get", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "list": { |
| "path": "v1/{+name}", |
| "flatPath": "v1/operations", |
| "id": "vault.operations.list", |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "ListOperationsResponse" |
| }, |
| "parameters": { |
| "pageToken": { |
| "location": "query", |
| "description": "The standard list page token.", |
| "type": "string" |
| }, |
| "pageSize": { |
| "location": "query", |
| "description": "The standard list page size.", |
| "format": "int32", |
| "type": "integer" |
| }, |
| "filter": { |
| "type": "string", |
| "description": "The standard list filter.", |
| "location": "query" |
| }, |
| "name": { |
| "required": true, |
| "type": "string", |
| "description": "The name of the operation's parent resource.", |
| "location": "path", |
| "pattern": "^operations$" |
| } |
| }, |
| "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.", |
| "parameterOrder": [ |
| "name" |
| ] |
| }, |
| "cancel": { |
| "response": { |
| "$ref": "Empty" |
| }, |
| "path": "v1/{+name}:cancel", |
| "id": "vault.operations.cancel", |
| "httpMethod": "POST", |
| "flatPath": "v1/operations/{operationsId}:cancel", |
| "request": { |
| "$ref": "CancelOperationRequest" |
| }, |
| "parameterOrder": [ |
| "name" |
| ], |
| "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.", |
| "parameters": { |
| "name": { |
| "pattern": "^operations/.*$", |
| "required": true, |
| "location": "path", |
| "description": "The name of the operation resource to be cancelled.", |
| "type": "string" |
| } |
| } |
| } |
| } |
| }, |
| "matters": { |
| "resources": { |
| "savedQueries": { |
| "methods": { |
| "delete": { |
| "httpMethod": "DELETE", |
| "path": "v1/matters/{matterId}/savedQueries/{savedQueryId}", |
| "description": "Deletes a saved query by Id.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "response": { |
| "$ref": "Empty" |
| }, |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "The matter ID of the parent matter for which the saved query is to be deleted." |
| }, |
| "savedQueryId": { |
| "required": true, |
| "location": "path", |
| "description": "ID of the saved query to be deleted.", |
| "type": "string" |
| } |
| }, |
| "parameterOrder": [ |
| "matterId", |
| "savedQueryId" |
| ], |
| "id": "vault.matters.savedQueries.delete", |
| "flatPath": "v1/matters/{matterId}/savedQueries/{savedQueryId}" |
| }, |
| "create": { |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "description": "The matter ID of the parent matter for which the saved query is to be created.", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "response": { |
| "$ref": "SavedQuery" |
| }, |
| "httpMethod": "POST", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "id": "vault.matters.savedQueries.create", |
| "flatPath": "v1/matters/{matterId}/savedQueries", |
| "path": "v1/matters/{matterId}/savedQueries", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "request": { |
| "$ref": "SavedQuery" |
| }, |
| "description": "Creates a saved query." |
| }, |
| "list": { |
| "flatPath": "v1/matters/{matterId}/savedQueries", |
| "httpMethod": "GET", |
| "description": "Lists saved queries within a matter. An empty page token in ListSavedQueriesResponse denotes no more saved queries to list.", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "id": "vault.matters.savedQueries.list", |
| "response": { |
| "$ref": "ListSavedQueriesResponse" |
| }, |
| "path": "v1/matters/{matterId}/savedQueries", |
| "parameters": { |
| "pageToken": { |
| "location": "query", |
| "description": "The pagination token as returned in the previous response. An empty token means start from the beginning.", |
| "type": "string" |
| }, |
| "matterId": { |
| "required": true, |
| "description": "The matter ID of the parent matter for which the saved queries are to be retrieved.", |
| "location": "path", |
| "type": "string" |
| }, |
| "pageSize": { |
| "location": "query", |
| "description": "The maximum number of saved queries to return.", |
| "type": "integer", |
| "format": "int32" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ] |
| }, |
| "get": { |
| "id": "vault.matters.savedQueries.get", |
| "parameterOrder": [ |
| "matterId", |
| "savedQueryId" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "description": "Retrieves a saved query by Id.", |
| "parameters": { |
| "savedQueryId": { |
| "required": true, |
| "location": "path", |
| "type": "string", |
| "description": "ID of the saved query to be retrieved." |
| }, |
| "matterId": { |
| "required": true, |
| "description": "The matter ID of the parent matter for which the saved query is to be retrieved.", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "path": "v1/matters/{matterId}/savedQueries/{savedQueryId}", |
| "response": { |
| "$ref": "SavedQuery" |
| }, |
| "flatPath": "v1/matters/{matterId}/savedQueries/{savedQueryId}", |
| "httpMethod": "GET" |
| } |
| } |
| }, |
| "holds": { |
| "resources": { |
| "accounts": { |
| "methods": { |
| "delete": { |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "response": { |
| "$ref": "Empty" |
| }, |
| "parameterOrder": [ |
| "matterId", |
| "holdId", |
| "accountId" |
| ], |
| "description": "Removes a HeldAccount from a hold. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.", |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}", |
| "path": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}", |
| "parameters": { |
| "holdId": { |
| "required": true, |
| "location": "path", |
| "description": "The hold ID.", |
| "type": "string" |
| }, |
| "accountId": { |
| "type": "string", |
| "required": true, |
| "location": "path", |
| "description": "The ID of the account to remove from the hold." |
| }, |
| "matterId": { |
| "description": "The matter ID.", |
| "required": true, |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "id": "vault.matters.holds.accounts.delete" |
| }, |
| "create": { |
| "response": { |
| "$ref": "HeldAccount" |
| }, |
| "request": { |
| "$ref": "HeldAccount" |
| }, |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "description": "Adds a HeldAccount to a hold. Accounts can only be added to a hold that has no held_org_unit set. Attempting to add an account to an OU-based hold will result in an error.", |
| "parameters": { |
| "holdId": { |
| "type": "string", |
| "required": true, |
| "description": "The hold ID.", |
| "location": "path" |
| }, |
| "matterId": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "The matter ID." |
| } |
| }, |
| "path": "v1/matters/{matterId}/holds/{holdId}/accounts", |
| "httpMethod": "POST", |
| "id": "vault.matters.holds.accounts.create", |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts" |
| }, |
| "list": { |
| "path": "v1/matters/{matterId}/holds/{holdId}/accounts", |
| "httpMethod": "GET", |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "type": "string", |
| "description": "The matter ID.", |
| "required": true |
| }, |
| "holdId": { |
| "location": "path", |
| "description": "The hold ID.", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "id": "vault.matters.holds.accounts.list", |
| "description": "Lists HeldAccounts for a hold. This will only list individually specified held accounts. If the hold is on an OU, then use Admin SDK to enumerate its members.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}/accounts", |
| "response": { |
| "$ref": "ListHeldAccountsResponse" |
| } |
| } |
| } |
| } |
| }, |
| "methods": { |
| "addHeldAccounts": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "request": { |
| "$ref": "AddHeldAccountsRequest" |
| }, |
| "path": "v1/matters/{matterId}/holds/{holdId}:addHeldAccounts", |
| "description": "Adds HeldAccounts to a hold. Returns a list of accounts that have been successfully added. Accounts can only be added to an existing account-based hold.", |
| "httpMethod": "POST", |
| "parameters": { |
| "holdId": { |
| "type": "string", |
| "description": "The hold ID.", |
| "required": true, |
| "location": "path" |
| }, |
| "matterId": { |
| "description": "The matter ID.", |
| "location": "path", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "id": "vault.matters.holds.addHeldAccounts", |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}:addHeldAccounts", |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "response": { |
| "$ref": "AddHeldAccountsResponse" |
| } |
| }, |
| "create": { |
| "httpMethod": "POST", |
| "path": "v1/matters/{matterId}/holds", |
| "parameters": { |
| "matterId": { |
| "required": true, |
| "location": "path", |
| "description": "The matter ID.", |
| "type": "string" |
| } |
| }, |
| "flatPath": "v1/matters/{matterId}/holds", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "description": "Creates a hold in the given matter.", |
| "response": { |
| "$ref": "Hold" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "id": "vault.matters.holds.create", |
| "request": { |
| "$ref": "Hold" |
| } |
| }, |
| "removeHeldAccounts": { |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "request": { |
| "$ref": "RemoveHeldAccountsRequest" |
| }, |
| "parameters": { |
| "holdId": { |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "The hold ID." |
| }, |
| "matterId": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "The matter ID." |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "httpMethod": "POST", |
| "id": "vault.matters.holds.removeHeldAccounts", |
| "path": "v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts", |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts", |
| "description": "Removes HeldAccounts from a hold. Returns a list of statuses in the same order as the request. If this request leaves the hold with no held accounts, the hold will not apply to any accounts.", |
| "response": { |
| "$ref": "RemoveHeldAccountsResponse" |
| } |
| }, |
| "get": { |
| "description": "Gets a hold by ID.", |
| "id": "vault.matters.holds.get", |
| "path": "v1/matters/{matterId}/holds/{holdId}", |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "parameters": { |
| "view": { |
| "enum": [ |
| "HOLD_VIEW_UNSPECIFIED", |
| "BASIC_HOLD", |
| "FULL_HOLD" |
| ], |
| "description": "Specifies which parts of the Hold to return.", |
| "location": "query", |
| "type": "string", |
| "enumDescriptions": [ |
| "There is no specified view. Defaults to FULL_HOLD.", |
| "Response includes the id, name, update time, corpus, and query.", |
| "Full representation of a Hold. Response includes all fields of 'BASIC' and the entities the Hold applies to, such as accounts, or OU." |
| ] |
| }, |
| "holdId": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "The hold ID." |
| }, |
| "matterId": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "The matter ID." |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}", |
| "httpMethod": "GET", |
| "response": { |
| "$ref": "Hold" |
| } |
| }, |
| "update": { |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "request": { |
| "$ref": "Hold" |
| }, |
| "description": "Updates the OU and/or query parameters of a hold. You cannot add accounts to a hold that covers an OU, nor can you add OUs to a hold that covers individual accounts. Accounts listed in the hold will be ignored.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "path": "v1/matters/{matterId}/holds/{holdId}", |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}", |
| "parameters": { |
| "holdId": { |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "The ID of the hold." |
| }, |
| "matterId": { |
| "type": "string", |
| "description": "The matter ID.", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "httpMethod": "PUT", |
| "response": { |
| "$ref": "Hold" |
| }, |
| "id": "vault.matters.holds.update" |
| }, |
| "delete": { |
| "parameters": { |
| "holdId": { |
| "description": "The hold ID.", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| }, |
| "matterId": { |
| "description": "The matter ID.", |
| "location": "path", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "path": "v1/matters/{matterId}/holds/{holdId}", |
| "parameterOrder": [ |
| "matterId", |
| "holdId" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "flatPath": "v1/matters/{matterId}/holds/{holdId}", |
| "id": "vault.matters.holds.delete", |
| "description": "Removes a hold by ID. This will release any HeldAccounts on this Hold.", |
| "httpMethod": "DELETE", |
| "response": { |
| "$ref": "Empty" |
| } |
| }, |
| "list": { |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "parameters": { |
| "pageSize": { |
| "location": "query", |
| "format": "int32", |
| "description": "The number of holds to return in the response, between 0 and 100 inclusive. Leaving this empty, or as 0, is the same as page_size = 100.", |
| "type": "integer" |
| }, |
| "pageToken": { |
| "description": "The pagination token as returned in the response. An empty token means start from the beginning.", |
| "type": "string", |
| "location": "query" |
| }, |
| "view": { |
| "description": "Specifies which parts of the Hold to return.", |
| "enum": [ |
| "HOLD_VIEW_UNSPECIFIED", |
| "BASIC_HOLD", |
| "FULL_HOLD" |
| ], |
| "type": "string", |
| "location": "query", |
| "enumDescriptions": [ |
| "There is no specified view. Defaults to FULL_HOLD.", |
| "Response includes the id, name, update time, corpus, and query.", |
| "Full representation of a Hold. Response includes all fields of 'BASIC' and the entities the Hold applies to, such as accounts, or OU." |
| ] |
| }, |
| "matterId": { |
| "location": "path", |
| "description": "The matter ID.", |
| "required": true, |
| "type": "string" |
| } |
| }, |
| "path": "v1/matters/{matterId}/holds", |
| "httpMethod": "GET", |
| "id": "vault.matters.holds.list", |
| "flatPath": "v1/matters/{matterId}/holds", |
| "response": { |
| "$ref": "ListHoldsResponse" |
| }, |
| "description": "Lists holds within a matter. An empty page token in ListHoldsResponse denotes no more holds to list.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ] |
| } |
| } |
| }, |
| "exports": { |
| "methods": { |
| "delete": { |
| "response": { |
| "$ref": "Empty" |
| }, |
| "id": "vault.matters.exports.delete", |
| "httpMethod": "DELETE", |
| "flatPath": "v1/matters/{matterId}/exports/{exportId}", |
| "parameters": { |
| "exportId": { |
| "type": "string", |
| "description": "The export ID.", |
| "location": "path", |
| "required": true |
| }, |
| "matterId": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "The matter ID." |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "description": "Deletes an Export.", |
| "path": "v1/matters/{matterId}/exports/{exportId}", |
| "parameterOrder": [ |
| "matterId", |
| "exportId" |
| ] |
| }, |
| "list": { |
| "id": "vault.matters.exports.list", |
| "parameters": { |
| "pageSize": { |
| "format": "int32", |
| "location": "query", |
| "type": "integer", |
| "description": "The number of exports to return in the response." |
| }, |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "The pagination token as returned in the response." |
| }, |
| "matterId": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "The matter ID." |
| } |
| }, |
| "path": "v1/matters/{matterId}/exports", |
| "response": { |
| "$ref": "ListExportsResponse" |
| }, |
| "description": "Lists Exports.", |
| "httpMethod": "GET", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "flatPath": "v1/matters/{matterId}/exports" |
| }, |
| "get": { |
| "flatPath": "v1/matters/{matterId}/exports/{exportId}", |
| "parameterOrder": [ |
| "matterId", |
| "exportId" |
| ], |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "description": "The matter ID.", |
| "required": true, |
| "type": "string" |
| }, |
| "exportId": { |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "The export ID." |
| } |
| }, |
| "path": "v1/matters/{matterId}/exports/{exportId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "id": "vault.matters.exports.get", |
| "httpMethod": "GET", |
| "description": "Gets an Export.", |
| "response": { |
| "$ref": "Export" |
| } |
| }, |
| "create": { |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "path": "v1/matters/{matterId}/exports", |
| "flatPath": "v1/matters/{matterId}/exports", |
| "request": { |
| "$ref": "Export" |
| }, |
| "id": "vault.matters.exports.create", |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "description": "The matter ID.", |
| "type": "string", |
| "required": true |
| } |
| }, |
| "description": "Creates an Export.", |
| "response": { |
| "$ref": "Export" |
| } |
| } |
| } |
| } |
| }, |
| "methods": { |
| "undelete": { |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "id": "vault.matters.undelete", |
| "path": "v1/matters/{matterId}:undelete", |
| "parameters": { |
| "matterId": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "The matter ID." |
| } |
| }, |
| "description": "Undeletes the specified matter. Returns matter with updated state.", |
| "request": { |
| "$ref": "UndeleteMatterRequest" |
| }, |
| "response": { |
| "$ref": "Matter" |
| }, |
| "httpMethod": "POST", |
| "flatPath": "v1/matters/{matterId}:undelete", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ] |
| }, |
| "list": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "httpMethod": "GET", |
| "parameterOrder": [], |
| "id": "vault.matters.list", |
| "response": { |
| "$ref": "ListMattersResponse" |
| }, |
| "parameters": { |
| "state": { |
| "location": "query", |
| "type": "string", |
| "enumDescriptions": [ |
| "The matter has no specified state.", |
| "This matter is open.", |
| "This matter is closed.", |
| "This matter is deleted." |
| ], |
| "enum": [ |
| "STATE_UNSPECIFIED", |
| "OPEN", |
| "CLOSED", |
| "DELETED" |
| ], |
| "description": "If set, list only matters with that specific state. The default is listing matters of all states." |
| }, |
| "pageToken": { |
| "type": "string", |
| "location": "query", |
| "description": "The pagination token as returned in the response." |
| }, |
| "view": { |
| "type": "string", |
| "enum": [ |
| "VIEW_UNSPECIFIED", |
| "BASIC", |
| "FULL" |
| ], |
| "location": "query", |
| "enumDescriptions": [ |
| "There is no specified view.", |
| "Response includes the matter_id, name, description, and state. Default choice.", |
| "Full representation of matter is returned. Everything above and including MatterPermissions list." |
| ], |
| "description": "Specifies which parts of the matter to return in response." |
| }, |
| "pageSize": { |
| "type": "integer", |
| "description": "The number of matters to return in the response. Default and maximum are 100.", |
| "location": "query", |
| "format": "int32" |
| } |
| }, |
| "flatPath": "v1/matters", |
| "path": "v1/matters", |
| "description": "Lists matters the user has access to." |
| }, |
| "close": { |
| "httpMethod": "POST", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "path": "v1/matters/{matterId}:close", |
| "id": "vault.matters.close", |
| "description": "Closes the specified matter. Returns matter with updated state.", |
| "response": { |
| "$ref": "CloseMatterResponse" |
| }, |
| "flatPath": "v1/matters/{matterId}:close", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "type": "string", |
| "required": true, |
| "description": "The matter ID." |
| } |
| }, |
| "request": { |
| "$ref": "CloseMatterRequest" |
| } |
| }, |
| "addPermissions": { |
| "path": "v1/matters/{matterId}:addPermissions", |
| "parameters": { |
| "matterId": { |
| "description": "The matter ID.", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "response": { |
| "$ref": "MatterPermission" |
| }, |
| "flatPath": "v1/matters/{matterId}:addPermissions", |
| "request": { |
| "$ref": "AddMatterPermissionsRequest" |
| }, |
| "httpMethod": "POST", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "id": "vault.matters.addPermissions", |
| "description": "Adds an account as a matter collaborator.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ] |
| }, |
| "get": { |
| "httpMethod": "GET", |
| "parameters": { |
| "view": { |
| "description": "Specifies which parts of the Matter to return in the response.", |
| "enum": [ |
| "VIEW_UNSPECIFIED", |
| "BASIC", |
| "FULL" |
| ], |
| "enumDescriptions": [ |
| "There is no specified view.", |
| "Response includes the matter_id, name, description, and state. Default choice.", |
| "Full representation of matter is returned. Everything above and including MatterPermissions list." |
| ], |
| "location": "query", |
| "type": "string" |
| }, |
| "matterId": { |
| "type": "string", |
| "location": "path", |
| "required": true, |
| "description": "The matter ID." |
| } |
| }, |
| "path": "v1/matters/{matterId}", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "flatPath": "v1/matters/{matterId}", |
| "description": "Gets the specified matter.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery", |
| "https://www.googleapis.com/auth/ediscovery.readonly" |
| ], |
| "response": { |
| "$ref": "Matter" |
| }, |
| "id": "vault.matters.get" |
| }, |
| "removePermissions": { |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "description": "Removes an account as a matter collaborator.", |
| "httpMethod": "POST", |
| "path": "v1/matters/{matterId}:removePermissions", |
| "request": { |
| "$ref": "RemoveMatterPermissionsRequest" |
| }, |
| "flatPath": "v1/matters/{matterId}:removePermissions", |
| "parameters": { |
| "matterId": { |
| "required": true, |
| "type": "string", |
| "location": "path", |
| "description": "The matter ID." |
| } |
| }, |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "id": "vault.matters.removePermissions", |
| "response": { |
| "$ref": "Empty" |
| } |
| }, |
| "count": { |
| "id": "vault.matters.count", |
| "response": { |
| "$ref": "Operation" |
| }, |
| "description": "Counts the artifacts within the context of a matter and returns a detailed breakdown of metrics.", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "request": { |
| "$ref": "CountArtifactsRequest" |
| }, |
| "path": "v1/matters/{matterId}:count", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "httpMethod": "POST", |
| "parameters": { |
| "matterId": { |
| "required": true, |
| "location": "path", |
| "description": "The matter ID.", |
| "type": "string" |
| } |
| }, |
| "flatPath": "v1/matters/{matterId}:count" |
| }, |
| "delete": { |
| "parameters": { |
| "matterId": { |
| "location": "path", |
| "required": true, |
| "type": "string", |
| "description": "The matter ID" |
| } |
| }, |
| "id": "vault.matters.delete", |
| "response": { |
| "$ref": "Matter" |
| }, |
| "flatPath": "v1/matters/{matterId}", |
| "path": "v1/matters/{matterId}", |
| "description": "Deletes the specified matter. Returns matter with updated state.", |
| "httpMethod": "DELETE", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ] |
| }, |
| "reopen": { |
| "path": "v1/matters/{matterId}:reopen", |
| "request": { |
| "$ref": "ReopenMatterRequest" |
| }, |
| "httpMethod": "POST", |
| "description": "Reopens the specified matter. Returns matter with updated state.", |
| "response": { |
| "$ref": "ReopenMatterResponse" |
| }, |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "id": "vault.matters.reopen", |
| "flatPath": "v1/matters/{matterId}:reopen", |
| "parameters": { |
| "matterId": { |
| "required": true, |
| "description": "The matter ID.", |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ] |
| }, |
| "update": { |
| "id": "vault.matters.update", |
| "parameterOrder": [ |
| "matterId" |
| ], |
| "parameters": { |
| "matterId": { |
| "required": true, |
| "description": "The matter ID.", |
| "location": "path", |
| "type": "string" |
| } |
| }, |
| "path": "v1/matters/{matterId}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "flatPath": "v1/matters/{matterId}", |
| "httpMethod": "PUT", |
| "response": { |
| "$ref": "Matter" |
| }, |
| "description": "Updates the specified matter. This updates only the name and description of the matter, identified by matter ID. Changes to any other fields are ignored. Returns the default view of the matter.", |
| "request": { |
| "$ref": "Matter" |
| } |
| }, |
| "create": { |
| "flatPath": "v1/matters", |
| "parameterOrder": [], |
| "id": "vault.matters.create", |
| "response": { |
| "$ref": "Matter" |
| }, |
| "description": "Creates a new matter with the given name and description. The initial state is open, and the owner is the method caller. Returns the created matter with default view.", |
| "request": { |
| "$ref": "Matter" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/ediscovery" |
| ], |
| "httpMethod": "POST", |
| "parameters": {}, |
| "path": "v1/matters" |
| } |
| } |
| } |
| }, |
| "name": "vault", |
| "ownerDomain": "google.com", |
| "title": "G Suite Vault API", |
| "ownerName": "Google", |
| "version_module": true, |
| "protocol": "rest", |
| "batchPath": "batch", |
| "discoveryVersion": "v1", |
| "version": "v1", |
| "rootUrl": "https://vault.googleapis.com/", |
| "icons": { |
| "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| }, |
| "basePath": "", |
| "kind": "discovery#restDescription", |
| "fullyEncodeReservedExpansion": true, |
| "revision": "20201117", |
| "description": "Archiving and eDiscovery for G Suite.", |
| "id": "vault:v1" |
| } |