Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2698)

Unified Diff: discovery/googleapis/vault__v1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/translate__v2.json ('k') | discovery/googleapis/vision__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/vault__v1.json
diff --git a/discovery/googleapis/vault__v1.json b/discovery/googleapis/vault__v1.json
new file mode 100644
index 0000000000000000000000000000000000000000..c2d6caafb717a432f6e83630256e6efd8b593510
--- /dev/null
+++ b/discovery/googleapis/vault__v1.json
@@ -0,0 +1,944 @@
+{
+ "basePath": "",
+ "baseUrl": "https://vault.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Vault",
+ "description": "",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://apps.google.com/products/vault/",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "vault:v1",
+ "kind": "discovery#restDescription",
+ "name": "vault",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "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",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "matters": {
+ "methods": {
+ "undelete": {
+ "description": "Undeletes the specified matter. Returns matter with updated state.",
+ "httpMethod": "POST",
+ "id": "vault.matters.undelete",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}:undelete",
+ "request": {
+ "$ref": "UndeleteMatterRequest"
+ },
+ "response": {
+ "$ref": "Matter"
+ }
+ },
+ "get": {
+ "description": "Gets the specified matter.",
+ "httpMethod": "GET",
+ "id": "vault.matters.get",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "view": {
+ "description": "Specifies which parts of the Matter to return in the response.",
+ "enum": [
+ "VIEW_UNSPECIFIED",
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}",
+ "response": {
+ "$ref": "Matter"
+ }
+ },
+ "close": {
+ "description": "Closes the specified matter. Returns matter with updated state.",
+ "httpMethod": "POST",
+ "id": "vault.matters.close",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}:close",
+ "request": {
+ "$ref": "CloseMatterRequest"
+ },
+ "response": {
+ "$ref": "CloseMatterResponse"
+ }
+ },
+ "update": {
+ "description": "Updates the specified matter.\nThis updates only the name and description of the matter, identified by\nmatter id. Changes to any other fields are ignored.\nReturns the default view of the matter.",
+ "httpMethod": "PUT",
+ "id": "vault.matters.update",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}",
+ "request": {
+ "$ref": "Matter"
+ },
+ "response": {
+ "$ref": "Matter"
+ }
+ },
+ "delete": {
+ "description": "Deletes the specified matter. Returns matter with updated state.",
+ "httpMethod": "DELETE",
+ "id": "vault.matters.delete",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}",
+ "response": {
+ "$ref": "Matter"
+ }
+ },
+ "list": {
+ "description": "Lists matters the user has access to.",
+ "httpMethod": "GET",
+ "id": "vault.matters.list",
+ "parameterOrder": [],
+ "parameters": {
+ "pageToken": {
+ "description": "The pagination token as returned in the response.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The number of matters to return in the response.\nDefault and maximum are 100.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "view": {
+ "description": "Specifies which parts of the matter to return in response.",
+ "enum": [
+ "VIEW_UNSPECIFIED",
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "v1/matters",
+ "response": {
+ "$ref": "ListMattersResponse"
+ }
+ },
+ "addPermissions": {
+ "description": "Adds an account as a matter collaborator.",
+ "httpMethod": "POST",
+ "id": "vault.matters.addPermissions",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}:addPermissions",
+ "request": {
+ "$ref": "AddMatterPermissionsRequest"
+ },
+ "response": {
+ "$ref": "MatterPermission"
+ }
+ },
+ "create": {
+ "description": "Creates a new matter. Returns created matter with default view.",
+ "httpMethod": "POST",
+ "id": "vault.matters.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/matters",
+ "request": {
+ "$ref": "Matter"
+ },
+ "response": {
+ "$ref": "Matter"
+ }
+ },
+ "reopen": {
+ "description": "Reopens the specified matter. Returns matter with updated state.",
+ "httpMethod": "POST",
+ "id": "vault.matters.reopen",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}:reopen",
+ "request": {
+ "$ref": "ReopenMatterRequest"
+ },
+ "response": {
+ "$ref": "ReopenMatterResponse"
+ }
+ },
+ "removePermissions": {
+ "description": "Removes an account as a matter collaborator.",
+ "httpMethod": "POST",
+ "id": "vault.matters.removePermissions",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}:removePermissions",
+ "request": {
+ "$ref": "RemoveMatterPermissionsRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ }
+ }
+ },
+ "resources": {
+ "holds": {
+ "methods": {
+ "delete": {
+ "description": "Removes a hold by ID. This will release any HeldAccounts on this Hold.",
+ "httpMethod": "DELETE",
+ "id": "vault.matters.holds.delete",
+ "parameterOrder": [
+ "matterId",
+ "holdId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "holdId": {
+ "description": "The hold ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds/{holdId}",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "list": {
+ "description": "Lists holds within a matter. An empty page token in ListHoldsResponse\ndenotes no more holds to list.",
+ "httpMethod": "GET",
+ "id": "vault.matters.holds.list",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "pageToken": {
+ "description": "The pagination token as returned in the response.\nAn empty token means start from the beginning.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The number of holds to return in the response, between 0 and 100 inclusive.\nLeaving this empty, or as 0, is the same as page_size = 100.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds",
+ "response": {
+ "$ref": "ListHoldsResponse"
+ }
+ },
+ "get": {
+ "description": "Gets a hold by ID.",
+ "httpMethod": "GET",
+ "id": "vault.matters.holds.get",
+ "parameterOrder": [
+ "matterId",
+ "holdId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "holdId": {
+ "description": "The hold ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds/{holdId}",
+ "response": {
+ "$ref": "Hold"
+ }
+ },
+ "update": {
+ "description": "Updates the OU and/or query parameters of a hold. You cannot add accounts\nto a hold that covers an OU, nor can you add OUs to a hold that covers\nindividual accounts. Accounts listed in the hold will be ignored.",
+ "httpMethod": "PUT",
+ "id": "vault.matters.holds.update",
+ "parameterOrder": [
+ "matterId",
+ "holdId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "holdId": {
+ "description": "The ID of the hold.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds/{holdId}",
+ "request": {
+ "$ref": "Hold"
+ },
+ "response": {
+ "$ref": "Hold"
+ }
+ },
+ "create": {
+ "description": "Creates a hold in the given matter.",
+ "httpMethod": "POST",
+ "id": "vault.matters.holds.create",
+ "parameterOrder": [
+ "matterId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds",
+ "request": {
+ "$ref": "Hold"
+ },
+ "response": {
+ "$ref": "Hold"
+ }
+ }
+ },
+ "resources": {
+ "accounts": {
+ "methods": {
+ "create": {
+ "description": "Adds a HeldAccount to a hold. Accounts can only be added to a hold that\nhas no held_org_unit set. Attempting to add an account to an OU-based\nhold will result in an error.",
+ "httpMethod": "POST",
+ "id": "vault.matters.holds.accounts.create",
+ "parameterOrder": [
+ "matterId",
+ "holdId"
+ ],
+ "parameters": {
+ "holdId": {
+ "description": "The hold ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds/{holdId}/accounts",
+ "request": {
+ "$ref": "HeldAccount"
+ },
+ "response": {
+ "$ref": "HeldAccount"
+ }
+ },
+ "delete": {
+ "description": "Removes a HeldAccount from a hold. If this request leaves the hold with\nno held accounts, the hold will not apply to any accounts.",
+ "httpMethod": "DELETE",
+ "id": "vault.matters.holds.accounts.delete",
+ "parameterOrder": [
+ "matterId",
+ "holdId",
+ "accountId"
+ ],
+ "parameters": {
+ "holdId": {
+ "description": "The hold ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "accountId": {
+ "description": "The ID of the account to remove from the hold.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}",
+ "response": {
+ "$ref": "Empty"
+ }
+ },
+ "list": {
+ "description": "Lists HeldAccounts for a hold. This will only list individually specified\nheld accounts. If the hold is on an OU, then use the <ahref=\"https://developers.google.com/admin-sdk/\">Admin SDK</a>\nto enumerate its members.",
+ "httpMethod": "GET",
+ "id": "vault.matters.holds.accounts.list",
+ "parameterOrder": [
+ "matterId",
+ "holdId"
+ ],
+ "parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "holdId": {
+ "description": "The hold ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/matters/{matterId}/holds/{holdId}/accounts",
+ "response": {
+ "$ref": "ListHeldAccountsResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20170720",
+ "rootUrl": "https://vault.googleapis.com/",
+ "schemas": {
+ "CloseMatterResponse": {
+ "description": "Response to a CloseMatterRequest.",
+ "id": "CloseMatterResponse",
+ "properties": {
+ "matter": {
+ "$ref": "Matter",
+ "description": "The updated matter, with state CLOSED."
+ }
+ },
+ "type": "object"
+ },
+ "HeldGroupsQuery": {
+ "description": "Query options for group holds.",
+ "id": "HeldGroupsQuery",
+ "properties": {
+ "startTime": {
+ "description": "The start date range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "terms": {
+ "description": "The search terms for the hold.",
+ "type": "string"
+ },
+ "endTime": {
+ "description": "The end date range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "HeldDriveQuery": {
+ "description": "Query options for drive holds.",
+ "id": "HeldDriveQuery",
+ "properties": {
+ "includeTeamDriveFiles": {
+ "description": "If true, include files in Team Drives in the hold.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "HeldOrgUnit": {
+ "description": "A organizational unit being held in a particular hold.\nThis structure is immutable.",
+ "id": "HeldOrgUnit",
+ "properties": {
+ "orgUnitId": {
+ "description": "The org unit's immutable ID as provided by the admin SDK.",
+ "type": "string"
+ },
+ "holdTime": {
+ "description": "When the org unit was put on hold. This property is immutable.",
+ "format": "google-datetime",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AddMatterPermissionsRequest": {
+ "description": "Add an account with the permission specified. The role cannot be owner.\nIf an account already has a role in the matter, it will be\noverwritten.",
+ "id": "AddMatterPermissionsRequest",
+ "properties": {
+ "sendEmails": {
+ "description": "True to send notification email to the added account.\nFalse to not send notification email.",
+ "type": "boolean"
+ },
+ "matterPermission": {
+ "$ref": "MatterPermission",
+ "description": "The MatterPermission to add."
+ },
+ "ccMe": {
+ "description": "Only relevant if send_emails is true.\nTrue to CC requestor in the email message.\nFalse to not CC requestor.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Matter": {
+ "description": "Represents a matter.",
+ "id": "Matter",
+ "properties": {
+ "matterId": {
+ "description": "The matter ID which is generated by the server.\nShould be blank when creating a new matter.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The state of the matter.",
+ "enum": [
+ "STATE_UNSPECIFIED",
+ "OPEN",
+ "CLOSED",
+ "DELETED"
+ ],
+ "enumDescriptions": [
+ "The matter has no specified state.",
+ "This matter is open.",
+ "This matter is closed.",
+ "This matter is deleted."
+ ],
+ "type": "string"
+ },
+ "matterPermissions": {
+ "description": "List of users and access to the matter. Currently there is no programmer\ndefined limit on the number of permissions a matter can have.",
+ "items": {
+ "$ref": "MatterPermission"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "The name of the matter.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the matter.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "HeldAccount": {
+ "description": "An account being held in a particular hold. This structure is immutable.\nThis can be either a single user or a google group, depending on the corpus.",
+ "id": "HeldAccount",
+ "properties": {
+ "holdTime": {
+ "description": "When the account was put on hold.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "accountId": {
+ "description": "The account's ID as provided by the <a\nhref=\"https://developers.google.com/admin-sdk/\">Admin SDK</a>.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ReopenMatterResponse": {
+ "description": "Response to a ReopenMatterRequest.",
+ "id": "ReopenMatterResponse",
+ "properties": {
+ "matter": {
+ "$ref": "Matter",
+ "description": "The updated matter, with state OPEN."
+ }
+ },
+ "type": "object"
+ },
+ "CorpusQuery": {
+ "description": "Corpus specific queries.",
+ "id": "CorpusQuery",
+ "properties": {
+ "groupsQuery": {
+ "$ref": "HeldGroupsQuery",
+ "description": "Details pertaining to Groups holds. If set, corpus must be Groups."
+ },
+ "mailQuery": {
+ "$ref": "HeldMailQuery",
+ "description": "Details pertaining to mail holds. If set, corpus must be mail."
+ },
+ "driveQuery": {
+ "$ref": "HeldDriveQuery",
+ "description": "Details pertaining to Drive holds. If set, corpus must be Drive."
+ }
+ },
+ "type": "object"
+ },
+ "Hold": {
+ "description": "Represents a hold within Vault. A hold restricts purging of\nartifacts based on the combination of the query and accounts restrictions.\nA hold can be configured to either apply to an explicitly configured set\nof accounts, or can be applied to all members of an organizational unit.",
+ "id": "Hold",
+ "properties": {
+ "accounts": {
+ "description": "If set, the hold applies to the enumerated accounts and org_unit must be\nempty.",
+ "items": {
+ "$ref": "HeldAccount"
+ },
+ "type": "array"
+ },
+ "orgUnit": {
+ "$ref": "HeldOrgUnit",
+ "description": "If set, the hold applies to all members of the organizational unit and\naccounts must be empty. This property is mutable. For groups holds,\nset the accounts field."
+ },
+ "query": {
+ "$ref": "CorpusQuery",
+ "description": "The corpus-specific query. If set, the corpusQuery must match corpus\ntype."
+ },
+ "corpus": {
+ "description": "The corpus to be searched.",
+ "enum": [
+ "CORPUS_TYPE_UNSPECIFIED",
+ "DRIVE",
+ "MAIL",
+ "GROUPS"
+ ],
+ "enumDescriptions": [
+ "No corpus specified.",
+ "Drive.",
+ "Mail.",
+ "Groups."
+ ],
+ "type": "string"
+ },
+ "updateTime": {
+ "description": "The last time this hold was modified.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the hold.",
+ "type": "string"
+ },
+ "holdId": {
+ "description": "The unique immutable ID of the hold. Assigned during creation.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListHoldsResponse": {
+ "description": "The holds for a matter.",
+ "id": "ListHoldsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Page token to retrieve the next page of results in the list.\nIf this is empty, then there are no more holds to list.",
+ "type": "string"
+ },
+ "holds": {
+ "description": "The list of holds.",
+ "items": {
+ "$ref": "Hold"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "ListHeldAccountsResponse": {
+ "description": "Returns a list of held accounts for a hold.",
+ "id": "ListHeldAccountsResponse",
+ "properties": {
+ "accounts": {
+ "description": "The held accounts on a hold.",
+ "items": {
+ "$ref": "HeldAccount"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "UndeleteMatterRequest": {
+ "description": "Undelete a matter by ID.",
+ "id": "UndeleteMatterRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
+ "id": "Empty",
+ "properties": {},
+ "type": "object"
+ },
+ "ReopenMatterRequest": {
+ "description": "Reopen a matter by ID.",
+ "id": "ReopenMatterRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "CloseMatterRequest": {
+ "description": "Close a matter by ID.",
+ "id": "CloseMatterRequest",
+ "properties": {},
+ "type": "object"
+ },
+ "RemoveMatterPermissionsRequest": {
+ "description": "Remove an account as a matter collaborator.",
+ "id": "RemoveMatterPermissionsRequest",
+ "properties": {
+ "accountId": {
+ "description": "The account ID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MatterPermission": {
+ "description": "Currently each matter only has one owner, and all others are collaborators.\nWhen an account is purged, its corresponding MatterPermission resources\ncease to exist.",
+ "id": "MatterPermission",
+ "properties": {
+ "accountId": {
+ "description": "The account id, as provided by <a href=\"https://developers.google.com/admin-sdk/\">Admin SDK</a>.",
+ "type": "string"
+ },
+ "role": {
+ "description": "The user's role in this matter.",
+ "enum": [
+ "ROLE_UNSPECIFIED",
+ "COLLABORATOR",
+ "OWNER"
+ ],
+ "enumDescriptions": [
+ "No role assigned.",
+ "A collaborator to the matter.",
+ "The owner of the matter."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListMattersResponse": {
+ "description": "Provides the list of matters.",
+ "id": "ListMattersResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Page token to retrieve the next page of results in the list.",
+ "type": "string"
+ },
+ "matters": {
+ "description": "List of matters.",
+ "items": {
+ "$ref": "Matter"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "HeldMailQuery": {
+ "description": "Query options for mail holds.",
+ "id": "HeldMailQuery",
+ "properties": {
+ "endTime": {
+ "description": "The end date range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The start date range for the search query. These timestamps are in GMT and\nrounded down to the start of the given date.",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "terms": {
+ "description": "The search terms for the hold.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Google Vault API",
+ "version": "v1"
+}
« no previous file with comments | « discovery/googleapis/translate__v2.json ('k') | discovery/googleapis/vision__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698