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

Side by Side Diff: discovery/googleapis_beta/dlp__v2beta1.json

Issue 2973303002: Api-Roll 51: 2017-07-10 (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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://dlp.googleapis.com/", 12 "baseUrl": "https://dlp.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "DLP", 14 "canonicalName": "DLP",
15 "description": "The Google Data Loss Prevention API provides methods for det ection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.", 15 "description": "The Google Data Loss Prevention API provides methods for det ection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/dlp/docs/", 17 "documentationLink": "https://cloud.google.com/dlp/docs/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "dlp:v2beta1", 22 "id": "dlp:v2beta1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "dlp", 24 "name": "dlp",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "pp": { 28 "uploadType": {
29 "default": "true", 29 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
30 "description": "Pretty-print response.",
31 "location": "query",
32 "type": "boolean"
33 },
34 "bearer_token": {
35 "description": "OAuth bearer token.",
36 "location": "query", 30 "location": "query",
37 "type": "string" 31 "type": "string"
38 }, 32 },
39 "oauth_token": {
40 "description": "OAuth 2.0 token for the current user.",
41 "location": "query",
42 "type": "string"
43 },
44 "upload_protocol": {
45 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
46 "location": "query",
47 "type": "string"
48 },
49 "prettyPrint": {
50 "default": "true",
51 "description": "Returns response with indentations and line breaks." ,
52 "location": "query",
53 "type": "boolean"
54 },
55 "fields": { 33 "fields": {
56 "description": "Selector specifying which fields to include in a par tial response.", 34 "description": "Selector specifying which fields to include in a par tial response.",
57 "location": "query", 35 "location": "query",
58 "type": "string" 36 "type": "string"
59 }, 37 },
60 "uploadType": { 38 "callback": {
61 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 39 "description": "JSONP",
62 "location": "query", 40 "location": "query",
63 "type": "string" 41 "type": "string"
64 }, 42 },
65 "$.xgafv": { 43 "$.xgafv": {
66 "description": "V1 error format.", 44 "description": "V1 error format.",
67 "enum": [ 45 "enum": [
68 "1", 46 "1",
69 "2" 47 "2"
70 ], 48 ],
71 "enumDescriptions": [ 49 "enumDescriptions": [
72 "v1 error format", 50 "v1 error format",
73 "v2 error format" 51 "v2 error format"
74 ], 52 ],
75 "location": "query", 53 "location": "query",
76 "type": "string" 54 "type": "string"
77 }, 55 },
78 "callback": {
79 "description": "JSONP",
80 "location": "query",
81 "type": "string"
82 },
83 "alt": { 56 "alt": {
84 "default": "json", 57 "default": "json",
85 "description": "Data format for response.", 58 "description": "Data format for response.",
86 "enum": [ 59 "enum": [
87 "json", 60 "json",
88 "media", 61 "media",
89 "proto" 62 "proto"
90 ], 63 ],
91 "enumDescriptions": [ 64 "enumDescriptions": [
92 "Responses with Content-Type of application/json", 65 "Responses with Content-Type of application/json",
(...skipping 10 matching lines...) Expand all
103 }, 76 },
104 "access_token": { 77 "access_token": {
105 "description": "OAuth access token.", 78 "description": "OAuth access token.",
106 "location": "query", 79 "location": "query",
107 "type": "string" 80 "type": "string"
108 }, 81 },
109 "quotaUser": { 82 "quotaUser": {
110 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 83 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
111 "location": "query", 84 "location": "query",
112 "type": "string" 85 "type": "string"
86 },
87 "pp": {
88 "default": "true",
89 "description": "Pretty-print response.",
90 "location": "query",
91 "type": "boolean"
92 },
93 "oauth_token": {
94 "description": "OAuth 2.0 token for the current user.",
95 "location": "query",
96 "type": "string"
97 },
98 "bearer_token": {
99 "description": "OAuth bearer token.",
100 "location": "query",
101 "type": "string"
102 },
103 "upload_protocol": {
104 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
105 "location": "query",
106 "type": "string"
107 },
108 "prettyPrint": {
109 "default": "true",
110 "description": "Returns response with indentations and line breaks." ,
111 "location": "query",
112 "type": "boolean"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "rootCategories": {
118 "methods": {
119 "list": {
120 "description": "Returns the list of root categories of sensi tive information.",
121 "httpMethod": "GET",
122 "id": "dlp.rootCategories.list",
123 "parameterOrder": [],
124 "parameters": {
125 "languageCode": {
126 "description": "Optional language code for localized friendly category names.\nIf omitted or if localized strings are not available, \nen-US strings will be returned.",
127 "location": "query",
128 "type": "string"
129 }
130 },
131 "path": "v2beta1/rootCategories",
132 "response": {
133 "$ref": "GooglePrivacyDlpV2beta1ListRootCategoriesRespon se"
134 },
135 "scopes": [
136 "https://www.googleapis.com/auth/cloud-platform"
137 ]
138 }
139 },
140 "resources": {
141 "infoTypes": {
142 "methods": {
143 "list": {
144 "description": "Returns sensitive information types for given category.",
145 "httpMethod": "GET",
146 "id": "dlp.rootCategories.infoTypes.list",
147 "parameterOrder": [
148 "category"
149 ],
150 "parameters": {
151 "category": {
152 "description": "Category name as returned by ListRootCategories.",
153 "location": "path",
154 "pattern": "^[^/]+$",
155 "required": true,
156 "type": "string"
157 },
158 "languageCode": {
159 "description": "Optional BCP-47 language cod e for localized info type friendly\nnames. If omitted, or if localized strings a re not available,\nen-US strings will be returned.",
160 "location": "query",
161 "type": "string"
162 }
163 },
164 "path": "v2beta1/rootCategories/{+category}/infoType s",
165 "response": {
166 "$ref": "GooglePrivacyDlpV2beta1ListInfoTypesRes ponse"
167 },
168 "scopes": [
169 "https://www.googleapis.com/auth/cloud-platform"
170 ]
171 }
172 }
173 }
174 }
175 },
176 "content": {
177 "methods": {
178 "inspect": {
179 "description": "Finds potentially sensitive info in a list o f strings.\nThis method has limits on input size, processing time, and output si ze.",
180 "httpMethod": "POST",
181 "id": "dlp.content.inspect",
182 "parameterOrder": [],
183 "parameters": {},
184 "path": "v2beta1/content:inspect",
185 "request": {
186 "$ref": "GooglePrivacyDlpV2beta1InspectContentRequest"
187 },
188 "response": {
189 "$ref": "GooglePrivacyDlpV2beta1InspectContentResponse"
190 },
191 "scopes": [
192 "https://www.googleapis.com/auth/cloud-platform"
193 ]
194 },
195 "redact": {
196 "description": "Redacts potentially sensitive info from a li st of strings.\nThis method has limits on input size, processing time, and outpu t size.",
197 "httpMethod": "POST",
198 "id": "dlp.content.redact",
199 "parameterOrder": [],
200 "parameters": {},
201 "path": "v2beta1/content:redact",
202 "request": {
203 "$ref": "GooglePrivacyDlpV2beta1RedactContentRequest"
204 },
205 "response": {
206 "$ref": "GooglePrivacyDlpV2beta1RedactContentResponse"
207 },
208 "scopes": [
209 "https://www.googleapis.com/auth/cloud-platform"
210 ]
211 }
212 }
213 },
117 "inspect": { 214 "inspect": {
118 "resources": { 215 "resources": {
119 "results": { 216 "results": {
120 "resources": { 217 "resources": {
121 "findings": { 218 "findings": {
122 "methods": { 219 "methods": {
123 "list": { 220 "list": {
124 "description": "Returns list of results for given inspect operation result set id.", 221 "description": "Returns list of results for given inspect operation result set id.",
125 "httpMethod": "GET", 222 "httpMethod": "GET",
126 "id": "dlp.inspect.results.findings.list", 223 "id": "dlp.inspect.results.findings.list",
127 "parameterOrder": [ 224 "parameterOrder": [
128 "name" 225 "name"
129 ], 226 ],
130 "parameters": { 227 "parameters": {
131 "pageSize": {
132 "description": "Maximum number of re sults to return.\nIf 0, the implementation select a reasonable value.",
133 "format": "int32",
134 "location": "query",
135 "type": "integer"
136 },
137 "filter": { 228 "filter": {
138 "description": "Restrict findings to items that match. Supports info_type and likelihood.\n<p>Examples:<br/>\n<li>in fo_type=EMAIL_ADDRESS\n<li>info_type=PHONE_NUMBER,EMAIL_ADDRESS\n<li>likelihood= VERY_LIKELY\n<li>likelihood=VERY_LIKELY,LIKELY\n<li>info_type=EMAIL_ADDRESS,like lihood=VERY_LIKELY,LIKELY", 229 "description": "Restricts findings t o items that match. Supports info_type and likelihood.\n<p>Examples:<br/>\n<li>i nfo_type=EMAIL_ADDRESS\n<li>info_type=PHONE_NUMBER,EMAIL_ADDRESS\n<li>likelihood =VERY_LIKELY\n<li>likelihood=VERY_LIKELY,LIKELY\n<li>info_type=EMAIL_ADDRESS,lik elihood=VERY_LIKELY,LIKELY",
139 "location": "query", 230 "location": "query",
140 "type": "string" 231 "type": "string"
141 }, 232 },
142 "pageToken": { 233 "pageToken": {
143 "description": "The value returned b y the last `ListInspectFindingsResponse`; indicates\nthat this is a continuation of a prior `ListInspectFindings` call, and that\nthe system should return the n ext page of data.", 234 "description": "The value returned b y the last `ListInspectFindingsResponse`; indicates\nthat this is a continuation of a prior `ListInspectFindings` call, and that\nthe system should return the n ext page of data.",
144 "location": "query", 235 "location": "query",
145 "type": "string" 236 "type": "string"
146 }, 237 },
147 "name": { 238 "name": {
148 "description": "Identifier of the re sults set returned as metadata of\nthe longrunning operation created by a call t o CreateInspectOperation.\nShould be in the format of `inspect/results/{id}.", 239 "description": "Identifier of the re sults set returned as metadata of\nthe longrunning operation created by a call t o CreateInspectOperation.\nShould be in the format of `inspect/results/{id}.",
149 "location": "path", 240 "location": "path",
150 "pattern": "^inspect/results/[^/]+$" , 241 "pattern": "^inspect/results/[^/]+$" ,
151 "required": true, 242 "required": true,
152 "type": "string" 243 "type": "string"
244 },
245 "pageSize": {
246 "description": "Maximum number of re sults to return.\nIf 0, the implementation selects a reasonable value.",
247 "format": "int32",
248 "location": "query",
249 "type": "integer"
153 } 250 }
154 }, 251 },
155 "path": "v2beta1/{+name}/findings", 252 "path": "v2beta1/{+name}/findings",
156 "response": { 253 "response": {
157 "$ref": "ListInspectFindingsResponse" 254 "$ref": "GooglePrivacyDlpV2beta1ListInsp ectFindingsResponse"
158 }, 255 },
159 "scopes": [ 256 "scopes": [
160 "https://www.googleapis.com/auth/cloud-p latform" 257 "https://www.googleapis.com/auth/cloud-p latform"
161 ] 258 ]
162 } 259 }
163 } 260 }
164 } 261 }
165 } 262 }
166 }, 263 },
167 "operations": { 264 "operations": {
168 "methods": { 265 "methods": {
169 "create": {
170 "description": "Schedule a job scanning content in a Google Cloud Platform data repository.",
171 "httpMethod": "POST",
172 "id": "dlp.inspect.operations.create",
173 "parameterOrder": [],
174 "parameters": {},
175 "path": "v2beta1/inspect/operations",
176 "request": {
177 "$ref": "CreateInspectOperationRequest"
178 },
179 "response": {
180 "$ref": "Operation"
181 },
182 "scopes": [
183 "https://www.googleapis.com/auth/cloud-platform"
184 ]
185 },
186 "cancel": { 266 "cancel": {
187 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.", 267 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.",
188 "httpMethod": "POST", 268 "httpMethod": "POST",
189 "id": "dlp.inspect.operations.cancel", 269 "id": "dlp.inspect.operations.cancel",
190 "parameterOrder": [ 270 "parameterOrder": [
191 "name" 271 "name"
192 ], 272 ],
193 "parameters": { 273 "parameters": {
194 "name": { 274 "name": {
195 "description": "The name of the operation re source to be cancelled.", 275 "description": "The name of the operation re source to be cancelled.",
196 "location": "path", 276 "location": "path",
197 "pattern": "^inspect/operations/[^/]+$", 277 "pattern": "^inspect/operations/[^/]+$",
198 "required": true, 278 "required": true,
199 "type": "string" 279 "type": "string"
200 } 280 }
201 }, 281 },
202 "path": "v2beta1/{+name}:cancel", 282 "path": "v2beta1/{+name}:cancel",
203 "request": { 283 "request": {
204 "$ref": "CancelOperationRequest" 284 "$ref": "GoogleLongrunningCancelOperationRequest "
205 }, 285 },
206 "response": { 286 "response": {
207 "$ref": "Empty" 287 "$ref": "GoogleProtobufEmpty"
208 }, 288 },
209 "scopes": [ 289 "scopes": [
210 "https://www.googleapis.com/auth/cloud-platform" 290 "https://www.googleapis.com/auth/cloud-platform"
211 ] 291 ]
212 }, 292 },
213 "delete": { 293 "delete": {
214 "description": "This method is not supported and the server returns `UNIMPLEMENTED`.", 294 "description": "This method is not supported and the server returns `UNIMPLEMENTED`.",
215 "httpMethod": "DELETE", 295 "httpMethod": "DELETE",
216 "id": "dlp.inspect.operations.delete", 296 "id": "dlp.inspect.operations.delete",
217 "parameterOrder": [ 297 "parameterOrder": [
218 "name" 298 "name"
219 ], 299 ],
220 "parameters": { 300 "parameters": {
221 "name": { 301 "name": {
222 "description": "The name of the operation re source to be deleted.", 302 "description": "The name of the operation re source to be deleted.",
223 "location": "path", 303 "location": "path",
224 "pattern": "^inspect/operations/[^/]+$", 304 "pattern": "^inspect/operations/[^/]+$",
225 "required": true, 305 "required": true,
226 "type": "string" 306 "type": "string"
227 } 307 }
228 }, 308 },
229 "path": "v2beta1/{+name}", 309 "path": "v2beta1/{+name}",
230 "response": { 310 "response": {
231 "$ref": "Empty" 311 "$ref": "GoogleProtobufEmpty"
232 }, 312 },
233 "scopes": [ 313 "scopes": [
234 "https://www.googleapis.com/auth/cloud-platform" 314 "https://www.googleapis.com/auth/cloud-platform"
235 ] 315 ]
236 }, 316 },
237 "get": { 317 "get": {
238 "description": "Gets the latest state of a long-runn ing operation. Clients can use this\nmethod to poll the operation result at int ervals as recommended by the API\nservice.", 318 "description": "Gets the latest state of a long-runn ing operation. Clients can use this\nmethod to poll the operation result at int ervals as recommended by the API\nservice.",
239 "httpMethod": "GET", 319 "httpMethod": "GET",
240 "id": "dlp.inspect.operations.get", 320 "id": "dlp.inspect.operations.get",
241 "parameterOrder": [ 321 "parameterOrder": [
242 "name" 322 "name"
243 ], 323 ],
244 "parameters": { 324 "parameters": {
245 "name": { 325 "name": {
246 "description": "The name of the operation re source.", 326 "description": "The name of the operation re source.",
247 "location": "path", 327 "location": "path",
248 "pattern": "^inspect/operations/[^/]+$", 328 "pattern": "^inspect/operations/[^/]+$",
249 "required": true, 329 "required": true,
250 "type": "string" 330 "type": "string"
251 } 331 }
252 }, 332 },
253 "path": "v2beta1/{+name}", 333 "path": "v2beta1/{+name}",
254 "response": { 334 "response": {
255 "$ref": "Operation" 335 "$ref": "GoogleLongrunningOperation"
256 }, 336 },
257 "scopes": [ 337 "scopes": [
258 "https://www.googleapis.com/auth/cloud-platform" 338 "https://www.googleapis.com/auth/cloud-platform"
259 ] 339 ]
260 }, 340 },
261 "list": { 341 "list": {
262 "description": "Lists operations that match the spec ified filter in the request. If the\nserver doesn't support this method, it retu rns `UNIMPLEMENTED`.\n\nNOTE: the `name` binding allows API services to override the binding\nto use different resource name schemes, such as `users/*/operation s`. To\noverride the binding, API services can add a binding such as\n`\"/v1/{na me=users/*}/operations\"` to their service configuration.\nFor backwards compati bility, the default name includes the operations\ncollection id, however overrid ing users must ensure the name binding\nis the parent resource, without the oper ations collection id.", 342 "description": "Fetch the list of long running opera tions.",
263 "httpMethod": "GET", 343 "httpMethod": "GET",
264 "id": "dlp.inspect.operations.list", 344 "id": "dlp.inspect.operations.list",
265 "parameterOrder": [ 345 "parameterOrder": [
266 "name" 346 "name"
267 ], 347 ],
268 "parameters": { 348 "parameters": {
269 "pageSize": {
270 "description": "The list page size. The max allowed value is 256 and default is 100.",
271 "format": "int32",
272 "location": "query",
273 "type": "integer"
274 },
275 "filter": { 349 "filter": {
276 "description": "This parameter supports filt ering by done, ie done=true or done=false.", 350 "description": "This parameter supports filt ering by done, ie done=true or done=false.",
277 "location": "query", 351 "location": "query",
278 "type": "string" 352 "type": "string"
279 }, 353 },
280 "pageToken": { 354 "pageToken": {
281 "description": "The list page token.", 355 "description": "The standard list page token .",
282 "location": "query", 356 "location": "query",
283 "type": "string" 357 "type": "string"
284 }, 358 },
285 "name": { 359 "name": {
286 "description": "The name of the operation's parent resource.", 360 "description": "The name of the operation's parent resource.",
287 "location": "path", 361 "location": "path",
288 "pattern": "^inspect/operations$", 362 "pattern": "^inspect/operations$",
289 "required": true, 363 "required": true,
290 "type": "string" 364 "type": "string"
365 },
366 "pageSize": {
367 "description": "The list page size. The max allowed value is 256 and default is 100.",
368 "format": "int32",
369 "location": "query",
370 "type": "integer"
291 } 371 }
292 }, 372 },
293 "path": "v2beta1/{+name}", 373 "path": "v2beta1/{+name}",
294 "response": { 374 "response": {
295 "$ref": "ListOperationsResponse" 375 "$ref": "GoogleLongrunningListOperationsResponse "
296 }, 376 },
297 "scopes": [ 377 "scopes": [
298 "https://www.googleapis.com/auth/cloud-platform" 378 "https://www.googleapis.com/auth/cloud-platform"
299 ] 379 ]
300 } 380 },
301 } 381 "create": {
302 } 382 "description": "Schedules a job scanning content in a Google Cloud Platform data\nrepository.",
303 } 383 "httpMethod": "POST",
304 }, 384 "id": "dlp.inspect.operations.create",
305 "rootCategories": { 385 "parameterOrder": [],
306 "methods": { 386 "parameters": {},
307 "list": { 387 "path": "v2beta1/inspect/operations",
308 "description": "Returns the list of root categories of sensi tive information.", 388 "request": {
309 "httpMethod": "GET", 389 "$ref": "GooglePrivacyDlpV2beta1CreateInspectOpe rationRequest"
310 "id": "dlp.rootCategories.list",
311 "parameterOrder": [],
312 "parameters": {
313 "languageCode": {
314 "description": "Optional language code for localized friendly category names.\nIf omitted or if localized strings are not available, \nen-US strings will be returned.",
315 "location": "query",
316 "type": "string"
317 }
318 },
319 "path": "v2beta1/rootCategories",
320 "response": {
321 "$ref": "ListRootCategoriesResponse"
322 },
323 "scopes": [
324 "https://www.googleapis.com/auth/cloud-platform"
325 ]
326 }
327 },
328 "resources": {
329 "infoTypes": {
330 "methods": {
331 "list": {
332 "description": "Returns sensitive information types for given category.",
333 "httpMethod": "GET",
334 "id": "dlp.rootCategories.infoTypes.list",
335 "parameterOrder": [
336 "category"
337 ],
338 "parameters": {
339 "category": {
340 "description": "Category name as returned by ListRootCategories.",
341 "location": "path",
342 "pattern": "^[^/]+$",
343 "required": true,
344 "type": "string"
345 },
346 "languageCode": {
347 "description": "Optional BCP-47 language cod e for localized info type friendly\nnames. If omitted, or if localized strings a re not available,\nen-US strings will be returned.",
348 "location": "query",
349 "type": "string"
350 }
351 }, 390 },
352 "path": "v2beta1/rootCategories/{+category}/infoType s",
353 "response": { 391 "response": {
354 "$ref": "ListInfoTypesResponse" 392 "$ref": "GoogleLongrunningOperation"
355 }, 393 },
356 "scopes": [ 394 "scopes": [
357 "https://www.googleapis.com/auth/cloud-platform" 395 "https://www.googleapis.com/auth/cloud-platform"
358 ] 396 ]
359 } 397 }
360 } 398 }
361 } 399 }
362 } 400 }
363 },
364 "content": {
365 "methods": {
366 "inspect": {
367 "description": "Find potentially sensitive info in a list of strings.\nThis method has limits on input size, processing time, and output siz e.",
368 "httpMethod": "POST",
369 "id": "dlp.content.inspect",
370 "parameterOrder": [],
371 "parameters": {},
372 "path": "v2beta1/content:inspect",
373 "request": {
374 "$ref": "InspectContentRequest"
375 },
376 "response": {
377 "$ref": "InspectContentResponse"
378 },
379 "scopes": [
380 "https://www.googleapis.com/auth/cloud-platform"
381 ]
382 },
383 "redact": {
384 "description": "Redact potentially sensitive info from a lis t of strings.\nThis method has limits on input size, processing time, and output size.",
385 "httpMethod": "POST",
386 "id": "dlp.content.redact",
387 "parameterOrder": [],
388 "parameters": {},
389 "path": "v2beta1/content:redact",
390 "request": {
391 "$ref": "RedactContentRequest"
392 },
393 "response": {
394 "$ref": "RedactContentResponse"
395 },
396 "scopes": [
397 "https://www.googleapis.com/auth/cloud-platform"
398 ]
399 }
400 }
401 } 401 }
402 }, 402 },
403 "revision": "20170530", 403 "revision": "20170707",
404 "rootUrl": "https://dlp.googleapis.com/", 404 "rootUrl": "https://dlp.googleapis.com/",
405 "schemas": { 405 "schemas": {
406 "Finding": { 406 "GooglePrivacyDlpV2beta1OutputStorageConfig": {
407 "description": "Container structure describing a single finding with in a string or image.", 407 "description": "Cloud repository for storing output.",
408 "id": "Finding", 408 "id": "GooglePrivacyDlpV2beta1OutputStorageConfig",
409 "properties": { 409 "properties": {
410 "createTime": { 410 "storagePath": {
411 "description": "Timestamp when finding was detected.", 411 "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath",
412 "format": "google-datetime", 412 "description": "The path to a Google Cloud Storage location to store output."
413 }
414 },
415 "type": "object"
416 },
417 "GooglePrivacyDlpV2beta1StorageConfig": {
418 "description": "Shared message indicating Cloud storage type.",
419 "id": "GooglePrivacyDlpV2beta1StorageConfig",
420 "properties": {
421 "cloudStorageOptions": {
422 "$ref": "GooglePrivacyDlpV2beta1CloudStorageOptions",
423 "description": "Google Cloud Storage options specification."
424 },
425 "datastoreOptions": {
426 "$ref": "GooglePrivacyDlpV2beta1DatastoreOptions",
427 "description": "Google Cloud Datastore options specification ."
428 }
429 },
430 "type": "object"
431 },
432 "GoogleRpcStatus": {
433 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
434 "id": "GoogleRpcStatus",
435 "properties": {
436 "code": {
437 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
438 "format": "int32",
439 "type": "integer"
440 },
441 "message": {
442 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
413 "type": "string" 443 "type": "string"
414 }, 444 },
415 "infoType": { 445 "details": {
416 "$ref": "InfoType", 446 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
417 "description": "The specific type of info the string might b e." 447 "items": {
448 "additionalProperties": {
449 "description": "Properties of the object. Contains f ield @type with type URL.",
450 "type": "any"
451 },
452 "type": "object"
453 },
454 "type": "array"
455 }
456 },
457 "type": "object"
458 },
459 "GoogleLongrunningOperation": {
460 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
461 "id": "GoogleLongrunningOperation",
462 "properties": {
463 "error": {
464 "$ref": "GoogleRpcStatus",
465 "description": "The error result of the operation in case of failure or cancellation."
418 }, 466 },
419 "location": { 467 "metadata": {
420 "$ref": "Location", 468 "additionalProperties": {
421 "description": "Location of the info found." 469 "description": "Properties of the object. Contains field @type with type URL.",
470 "type": "any"
471 },
472 "description": "This field will contain an InspectOperationM etadata object. This will always be returned with the Operation.",
473 "type": "object"
422 }, 474 },
423 "quote": { 475 "done": {
424 "description": "The specific string that may be potentially sensitive info.", 476 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
425 "type": "string" 477 "type": "boolean"
426 }, 478 },
427 "likelihood": { 479 "response": {
428 "description": "Estimate of how likely it is that the info_t ype is correct.", 480 "additionalProperties": {
429 "enum": [ 481 "description": "Properties of the object. Contains field @type with type URL.",
430 "LIKELIHOOD_UNSPECIFIED", 482 "type": "any"
431 "VERY_UNLIKELY", 483 },
432 "UNLIKELY", 484 "description": "This field will contain an InspectOperationR esult object.",
433 "POSSIBLE", 485 "type": "object"
434 "LIKELY", 486 },
435 "VERY_LIKELY" 487 "name": {
436 ], 488 "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.",
437 "enumDescriptions": [
438 "Default value; information with all likelihoods is incl uded.",
439 "Few matching elements.",
440 "",
441 "Some matching elements.",
442 "",
443 "Many matching elements."
444 ],
445 "type": "string" 489 "type": "string"
446 } 490 }
447 }, 491 },
448 "type": "object" 492 "type": "object"
449 }, 493 },
450 "ContentItem": { 494 "GooglePrivacyDlpV2beta1ContentItem": {
451 "description": "Container structure for the content to inspect.", 495 "description": "Container structure for the content to inspect.",
452 "id": "ContentItem", 496 "id": "GooglePrivacyDlpV2beta1ContentItem",
453 "properties": { 497 "properties": {
498 "data": {
499 "description": "Content data to inspect or redact.",
500 "format": "byte",
501 "type": "string"
502 },
454 "type": { 503 "type": {
455 "description": "Type of the content, as defined in Content-T ype HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG im ages,\nJPEG images.", 504 "description": "Type of the content, as defined in Content-T ype HTTP header.\nSupported types are: all \"text\" types, octet streams, PNG im ages,\nJPEG images.",
456 "type": "string" 505 "type": "string"
457 }, 506 },
458 "value": { 507 "value": {
459 "description": "String data to inspect or redact.", 508 "description": "String data to inspect or redact.",
460 "type": "string" 509 "type": "string"
461 },
462 "data": {
463 "description": "Content data to inspect or redact.",
464 "format": "byte",
465 "type": "string"
466 } 510 }
467 }, 511 },
468 "type": "object" 512 "type": "object"
469 }, 513 },
470 "InspectContentResponse": { 514 "GooglePrivacyDlpV2beta1InspectOperationMetadata": {
471 "description": "Results of inspecting a list of items.", 515 "description": "Metadata returned within GetOperation for an inspect request.",
472 "id": "InspectContentResponse", 516 "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata",
473 "properties": { 517 "properties": {
474 "results": { 518 "requestInspectConfig": {
475 "description": "Each content_item from the request has a res ult in this list, in the\nsame order as the request.", 519 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
520 "description": "The inspect config used to create the Operat ion."
521 },
522 "requestOutputConfig": {
523 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
524 "description": "Optional location to store findings."
525 },
526 "createTime": {
527 "description": "The time which this request was started.",
528 "format": "google-datetime",
529 "type": "string"
530 },
531 "requestStorageConfig": {
532 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
533 "description": "The storage config used to create the Operat ion."
534 },
535 "processedBytes": {
536 "description": "Total size in bytes that were processed.",
537 "format": "int64",
538 "type": "string"
539 },
540 "totalEstimatedBytes": {
541 "description": "Estimate of the number of bytes to process." ,
542 "format": "int64",
543 "type": "string"
544 },
545 "infoTypeStats": {
476 "items": { 546 "items": {
477 "$ref": "InspectResult" 547 "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics"
478 }, 548 },
479 "type": "array" 549 "type": "array"
480 } 550 }
481 }, 551 },
482 "type": "object" 552 "type": "object"
483 }, 553 },
484 "CreateInspectOperationRequest": { 554 "GooglePrivacyDlpV2beta1InfoType": {
485 "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", 555 "description": "Type of information detected by the API.",
486 "id": "CreateInspectOperationRequest", 556 "id": "GooglePrivacyDlpV2beta1InfoType",
487 "properties": { 557 "properties": {
488 "inspectConfig": { 558 "name": {
489 "$ref": "InspectConfig", 559 "description": "Name of the information type. For built-in i nfo types, this is provided by\nthe API call ListInfoTypes. For user-defined inf o types, this is\nprovided by the user. All user-defined info types must have un ique names,\nand cannot conflict with built-in info type names.",
490 "description": "Configuration for the inspector."
491 },
492 "storageConfig": {
493 "$ref": "StorageConfig",
494 "description": "Specification of the data set to process."
495 },
496 "outputConfig": {
497 "$ref": "OutputStorageConfig",
498 "description": "Optional location to store findings. The buc ket must already exist and\nthe Google APIs service account for DLP must have wr ite permission to\nwrite to the given bucket.\n<p>Results are split over multipl e csv files with each file name matching\nthe pattern \"[operation_id]_[count].c sv\", for example\n`3094877188788974909_1.csv`. The `operation_id` matches the\n identifier for the Operation, and the `count` is a counter used for\ntracking th e number of files written. <p>The CSV file(s) contain the\nfollowing columns reg ardless of storage type scanned: <li>id <li>info_type\n<li>likelihood <li>byte s ize of finding <li>quote <li>time_stamp<br/>\n<p>For Cloud Storage the next colu mns are: <li>file_path\n<li>start_offset<br/>\n<p>For Cloud Datastore the next c olumns are: <li>project_id\n<li>namespace_id <li>path <li>column_name <li>offset "
499 }
500 },
501 "type": "object"
502 },
503 "FileSet": {
504 "description": "Set of files to scan.",
505 "id": "FileSet",
506 "properties": {
507 "url": {
508 "description": "The url, in the format `gs://<bucket>/<path> `. Trailing wildcard in the\npath is allowed.",
509 "type": "string" 560 "type": "string"
510 } 561 }
511 }, 562 },
512 "type": "object" 563 "type": "object"
513 }, 564 },
514 "ReplaceConfig": { 565 "GooglePrivacyDlpV2beta1ReplaceConfig": {
515 "id": "ReplaceConfig", 566 "id": "GooglePrivacyDlpV2beta1ReplaceConfig",
516 "properties": { 567 "properties": {
517 "infoType": { 568 "infoType": {
518 "$ref": "InfoType", 569 "$ref": "GooglePrivacyDlpV2beta1InfoType",
519 "description": "Type of information to replace. Only one Rep laceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, the DLP\nAPI matches it against all info_types that are found but not specified in\nanother ReplaceConfig." 570 "description": "Type of information to replace. Only one Rep laceConfig per info_type\nshould be provided. If ReplaceConfig does not have an info_type, the DLP\nAPI matches it against all info_types that are found but not specified in\nanother ReplaceConfig."
520 }, 571 },
521 "replaceWith": { 572 "replaceWith": {
522 "description": "Content replacing sensitive information of g iven type. Max 256 chars.", 573 "description": "Content replacing sensitive information of g iven type. Max 256 chars.",
523 "type": "string" 574 "type": "string"
524 } 575 }
525 }, 576 },
526 "type": "object" 577 "type": "object"
527 }, 578 },
528 "InfoType": { 579 "GooglePrivacyDlpV2beta1Color": {
529 "description": "Type of information detected by the API.", 580 "description": "Represents a color in the RGB color space.",
530 "id": "InfoType", 581 "id": "GooglePrivacyDlpV2beta1Color",
531 "properties": { 582 "properties": {
583 "red": {
584 "description": "The amount of red in the color as a value in the interval [0, 1].",
585 "format": "float",
586 "type": "number"
587 },
588 "blue": {
589 "description": "The amount of blue in the color as a value i n the interval [0, 1].",
590 "format": "float",
591 "type": "number"
592 },
593 "green": {
594 "description": "The amount of green in the color as a value in the interval [0, 1].",
595 "format": "float",
596 "type": "number"
597 }
598 },
599 "type": "object"
600 },
601 "GooglePrivacyDlpV2beta1PathElement": {
602 "description": "A (kind, ID/name) pair used to construct a key path. \n\nIf either name or ID is set, the element is complete.\nIf neither is set, th e element is incomplete.",
603 "id": "GooglePrivacyDlpV2beta1PathElement",
604 "properties": {
605 "id": {
606 "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported i n the future.",
607 "format": "int64",
608 "type": "string"
609 },
532 "name": { 610 "name": {
533 "description": "Name of the information type. For built-in i nfo types, this is provided by\nthe API call ListInfoTypes. For user-defined inf o types, this is\nprovided by the user. All user-defined info types must have un ique names,\nand cannot conflict with built-in info type names.", 611 "description": "The name of the entity.\nA name matching reg ex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
612 "type": "string"
613 },
614 "kind": {
615 "description": "The kind of the entity.\nA kind matching reg ex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
534 "type": "string" 616 "type": "string"
535 } 617 }
536 }, 618 },
537 "type": "object" 619 "type": "object"
538 }, 620 },
539 "InspectConfig": { 621 "GooglePrivacyDlpV2beta1ListInfoTypesResponse": {
540 "description": "Configuration description of the scanning process.\n When used with redactContent only info_types and min_likelihood are currently\nu sed.", 622 "description": "Response to the ListInfoTypes request.",
541 "id": "InspectConfig", 623 "id": "GooglePrivacyDlpV2beta1ListInfoTypesResponse",
542 "properties": { 624 "properties": {
543 "maxFindings": {
544 "description": "Limit the number of findings per content ite m.",
545 "format": "int32",
546 "type": "integer"
547 },
548 "excludeTypes": {
549 "description": "When true, exclude type information of the f indings.",
550 "type": "boolean"
551 },
552 "infoTypes": { 625 "infoTypes": {
553 "description": "Restrict what info_types to look for. The va lues must correspond to\nInfoType values returned by ListInfoTypes or found in d ocumentation.\nEmpty info_types runs all enabled detectors.", 626 "description": "Set of sensitive info types belonging to a c ategory.",
554 "items": { 627 "items": {
555 "$ref": "InfoType" 628 "$ref": "GooglePrivacyDlpV2beta1InfoTypeDescription"
556 }, 629 },
557 "type": "array" 630 "type": "array"
631 }
632 },
633 "type": "object"
634 },
635 "GooglePrivacyDlpV2beta1CategoryDescription": {
636 "description": "Info Type Category description.",
637 "id": "GooglePrivacyDlpV2beta1CategoryDescription",
638 "properties": {
639 "name": {
640 "description": "Internal name of the category.",
641 "type": "string"
558 }, 642 },
559 "includeQuote": { 643 "displayName": {
560 "description": "When true, a contextual quote from the data that triggered a finding is\nincluded in the response; see Finding.quote.", 644 "description": "Human readable form of the category name.",
561 "type": "boolean" 645 "type": "string"
562 }, 646 }
563 "minLikelihood": { 647 },
564 "description": "Only return findings equal or above this thr eshold.", 648 "type": "object"
649 },
650 "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": {
651 "description": "Response for ListRootCategories request.",
652 "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse",
653 "properties": {
654 "categories": {
655 "description": "List of all into type categories supported b y the API.",
656 "items": {
657 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
658 },
659 "type": "array"
660 }
661 },
662 "type": "object"
663 },
664 "GooglePrivacyDlpV2beta1Finding": {
665 "description": "Container structure describing a single finding with in a string or image.",
666 "id": "GooglePrivacyDlpV2beta1Finding",
667 "properties": {
668 "likelihood": {
669 "description": "Estimate of how likely it is that the info_t ype is correct.",
565 "enum": [ 670 "enum": [
566 "LIKELIHOOD_UNSPECIFIED", 671 "LIKELIHOOD_UNSPECIFIED",
567 "VERY_UNLIKELY", 672 "VERY_UNLIKELY",
568 "UNLIKELY", 673 "UNLIKELY",
569 "POSSIBLE", 674 "POSSIBLE",
570 "LIKELY", 675 "LIKELY",
571 "VERY_LIKELY" 676 "VERY_LIKELY"
572 ], 677 ],
573 "enumDescriptions": [ 678 "enumDescriptions": [
574 "Default value; information with all likelihoods is incl uded.", 679 "Default value; information with all likelihoods is incl uded.",
575 "Few matching elements.", 680 "Few matching elements.",
576 "", 681 "",
577 "Some matching elements.", 682 "Some matching elements.",
578 "", 683 "",
579 "Many matching elements." 684 "Many matching elements."
580 ], 685 ],
581 "type": "string" 686 "type": "string"
582 } 687 },
583 }, 688 "createTime": {
584 "type": "object" 689 "description": "Timestamp when finding was detected.",
585 }, 690 "format": "google-datetime",
586 "StorageConfig": { 691 "type": "string"
587 "description": "Shared message indicating Cloud storage type.", 692 },
588 "id": "StorageConfig", 693 "infoType": {
589 "properties": { 694 "$ref": "GooglePrivacyDlpV2beta1InfoType",
590 "cloudStorageOptions": { 695 "description": "The specific type of info the string might b e."
591 "$ref": "CloudStorageOptions", 696 },
592 "description": "Google Cloud Storage options specification." 697 "location": {
593 }, 698 "$ref": "GooglePrivacyDlpV2beta1Location",
594 "datastoreOptions": { 699 "description": "Location of the info found."
595 "$ref": "DatastoreOptions", 700 },
596 "description": "Google Cloud Datastore options specification ." 701 "quote": {
597 } 702 "description": "The specific string that may be potentially sensitive info.",
598 }, 703 "type": "string"
599 "type": "object" 704 }
600 }, 705 },
601 "OutputStorageConfig": { 706 "type": "object"
602 "description": "Cloud repository for storing output.", 707 },
603 "id": "OutputStorageConfig", 708 "GooglePrivacyDlpV2beta1CloudStorageKey": {
604 "properties": { 709 "description": "Record key for a finding in a Cloud Storage file.",
605 "storagePath": { 710 "id": "GooglePrivacyDlpV2beta1CloudStorageKey",
606 "$ref": "CloudStoragePath", 711 "properties": {
607 "description": "The path to a Google Cloud Storage location to store output." 712 "startOffset": {
608 } 713 "description": "Byte offset of the referenced data in the fi le.",
609 }, 714 "format": "int64",
610 "type": "object" 715 "type": "string"
611 }, 716 },
612 "RedactContentRequest": { 717 "filePath": {
718 "description": "Path to the file.",
719 "type": "string"
720 }
721 },
722 "type": "object"
723 },
724 "GooglePrivacyDlpV2beta1PartitionId": {
725 "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\n project ID and namespace ID.",
726 "id": "GooglePrivacyDlpV2beta1PartitionId",
727 "properties": {
728 "projectId": {
729 "description": "The ID of the project to which the entities belong.",
730 "type": "string"
731 },
732 "namespaceId": {
733 "description": "If not empty, the ID of the namespace to whi ch the entities belong.",
734 "type": "string"
735 }
736 },
737 "type": "object"
738 },
739 "GooglePrivacyDlpV2beta1InspectContentResponse": {
740 "description": "Results of inspecting a list of items.",
741 "id": "GooglePrivacyDlpV2beta1InspectContentResponse",
742 "properties": {
743 "results": {
744 "description": "Each content_item from the request has a res ult in this list, in the\nsame order as the request.",
745 "items": {
746 "$ref": "GooglePrivacyDlpV2beta1InspectResult"
747 },
748 "type": "array"
749 }
750 },
751 "type": "object"
752 },
753 "GooglePrivacyDlpV2beta1KindExpression": {
754 "description": "A representation of a Datastore kind.",
755 "id": "GooglePrivacyDlpV2beta1KindExpression",
756 "properties": {
757 "name": {
758 "description": "The name of the kind.",
759 "type": "string"
760 }
761 },
762 "type": "object"
763 },
764 "GooglePrivacyDlpV2beta1RedactContentRequest": {
613 "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.", 765 "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.",
614 "id": "RedactContentRequest", 766 "id": "GooglePrivacyDlpV2beta1RedactContentRequest",
615 "properties": { 767 "properties": {
616 "items": { 768 "items": {
617 "description": "The list of items to inspect. Up to 100 are allowed per request.", 769 "description": "The list of items to inspect. Up to 100 are allowed per request.",
618 "items": { 770 "items": {
619 "$ref": "ContentItem" 771 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
620 }, 772 },
621 "type": "array" 773 "type": "array"
622 }, 774 },
623 "replaceConfigs": { 775 "replaceConfigs": {
624 "description": "The strings to replace findings with. Must s pecify at least one.", 776 "description": "The strings to replace findings text finding s with. Must specify at least\none of these or one ImageRedactionConfig if redac ting images.",
625 "items": { 777 "items": {
626 "$ref": "ReplaceConfig" 778 "$ref": "GooglePrivacyDlpV2beta1ReplaceConfig"
779 },
780 "type": "array"
781 },
782 "imageRedactionConfigs": {
783 "description": "The configuration for specifying what conten t to redact from images.",
784 "items": {
785 "$ref": "GooglePrivacyDlpV2beta1ImageRedactionConfig"
627 }, 786 },
628 "type": "array" 787 "type": "array"
629 }, 788 },
630 "inspectConfig": { 789 "inspectConfig": {
631 "$ref": "InspectConfig", 790 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
632 "description": "Configuration for the inspector." 791 "description": "Configuration for the inspector."
633 } 792 }
634 }, 793 },
635 "type": "object" 794 "type": "object"
636 }, 795 },
637 "PartitionId": { 796 "GoogleLongrunningListOperationsResponse": {
638 "description": "Datastore partition ID.\nA partition ID identifies a grouping of entities. The grouping is always\nby project and namespace, however the namespace ID may be empty.\n\nA partition ID contains several dimensions:\n project ID and namespace ID.", 797 "description": "The response message for Operations.ListOperations." ,
639 "id": "PartitionId", 798 "id": "GoogleLongrunningListOperationsResponse",
640 "properties": { 799 "properties": {
641 "namespaceId": { 800 "nextPageToken": {
642 "description": "If not empty, the ID of the namespace to whi ch the entities belong.", 801 "description": "The standard List next-page token.",
643 "type": "string" 802 "type": "string"
644 }, 803 },
645 "projectId": { 804 "operations": {
646 "description": "The ID of the project to which the entities belong.", 805 "description": "A list of operations that matches the specif ied filter in the request.",
647 "type": "string" 806 "items": {
648 } 807 "$ref": "GoogleLongrunningOperation"
649 }, 808 },
650 "type": "object" 809 "type": "array"
651 }, 810 }
652 "CategoryDescription": { 811 },
653 "description": "Info Type Category description.", 812 "type": "object"
654 "id": "CategoryDescription", 813 },
814 "GooglePrivacyDlpV2beta1FieldId": {
815 "description": "General identifier of a data field in a storage serv ice.",
816 "id": "GooglePrivacyDlpV2beta1FieldId",
817 "properties": {
818 "columnName": {
819 "description": "Column name describing the field.",
820 "type": "string"
821 }
822 },
823 "type": "object"
824 },
825 "GooglePrivacyDlpV2beta1FileSet": {
826 "description": "Set of files to scan.",
827 "id": "GooglePrivacyDlpV2beta1FileSet",
828 "properties": {
829 "url": {
830 "description": "The url, in the format `gs://<bucket>/<path> `. Trailing wildcard in the\npath is allowed.",
831 "type": "string"
832 }
833 },
834 "type": "object"
835 },
836 "GooglePrivacyDlpV2beta1DatastoreOptions": {
837 "description": "Options defining a data set within Google Cloud Data store.",
838 "id": "GooglePrivacyDlpV2beta1DatastoreOptions",
839 "properties": {
840 "partitionId": {
841 "$ref": "GooglePrivacyDlpV2beta1PartitionId",
842 "description": "A partition ID identifies a grouping of enti ties. The grouping is always\nby project and namespace, however the namespace ID may be empty."
843 },
844 "projection": {
845 "description": "Properties to scan. If none are specified, a ll properties will be scanned\nby default.",
846 "items": {
847 "$ref": "GooglePrivacyDlpV2beta1Projection"
848 },
849 "type": "array"
850 },
851 "kind": {
852 "$ref": "GooglePrivacyDlpV2beta1KindExpression",
853 "description": "The kind to process."
854 }
855 },
856 "type": "object"
857 },
858 "GoogleLongrunningCancelOperationRequest": {
859 "description": "The request message for Operations.CancelOperation." ,
860 "id": "GoogleLongrunningCancelOperationRequest",
861 "properties": {},
862 "type": "object"
863 },
864 "GooglePrivacyDlpV2beta1ListInspectFindingsResponse": {
865 "description": "Response to the ListInspectFindings request.",
866 "id": "GooglePrivacyDlpV2beta1ListInspectFindingsResponse",
867 "properties": {
868 "nextPageToken": {
869 "description": "If not empty, indicates that there may be mo re results that match the\nrequest; this value should be passed in a new `ListIn spectFindingsRequest`.",
870 "type": "string"
871 },
872 "result": {
873 "$ref": "GooglePrivacyDlpV2beta1InspectResult",
874 "description": "The results."
875 }
876 },
877 "type": "object"
878 },
879 "GoogleProtobufEmpty": {
880 "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 i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
881 "id": "GoogleProtobufEmpty",
882 "properties": {},
883 "type": "object"
884 },
885 "GooglePrivacyDlpV2beta1InspectConfig": {
886 "description": "Configuration description of the scanning process.\n When used with redactContent only info_types and min_likelihood are currently\nu sed.",
887 "id": "GooglePrivacyDlpV2beta1InspectConfig",
888 "properties": {
889 "maxFindings": {
890 "description": "Limits the number of findings per content it em or long running operation.",
891 "format": "int32",
892 "type": "integer"
893 },
894 "excludeTypes": {
895 "description": "When true, excludes type information of the findings.",
896 "type": "boolean"
897 },
898 "infoTypes": {
899 "description": "Restricts what info_types to look for. The v alues must correspond to\nInfoType values returned by ListInfoTypes or found in documentation.\nEmpty info_types runs all enabled detectors.",
900 "items": {
901 "$ref": "GooglePrivacyDlpV2beta1InfoType"
902 },
903 "type": "array"
904 },
905 "includeQuote": {
906 "description": "When true, a contextual quote from the data that triggered a finding is\nincluded in the response; see Finding.quote.",
907 "type": "boolean"
908 },
909 "minLikelihood": {
910 "description": "Only returns findings equal or above this th reshold.",
911 "enum": [
912 "LIKELIHOOD_UNSPECIFIED",
913 "VERY_UNLIKELY",
914 "UNLIKELY",
915 "POSSIBLE",
916 "LIKELY",
917 "VERY_LIKELY"
918 ],
919 "enumDescriptions": [
920 "Default value; information with all likelihoods is incl uded.",
921 "Few matching elements.",
922 "",
923 "Some matching elements.",
924 "",
925 "Many matching elements."
926 ],
927 "type": "string"
928 }
929 },
930 "type": "object"
931 },
932 "GooglePrivacyDlpV2beta1Projection": {
933 "description": "A representation of a Datastore property in a projec tion.",
934 "id": "GooglePrivacyDlpV2beta1Projection",
935 "properties": {
936 "property": {
937 "$ref": "GooglePrivacyDlpV2beta1PropertyReference",
938 "description": "The property to project."
939 }
940 },
941 "type": "object"
942 },
943 "GooglePrivacyDlpV2beta1DatastoreKey": {
944 "description": "Record key for a finding in Cloud Datastore.",
945 "id": "GooglePrivacyDlpV2beta1DatastoreKey",
946 "properties": {
947 "entityKey": {
948 "$ref": "GooglePrivacyDlpV2beta1Key",
949 "description": "Datastore entity key."
950 }
951 },
952 "type": "object"
953 },
954 "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": {
955 "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.",
956 "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest",
957 "properties": {
958 "inspectConfig": {
959 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
960 "description": "Configuration for the inspector."
961 },
962 "storageConfig": {
963 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
964 "description": "Specification of the data set to process."
965 },
966 "outputConfig": {
967 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
968 "description": "Optional location to store findings. The buc ket must already exist and\nthe Google APIs service account for DLP must have wr ite permission to\nwrite to the given bucket.\n<p>Results are split over multipl e csv files with each file name matching\nthe pattern \"[operation_id]_[count].c sv\", for example\n`3094877188788974909_1.csv`. The `operation_id` matches the\n identifier for the Operation, and the `count` is a counter used for\ntracking th e number of files written. <p>The CSV file(s) contain the\nfollowing columns reg ardless of storage type scanned: <li>id <li>info_type\n<li>likelihood <li>byte s ize of finding <li>quote <li>time_stamp<br/>\n<p>For Cloud Storage the next colu mns are: <li>file_path\n<li>start_offset<br/>\n<p>For Cloud Datastore the next c olumns are: <li>project_id\n<li>namespace_id <li>path <li>column_name <li>offset "
969 }
970 },
971 "type": "object"
972 },
973 "GooglePrivacyDlpV2beta1CloudStorageOptions": {
974 "description": "Options defining a file or a set of files (path endi ng with *) within\na Google Cloud Storage bucket.",
975 "id": "GooglePrivacyDlpV2beta1CloudStorageOptions",
976 "properties": {
977 "fileSet": {
978 "$ref": "GooglePrivacyDlpV2beta1FileSet"
979 }
980 },
981 "type": "object"
982 },
983 "GooglePrivacyDlpV2beta1RecordKey": {
984 "description": "Message for a unique key indicating a record that co ntains a finding.",
985 "id": "GooglePrivacyDlpV2beta1RecordKey",
986 "properties": {
987 "datastoreKey": {
988 "$ref": "GooglePrivacyDlpV2beta1DatastoreKey"
989 },
990 "cloudStorageKey": {
991 "$ref": "GooglePrivacyDlpV2beta1CloudStorageKey"
992 }
993 },
994 "type": "object"
995 },
996 "GooglePrivacyDlpV2beta1Key": {
997 "description": "A unique identifier for a Datastore entity.\nIf a ke y's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain doc umented contexts.",
998 "id": "GooglePrivacyDlpV2beta1Key",
999 "properties": {
1000 "path": {
1001 "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the seco nd element identifies\na _child_ of the root entity, the third element identifie s a child of the\nsecond entity, and so forth. The entities identified by all pr efixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.",
1002 "items": {
1003 "$ref": "GooglePrivacyDlpV2beta1PathElement"
1004 },
1005 "type": "array"
1006 },
1007 "partitionId": {
1008 "$ref": "GooglePrivacyDlpV2beta1PartitionId",
1009 "description": "Entities are partitioned into subsets, curre ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing le partition."
1010 }
1011 },
1012 "type": "object"
1013 },
1014 "GooglePrivacyDlpV2beta1CloudStoragePath": {
1015 "description": "A location in Cloud Storage.",
1016 "id": "GooglePrivacyDlpV2beta1CloudStoragePath",
1017 "properties": {
1018 "path": {
1019 "description": "The url, in the format of `gs://bucket/<path >`.",
1020 "type": "string"
1021 }
1022 },
1023 "type": "object"
1024 },
1025 "GooglePrivacyDlpV2beta1InspectContentRequest": {
1026 "description": "Request to search for potentially sensitive info in a list of items.",
1027 "id": "GooglePrivacyDlpV2beta1InspectContentRequest",
1028 "properties": {
1029 "inspectConfig": {
1030 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
1031 "description": "Configuration for the inspector."
1032 },
1033 "items": {
1034 "description": "The list of items to inspect. Items in a sin gle request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.",
1035 "items": {
1036 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
1037 },
1038 "type": "array"
1039 }
1040 },
1041 "type": "object"
1042 },
1043 "GooglePrivacyDlpV2beta1InspectOperationResult": {
1044 "description": "The operational data.",
1045 "id": "GooglePrivacyDlpV2beta1InspectOperationResult",
655 "properties": { 1046 "properties": {
656 "name": { 1047 "name": {
657 "description": "Internal name of the category.", 1048 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `inspect/results/{id}`.",
658 "type": "string" 1049 "type": "string"
659 }, 1050 }
660 "displayName": { 1051 },
661 "description": "Human readable form of the category name.", 1052 "type": "object"
662 "type": "string" 1053 },
663 } 1054 "GooglePrivacyDlpV2beta1InfoTypeStatistics": {
664 }, 1055 "description": "Statistics regarding a specific InfoType.",
665 "type": "object" 1056 "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics",
666 }, 1057 "properties": {
667 "CancelOperationRequest": { 1058 "infoType": {
668 "description": "The request message for Operations.CancelOperation." , 1059 "$ref": "GooglePrivacyDlpV2beta1InfoType",
669 "id": "CancelOperationRequest", 1060 "description": "The type of finding this stat is for."
670 "properties": {}, 1061 },
671 "type": "object" 1062 "count": {
672 }, 1063 "description": "Number of findings for this info type.",
673 "Operation": { 1064 "format": "int64",
674 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 1065 "type": "string"
675 "id": "Operation", 1066 }
676 "properties": { 1067 },
677 "response": { 1068 "type": "object"
678 "additionalProperties": { 1069 },
679 "description": "Properties of the object. Contains field @type with type URL.", 1070 "GooglePrivacyDlpV2beta1RedactContentResponse": {
680 "type": "any" 1071 "description": "Results of redacting a list of items.",
681 }, 1072 "id": "GooglePrivacyDlpV2beta1RedactContentResponse",
682 "description": "This field will contain an `InspectOperation Result` object.", 1073 "properties": {
683 "type": "object" 1074 "items": {
684 }, 1075 "description": "The redacted content.",
1076 "items": {
1077 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
1078 },
1079 "type": "array"
1080 }
1081 },
1082 "type": "object"
1083 },
1084 "GooglePrivacyDlpV2beta1ImageRedactionConfig": {
1085 "description": "Configuration for determing how redaction of images should occur.",
1086 "id": "GooglePrivacyDlpV2beta1ImageRedactionConfig",
1087 "properties": {
1088 "redactAllText": {
1089 "description": "If true, all text found in the image, regard less if it matches an\ninfo_type, is redacted.",
1090 "type": "boolean"
1091 },
1092 "infoType": {
1093 "$ref": "GooglePrivacyDlpV2beta1InfoType",
1094 "description": "Only one per info_type should be provided pe r request. If not\nspecified, and redact_all_text is false, the DLP API will red acts all\ntext that it matches against all info_types that are found, but not\ns pecified in another ImageRedactionConfig."
1095 },
1096 "redactionColor": {
1097 "$ref": "GooglePrivacyDlpV2beta1Color",
1098 "description": "The color to use when redacting content from an image. If not specified,\nthe default is black."
1099 }
1100 },
1101 "type": "object"
1102 },
1103 "GooglePrivacyDlpV2beta1Range": {
1104 "description": "Generic half-open interval [start, end)",
1105 "id": "GooglePrivacyDlpV2beta1Range",
1106 "properties": {
1107 "start": {
1108 "description": "Index of the first character of the range (i nclusive).",
1109 "format": "int64",
1110 "type": "string"
1111 },
1112 "end": {
1113 "description": "Index of the last character of the range (ex clusive).",
1114 "format": "int64",
1115 "type": "string"
1116 }
1117 },
1118 "type": "object"
1119 },
1120 "GooglePrivacyDlpV2beta1PropertyReference": {
1121 "description": "A reference to a property relative to the Datastore kind expressions.",
1122 "id": "GooglePrivacyDlpV2beta1PropertyReference",
1123 "properties": {
685 "name": { 1124 "name": {
686 "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.", 1125 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
687 "type": "string" 1126 "type": "string"
688 }, 1127 }
689 "error": { 1128 },
690 "$ref": "Status", 1129 "type": "object"
691 "description": "The error result of the operation in case of failure or cancellation." 1130 },
692 }, 1131 "GooglePrivacyDlpV2beta1Location": {
693 "metadata": { 1132 "description": "Specifies the location of a finding within its sourc e item.",
694 "additionalProperties": { 1133 "id": "GooglePrivacyDlpV2beta1Location",
695 "description": "Properties of the object. Contains field @type with type URL.", 1134 "properties": {
696 "type": "any" 1135 "imageBoxes": {
697 }, 1136 "description": "Location within an image's pixels.",
698 "description": "This field will contain an `InspectOperation Metadata` object.", 1137 "items": {
699 "type": "object" 1138 "$ref": "GooglePrivacyDlpV2beta1ImageLocation"
700 }, 1139 },
701 "done": { 1140 "type": "array"
702 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.", 1141 },
703 "type": "boolean" 1142 "byteRange": {
704 } 1143 "$ref": "GooglePrivacyDlpV2beta1Range",
705 }, 1144 "description": "Zero-based byte offsets within a content ite m."
706 "type": "object" 1145 },
707 }, 1146 "recordKey": {
708 "CloudStorageOptions": { 1147 "$ref": "GooglePrivacyDlpV2beta1RecordKey",
709 "description": "Options defining a file or a set of files (path endi ng with *) within\na Google Cloud Storage bucket.", 1148 "description": "Key of the finding."
710 "id": "CloudStorageOptions", 1149 },
711 "properties": { 1150 "codepointRange": {
712 "fileSet": { 1151 "$ref": "GooglePrivacyDlpV2beta1Range",
713 "$ref": "FileSet" 1152 "description": "Character offsets within a content item, inc luded when content type\nis a text. Default charset assumed to be UTF-8."
714 } 1153 },
715 }, 1154 "fieldId": {
716 "type": "object" 1155 "$ref": "GooglePrivacyDlpV2beta1FieldId",
717 }, 1156 "description": "Field id of the field containing the finding ."
718 "PathElement": { 1157 }
719 "description": "A (kind, ID/name) pair used to construct a key path. \n\nIf either name or ID is set, the element is complete.\nIf neither is set, th e element is incomplete.", 1158 },
720 "id": "PathElement", 1159 "type": "object"
721 "properties": { 1160 },
722 "name": { 1161 "GooglePrivacyDlpV2beta1InspectResult": {
723 "description": "The name of the entity.\nA name matching reg ex `__.*__` is reserved/read-only.\nA name must not be more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
724 "type": "string"
725 },
726 "kind": {
727 "description": "The kind of the entity.\nA kind matching reg ex `__.*__` is reserved/read-only.\nA kind must not contain more than 1500 bytes when UTF-8 encoded.\nCannot be `\"\"`.",
728 "type": "string"
729 },
730 "id": {
731 "description": "The auto-allocated ID of the entity.\nNever equal to zero. Values less than zero are discouraged and may not\nbe supported i n the future.",
732 "format": "int64",
733 "type": "string"
734 }
735 },
736 "type": "object"
737 },
738 "InspectResult": {
739 "description": "All the findings for a single scanned item.", 1162 "description": "All the findings for a single scanned item.",
740 "id": "InspectResult", 1163 "id": "GooglePrivacyDlpV2beta1InspectResult",
741 "properties": { 1164 "properties": {
742 "findingsTruncated": { 1165 "findingsTruncated": {
743 "description": "If true, then this item might have more find ings than were returned,\nand the findings returned are an arbitrary subset of a ll findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallow ed for a single API call. For best results, divide the input into\nsmaller batch es.", 1166 "description": "If true, then this item might have more find ings than were returned,\nand the findings returned are an arbitrary subset of a ll findings.\nThe findings list might be truncated because the input items were too\nlarge, or because the server reached the maximum amount of resources\nallow ed for a single API call. For best results, divide the input into\nsmaller batch es.",
744 "type": "boolean" 1167 "type": "boolean"
745 }, 1168 },
746 "findings": { 1169 "findings": {
747 "description": "List of findings for an item.", 1170 "description": "List of findings for an item.",
748 "items": { 1171 "items": {
749 "$ref": "Finding" 1172 "$ref": "GooglePrivacyDlpV2beta1Finding"
750 }, 1173 },
751 "type": "array" 1174 "type": "array"
752 } 1175 }
753 }, 1176 },
754 "type": "object" 1177 "type": "object"
755 }, 1178 },
756 "Status": { 1179 "GooglePrivacyDlpV2beta1InfoTypeDescription": {
757 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
758 "id": "Status",
759 "properties": {
760 "message": {
761 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
762 "type": "string"
763 },
764 "details": {
765 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
766 "items": {
767 "additionalProperties": {
768 "description": "Properties of the object. Contains f ield @type with type URL.",
769 "type": "any"
770 },
771 "type": "object"
772 },
773 "type": "array"
774 },
775 "code": {
776 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
777 "format": "int32",
778 "type": "integer"
779 }
780 },
781 "type": "object"
782 },
783 "RedactContentResponse": {
784 "description": "Results of redacting a list of items.",
785 "id": "RedactContentResponse",
786 "properties": {
787 "items": {
788 "description": "The redacted content.",
789 "items": {
790 "$ref": "ContentItem"
791 },
792 "type": "array"
793 }
794 },
795 "type": "object"
796 },
797 "Range": {
798 "description": "Generic half-open interval [start, end)",
799 "id": "Range",
800 "properties": {
801 "start": {
802 "description": "Index of the first character of the range (i nclusive).",
803 "format": "int64",
804 "type": "string"
805 },
806 "end": {
807 "description": "Index of the last character of the range (ex clusive).",
808 "format": "int64",
809 "type": "string"
810 }
811 },
812 "type": "object"
813 },
814 "FieldId": {
815 "description": "General identifier of a data field in a storage serv ice.",
816 "id": "FieldId",
817 "properties": {
818 "columnName": {
819 "description": "Column name describing the field.",
820 "type": "string"
821 }
822 },
823 "type": "object"
824 },
825 "ListInfoTypesResponse": {
826 "description": "Response to the ListInfoTypes request.",
827 "id": "ListInfoTypesResponse",
828 "properties": {
829 "infoTypes": {
830 "description": "Set of sensitive info types belonging to a c ategory.",
831 "items": {
832 "$ref": "InfoTypeDescription"
833 },
834 "type": "array"
835 }
836 },
837 "type": "object"
838 },
839 "KindExpression": {
840 "description": "A representation of a Datastore kind.",
841 "id": "KindExpression",
842 "properties": {
843 "name": {
844 "description": "The name of the kind.",
845 "type": "string"
846 }
847 },
848 "type": "object"
849 },
850 "Key": {
851 "description": "A unique identifier for a Datastore entity.\nIf a ke y's partition ID or any of its path kinds or names are\nreserved/read-only, the key is reserved/read-only.\nA reserved/read-only key is forbidden in certain doc umented contexts.",
852 "id": "Key",
853 "properties": {
854 "path": {
855 "description": "The entity path.\nAn entity path consists of one or more elements composed of a kind and a\nstring or numerical identifier, which identify entities. The first\nelement identifies a _root entity_, the seco nd element identifies\na _child_ of the root entity, the third element identifie s a child of the\nsecond entity, and so forth. The entities identified by all pr efixes of\nthe path are called the element's _ancestors_.\n\nA path can never be empty, and a path can have at most 100 elements.",
856 "items": {
857 "$ref": "PathElement"
858 },
859 "type": "array"
860 },
861 "partitionId": {
862 "$ref": "PartitionId",
863 "description": "Entities are partitioned into subsets, curre ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing le partition."
864 }
865 },
866 "type": "object"
867 },
868 "InspectContentRequest": {
869 "description": "Request to search for potentially sensitive info in a list of items.",
870 "id": "InspectContentRequest",
871 "properties": {
872 "items": {
873 "description": "The list of items to inspect. Items in a sin gle request are\nconsidered \"related\" unless inspect_config.independent_inputs is true.\nUp to 100 are allowed per request.",
874 "items": {
875 "$ref": "ContentItem"
876 },
877 "type": "array"
878 },
879 "inspectConfig": {
880 "$ref": "InspectConfig",
881 "description": "Configuration for the inspector."
882 }
883 },
884 "type": "object"
885 },
886 "ListOperationsResponse": {
887 "description": "The response message for Operations.ListOperations." ,
888 "id": "ListOperationsResponse",
889 "properties": {
890 "nextPageToken": {
891 "description": "The standard List next-page token.",
892 "type": "string"
893 },
894 "operations": {
895 "description": "A list of operations that matches the specif ied filter in the request.",
896 "items": {
897 "$ref": "Operation"
898 },
899 "type": "array"
900 }
901 },
902 "type": "object"
903 },
904 "PropertyReference": {
905 "description": "A reference to a property relative to the Datastore kind expressions.",
906 "id": "PropertyReference",
907 "properties": {
908 "name": {
909 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
910 "type": "string"
911 }
912 },
913 "type": "object"
914 },
915 "Projection": {
916 "description": "A representation of a Datastore property in a projec tion.",
917 "id": "Projection",
918 "properties": {
919 "property": {
920 "$ref": "PropertyReference",
921 "description": "The property to project."
922 }
923 },
924 "type": "object"
925 },
926 "CloudStoragePath": {
927 "description": "A location in Cloud Storage.",
928 "id": "CloudStoragePath",
929 "properties": {
930 "path": {
931 "description": "The url, in the format of `gs://bucket/<path >`.",
932 "type": "string"
933 }
934 },
935 "type": "object"
936 },
937 "InfoTypeDescription": {
938 "description": "Info type description.", 1180 "description": "Info type description.",
939 "id": "InfoTypeDescription", 1181 "id": "GooglePrivacyDlpV2beta1InfoTypeDescription",
940 "properties": { 1182 "properties": {
1183 "categories": {
1184 "description": "List of categories this info type belongs to .",
1185 "items": {
1186 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
1187 },
1188 "type": "array"
1189 },
941 "name": { 1190 "name": {
942 "description": "Internal name of the info type.", 1191 "description": "Internal name of the info type.",
943 "type": "string" 1192 "type": "string"
944 }, 1193 },
945 "displayName": { 1194 "displayName": {
946 "description": "Human readable form of the info type name.", 1195 "description": "Human readable form of the info type name.",
947 "type": "string" 1196 "type": "string"
948 }, 1197 }
949 "categories": { 1198 },
950 "description": "List of categories this info type belongs to .", 1199 "type": "object"
951 "items": { 1200 },
952 "$ref": "CategoryDescription" 1201 "GooglePrivacyDlpV2beta1ImageLocation": {
953 },
954 "type": "array"
955 }
956 },
957 "type": "object"
958 },
959 "ImageLocation": {
960 "description": "Bounding box encompassing detected text within an im age.", 1202 "description": "Bounding box encompassing detected text within an im age.",
961 "id": "ImageLocation", 1203 "id": "GooglePrivacyDlpV2beta1ImageLocation",
962 "properties": { 1204 "properties": {
963 "height": { 1205 "height": {
964 "description": "Height of the bounding box in pixels.", 1206 "description": "Height of the bounding box in pixels.",
965 "format": "int32", 1207 "format": "int32",
966 "type": "integer" 1208 "type": "integer"
967 }, 1209 },
968 "top": { 1210 "top": {
969 "description": "Top coordinate of the bounding box. (0,0) is upper left.", 1211 "description": "Top coordinate of the bounding box. (0,0) is upper left.",
970 "format": "int32", 1212 "format": "int32",
971 "type": "integer" 1213 "type": "integer"
972 }, 1214 },
973 "left": { 1215 "left": {
974 "description": "Left coordinate of the bounding box. (0,0) i s upper left.", 1216 "description": "Left coordinate of the bounding box. (0,0) i s upper left.",
975 "format": "int32", 1217 "format": "int32",
976 "type": "integer" 1218 "type": "integer"
977 }, 1219 },
978 "width": { 1220 "width": {
979 "description": "Width of the bounding box in pixels.", 1221 "description": "Width of the bounding box in pixels.",
980 "format": "int32", 1222 "format": "int32",
981 "type": "integer" 1223 "type": "integer"
982 } 1224 }
983 }, 1225 },
984 "type": "object" 1226 "type": "object"
985 },
986 "CloudStorageKey": {
987 "description": "Record key for a finding in a Cloud Storage file.",
988 "id": "CloudStorageKey",
989 "properties": {
990 "startOffset": {
991 "description": "Byte offset of the referenced data in the fi le.",
992 "format": "int64",
993 "type": "string"
994 },
995 "filePath": {
996 "description": "Path to the file.",
997 "type": "string"
998 }
999 },
1000 "type": "object"
1001 },
1002 "DatastoreOptions": {
1003 "description": "Options defining a data set within Google Cloud Data store.",
1004 "id": "DatastoreOptions",
1005 "properties": {
1006 "partitionId": {
1007 "$ref": "PartitionId",
1008 "description": "A partition ID identifies a grouping of enti ties. The grouping is always\nby project and namespace, however the namespace ID may be empty."
1009 },
1010 "projection": {
1011 "description": "Properties to scan. If none are specified, a ll properties will be scanned\nby default.",
1012 "items": {
1013 "$ref": "Projection"
1014 },
1015 "type": "array"
1016 },
1017 "kind": {
1018 "$ref": "KindExpression",
1019 "description": "The kind to process."
1020 }
1021 },
1022 "type": "object"
1023 },
1024 "Empty": {
1025 "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 i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
1026 "id": "Empty",
1027 "properties": {},
1028 "type": "object"
1029 },
1030 "DatastoreKey": {
1031 "description": "Record key for a finding in Cloud Datastore.",
1032 "id": "DatastoreKey",
1033 "properties": {
1034 "entityKey": {
1035 "$ref": "Key",
1036 "description": "Datastore entity key."
1037 }
1038 },
1039 "type": "object"
1040 },
1041 "ListRootCategoriesResponse": {
1042 "description": "Response for ListRootCategories request.",
1043 "id": "ListRootCategoriesResponse",
1044 "properties": {
1045 "categories": {
1046 "description": "List of all into type categories supported b y the API.",
1047 "items": {
1048 "$ref": "CategoryDescription"
1049 },
1050 "type": "array"
1051 }
1052 },
1053 "type": "object"
1054 },
1055 "Location": {
1056 "description": "Specifies the location of a finding within its sourc e item.",
1057 "id": "Location",
1058 "properties": {
1059 "codepointRange": {
1060 "$ref": "Range",
1061 "description": "Character offsets within a content item, inc luded when content type\nis a text. Default charset assumed to be UTF-8."
1062 },
1063 "fieldId": {
1064 "$ref": "FieldId",
1065 "description": "Field id of the field containing the finding ."
1066 },
1067 "imageBoxes": {
1068 "description": "Location within an image's pixels.",
1069 "items": {
1070 "$ref": "ImageLocation"
1071 },
1072 "type": "array"
1073 },
1074 "byteRange": {
1075 "$ref": "Range",
1076 "description": "Zero-based byte offsets within a content ite m."
1077 },
1078 "recordKey": {
1079 "$ref": "RecordKey",
1080 "description": "Key of the finding."
1081 }
1082 },
1083 "type": "object"
1084 },
1085 "ListInspectFindingsResponse": {
1086 "description": "Response to the ListInspectFindings request.",
1087 "id": "ListInspectFindingsResponse",
1088 "properties": {
1089 "nextPageToken": {
1090 "description": "If not empty, indicates that there may be mo re results that match the\nrequest; this value should be passed in a new `ListIn spectFindingsRequest`.",
1091 "type": "string"
1092 },
1093 "result": {
1094 "$ref": "InspectResult",
1095 "description": "The results."
1096 }
1097 },
1098 "type": "object"
1099 },
1100 "RecordKey": {
1101 "description": "Message for a unique key indicating a record that co ntains a finding.",
1102 "id": "RecordKey",
1103 "properties": {
1104 "datastoreKey": {
1105 "$ref": "DatastoreKey"
1106 },
1107 "cloudStorageKey": {
1108 "$ref": "CloudStorageKey"
1109 }
1110 },
1111 "type": "object"
1112 } 1227 }
1113 }, 1228 },
1114 "servicePath": "", 1229 "servicePath": "",
1115 "title": "DLP API", 1230 "title": "DLP API",
1116 "version": "v2beta1" 1231 "version": "v2beta1"
1117 } 1232 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/dataproc__v1beta1.json ('k') | discovery/googleapis_beta/dns__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698