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

Unified Diff: discovery/googleapis/vault__v1.json

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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
index c2d6caafb717a432f6e83630256e6efd8b593510..713d1b91c90b2ba4bc23ceda43c1b465565a6e86 100644
--- a/discovery/googleapis/vault__v1.json
+++ b/discovery/googleapis/vault__v1.json
@@ -16,45 +16,8 @@
"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\").",
+ "callback": {
+ "description": "JSONP",
"location": "query",
"type": "string"
},
@@ -71,11 +34,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -101,16 +59,58 @@
"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"
+ },
+ "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"
}
},
"protocol": "rest",
"resources": {
"matters": {
"methods": {
- "undelete": {
- "description": "Undeletes the specified matter. Returns matter with updated state.",
+ "close": {
+ "description": "Closes the specified matter. Returns matter with updated state.",
"httpMethod": "POST",
- "id": "vault.matters.undelete",
+ "id": "vault.matters.close",
"parameterOrder": [
"matterId"
],
@@ -122,12 +122,12 @@
"type": "string"
}
},
- "path": "v1/matters/{matterId}:undelete",
+ "path": "v1/matters/{matterId}:close",
"request": {
- "$ref": "UndeleteMatterRequest"
+ "$ref": "CloseMatterRequest"
},
"response": {
- "$ref": "Matter"
+ "$ref": "CloseMatterResponse"
}
},
"get": {
@@ -138,12 +138,6 @@
"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": [
@@ -153,6 +147,12 @@
],
"location": "query",
"type": "string"
+ },
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
}
},
"path": "v1/matters/{matterId}",
@@ -160,10 +160,10 @@
"$ref": "Matter"
}
},
- "close": {
- "description": "Closes the specified matter. Returns matter with updated state.",
+ "undelete": {
+ "description": "Undeletes the specified matter. Returns matter with updated state.",
"httpMethod": "POST",
- "id": "vault.matters.close",
+ "id": "vault.matters.undelete",
"parameterOrder": [
"matterId"
],
@@ -175,12 +175,12 @@
"type": "string"
}
},
- "path": "v1/matters/{matterId}:close",
+ "path": "v1/matters/{matterId}:undelete",
"request": {
- "$ref": "CloseMatterRequest"
+ "$ref": "UndeleteMatterRequest"
},
"response": {
- "$ref": "CloseMatterResponse"
+ "$ref": "Matter"
}
},
"update": {
@@ -226,6 +226,29 @@
"$ref": "Matter"
}
},
+ "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"
+ }
+ },
"list": {
"description": "Lists matters the user has access to.",
"httpMethod": "GET",
@@ -259,29 +282,6 @@
"$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",
@@ -381,6 +381,12 @@
"matterId"
],
"parameters": {
+ "matterId": {
+ "description": "The matter ID.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
"pageToken": {
"description": "The pagination token as returned in the response.\nAn empty token means start from the beginning.",
"location": "query",
@@ -391,12 +397,6 @@
"format": "int32",
"location": "query",
"type": "integer"
- },
- "matterId": {
- "description": "The matter ID.",
- "location": "path",
- "required": true,
- "type": "string"
}
},
"path": "v1/matters/{matterId}/holds",
@@ -440,14 +440,14 @@
"holdId"
],
"parameters": {
- "matterId": {
- "description": "The matter ID.",
+ "holdId": {
+ "description": "The ID of the hold.",
"location": "path",
"required": true,
"type": "string"
},
- "holdId": {
- "description": "The ID of the hold.",
+ "matterId": {
+ "description": "The matter ID.",
"location": "path",
"required": true,
"type": "string"
@@ -488,36 +488,6 @@
"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",
@@ -553,7 +523,7 @@
}
},
"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.",
+ "description": "Lists HeldAccounts for a hold. This will only list individually specified\nheld accounts. If the hold is on an OU, then use\n<a href=\"https://developers.google.com/admin-sdk/\">Admin SDK</a>\nto enumerate its members.",
"httpMethod": "GET",
"id": "vault.matters.holds.accounts.list",
"parameterOrder": [
@@ -561,22 +531,52 @@
"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",
+ "response": {
+ "$ref": "ListHeldAccountsResponse"
+ }
+ },
+ "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": "ListHeldAccountsResponse"
+ "$ref": "HeldAccount"
}
}
}
@@ -586,9 +586,84 @@
}
}
},
- "revision": "20170720",
+ "revision": "20170719",
"rootUrl": "https://vault.googleapis.com/",
"schemas": {
+ "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"
+ },
"CloseMatterResponse": {
"description": "Response to a CloseMatterRequest.",
"id": "CloseMatterResponse",
@@ -652,6 +727,10 @@
"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": {
+ "ccMe": {
+ "description": "Only relevant if send_emails is true.\nTrue to CC requestor in the email message.\nFalse to not CC requestor.",
+ "type": "boolean"
+ },
"sendEmails": {
"description": "True to send notification email to the added account.\nFalse to not send notification email.",
"type": "boolean"
@@ -659,10 +738,6 @@
"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"
@@ -671,6 +746,21 @@
"description": "Represents a matter.",
"id": "Matter",
"properties": {
+ "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"
+ },
"matterId": {
"description": "The matter ID which is generated by the server.\nShould be blank when creating a new matter.",
"type": "string"
@@ -690,21 +780,6 @@
"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"
@@ -719,7 +794,7 @@
"type": "string"
},
"accountId": {
- "description": "The account's ID as provided by the <a\nhref=\"https://developers.google.com/admin-sdk/\">Admin SDK</a>.",
+ "description": "The account's ID as provided by the\n<a href=\"https://developers.google.com/admin-sdk/\">Admin SDK</a>.",
"type": "string"
}
},
@@ -740,6 +815,10 @@
"description": "Corpus specific queries.",
"id": "CorpusQuery",
"properties": {
+ "driveQuery": {
+ "$ref": "HeldDriveQuery",
+ "description": "Details pertaining to Drive holds. If set, corpus must be Drive."
+ },
"groupsQuery": {
"$ref": "HeldGroupsQuery",
"description": "Details pertaining to Groups holds. If set, corpus must be Groups."
@@ -747,10 +826,6 @@
"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"
@@ -766,14 +841,14 @@
},
"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."
},
+ "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."
+ },
"corpus": {
"description": "The corpus to be searched.",
"enum": [
@@ -795,13 +870,13 @@
"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"
+ },
+ "name": {
+ "description": "The name of the hold.",
+ "type": "string"
}
},
"type": "object"
@@ -824,6 +899,12 @@
},
"type": "object"
},
+ "UndeleteMatterRequest": {
+ "description": "Undelete a matter by ID.",
+ "id": "UndeleteMatterRequest",
+ "properties": {},
+ "type": "object"
+ },
"ListHeldAccountsResponse": {
"description": "Returns a list of held accounts for a hold.",
"id": "ListHeldAccountsResponse",
@@ -838,103 +919,22 @@
},
"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"
- }
- },
+ "ReopenMatterRequest": {
+ "description": "Reopen a matter by ID.",
+ "id": "ReopenMatterRequest",
+ "properties": {},
"type": "object"
}
},
« 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