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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (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 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 "uploadType": { 28 "oauth_token": {
29 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 29 "description": "OAuth 2.0 token for the current user.",
30 "location": "query", 30 "location": "query",
31 "type": "string" 31 "type": "string"
32 }, 32 },
33 "bearer_token": {
34 "description": "OAuth bearer token.",
35 "location": "query",
36 "type": "string"
37 },
38 "upload_protocol": {
39 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
40 "location": "query",
41 "type": "string"
42 },
43 "prettyPrint": {
44 "default": "true",
45 "description": "Returns response with indentations and line breaks." ,
46 "location": "query",
47 "type": "boolean"
48 },
33 "fields": { 49 "fields": {
34 "description": "Selector specifying which fields to include in a par tial response.", 50 "description": "Selector specifying which fields to include in a par tial response.",
35 "location": "query", 51 "location": "query",
36 "type": "string" 52 "type": "string"
37 }, 53 },
54 "uploadType": {
55 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
56 "location": "query",
57 "type": "string"
58 },
38 "callback": { 59 "callback": {
39 "description": "JSONP", 60 "description": "JSONP",
40 "location": "query", 61 "location": "query",
41 "type": "string" 62 "type": "string"
42 }, 63 },
43 "$.xgafv": { 64 "$.xgafv": {
44 "description": "V1 error format.", 65 "description": "V1 error format.",
45 "enum": [ 66 "enum": [
46 "1", 67 "1",
47 "2" 68 "2"
(...skipping 14 matching lines...) Expand all
62 "proto" 83 "proto"
63 ], 84 ],
64 "enumDescriptions": [ 85 "enumDescriptions": [
65 "Responses with Content-Type of application/json", 86 "Responses with Content-Type of application/json",
66 "Media download with context-dependent Content-Type", 87 "Media download with context-dependent Content-Type",
67 "Responses with Content-Type of application/x-protobuf" 88 "Responses with Content-Type of application/x-protobuf"
68 ], 89 ],
69 "location": "query", 90 "location": "query",
70 "type": "string" 91 "type": "string"
71 }, 92 },
93 "access_token": {
94 "description": "OAuth access token.",
95 "location": "query",
96 "type": "string"
97 },
72 "key": { 98 "key": {
73 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 99 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
74 "location": "query", 100 "location": "query",
75 "type": "string" 101 "type": "string"
76 }, 102 },
77 "access_token": {
78 "description": "OAuth access token.",
79 "location": "query",
80 "type": "string"
81 },
82 "quotaUser": { 103 "quotaUser": {
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.", 104 "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.",
84 "location": "query", 105 "location": "query",
85 "type": "string" 106 "type": "string"
86 }, 107 },
87 "pp": { 108 "pp": {
88 "default": "true", 109 "default": "true",
89 "description": "Pretty-print response.", 110 "description": "Pretty-print response.",
90 "location": "query", 111 "location": "query",
91 "type": "boolean" 112 "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": { 117 "rootCategories": {
118 "methods": { 118 "methods": {
119 "list": { 119 "list": {
120 "description": "Returns the list of root categories of sensi tive information.", 120 "description": "Returns the list of root categories of sensi tive information.",
121 "httpMethod": "GET", 121 "httpMethod": "GET",
122 "id": "dlp.rootCategories.list", 122 "id": "dlp.rootCategories.list",
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 "findings": { 218 "findings": {
219 "methods": { 219 "methods": {
220 "list": { 220 "list": {
221 "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.",
222 "httpMethod": "GET", 222 "httpMethod": "GET",
223 "id": "dlp.inspect.results.findings.list", 223 "id": "dlp.inspect.results.findings.list",
224 "parameterOrder": [ 224 "parameterOrder": [
225 "name" 225 "name"
226 ], 226 ],
227 "parameters": { 227 "parameters": {
228 "pageSize": {
229 "description": "Maximum number of re sults to return.\nIf 0, the implementation selects a reasonable value.",
230 "format": "int32",
231 "location": "query",
232 "type": "integer"
233 },
228 "filter": { 234 "filter": {
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", 235 "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",
230 "location": "query", 236 "location": "query",
231 "type": "string" 237 "type": "string"
232 }, 238 },
233 "pageToken": { 239 "pageToken": {
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.", 240 "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.",
235 "location": "query", 241 "location": "query",
236 "type": "string" 242 "type": "string"
237 }, 243 },
238 "name": { 244 "name": {
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}.", 245 "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}`.",
240 "location": "path", 246 "location": "path",
241 "pattern": "^inspect/results/[^/]+$" , 247 "pattern": "^inspect/results/[^/]+$" ,
242 "required": true, 248 "required": true,
243 "type": "string" 249 "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"
250 } 250 }
251 }, 251 },
252 "path": "v2beta1/{+name}/findings", 252 "path": "v2beta1/{+name}/findings",
253 "response": { 253 "response": {
254 "$ref": "GooglePrivacyDlpV2beta1ListInsp ectFindingsResponse" 254 "$ref": "GooglePrivacyDlpV2beta1ListInsp ectFindingsResponse"
255 }, 255 },
256 "scopes": [ 256 "scopes": [
257 "https://www.googleapis.com/auth/cloud-p latform" 257 "https://www.googleapis.com/auth/cloud-p latform"
258 ] 258 ]
259 } 259 }
260 } 260 }
261 } 261 }
262 } 262 }
263 }, 263 },
264 "operations": { 264 "operations": {
265 "methods": { 265 "methods": {
266 "cancel": {
267 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.",
268 "httpMethod": "POST",
269 "id": "dlp.inspect.operations.cancel",
270 "parameterOrder": [
271 "name"
272 ],
273 "parameters": {
274 "name": {
275 "description": "The name of the operation re source to be cancelled.",
276 "location": "path",
277 "pattern": "^inspect/operations/[^/]+$",
278 "required": true,
279 "type": "string"
280 }
281 },
282 "path": "v2beta1/{+name}:cancel",
283 "request": {
284 "$ref": "GoogleLongrunningCancelOperationRequest "
285 },
286 "response": {
287 "$ref": "GoogleProtobufEmpty"
288 },
289 "scopes": [
290 "https://www.googleapis.com/auth/cloud-platform"
291 ]
292 },
293 "delete": {
294 "description": "This method is not supported and the server returns `UNIMPLEMENTED`.",
295 "httpMethod": "DELETE",
296 "id": "dlp.inspect.operations.delete",
297 "parameterOrder": [
298 "name"
299 ],
300 "parameters": {
301 "name": {
302 "description": "The name of the operation re source to be deleted.",
303 "location": "path",
304 "pattern": "^inspect/operations/[^/]+$",
305 "required": true,
306 "type": "string"
307 }
308 },
309 "path": "v2beta1/{+name}",
310 "response": {
311 "$ref": "GoogleProtobufEmpty"
312 },
313 "scopes": [
314 "https://www.googleapis.com/auth/cloud-platform"
315 ]
316 },
317 "get": { 266 "get": {
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.", 267 "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.",
319 "httpMethod": "GET", 268 "httpMethod": "GET",
320 "id": "dlp.inspect.operations.get", 269 "id": "dlp.inspect.operations.get",
321 "parameterOrder": [ 270 "parameterOrder": [
322 "name" 271 "name"
323 ], 272 ],
324 "parameters": { 273 "parameters": {
325 "name": { 274 "name": {
326 "description": "The name of the operation re source.", 275 "description": "The name of the operation re source.",
(...skipping 12 matching lines...) Expand all
339 ] 288 ]
340 }, 289 },
341 "list": { 290 "list": {
342 "description": "Fetch the list of long running opera tions.", 291 "description": "Fetch the list of long running opera tions.",
343 "httpMethod": "GET", 292 "httpMethod": "GET",
344 "id": "dlp.inspect.operations.list", 293 "id": "dlp.inspect.operations.list",
345 "parameterOrder": [ 294 "parameterOrder": [
346 "name" 295 "name"
347 ], 296 ],
348 "parameters": { 297 "parameters": {
298 "pageSize": {
299 "description": "The list page size. The max allowed value is 256 and default is 100.",
300 "format": "int32",
301 "location": "query",
302 "type": "integer"
303 },
349 "filter": { 304 "filter": {
350 "description": "This parameter supports filt ering by done, ie done=true or done=false.", 305 "description": "This parameter supports filt ering by done, ie done=true or done=false.",
351 "location": "query", 306 "location": "query",
352 "type": "string" 307 "type": "string"
353 }, 308 },
354 "pageToken": { 309 "pageToken": {
355 "description": "The standard list page token .", 310 "description": "The standard list page token .",
356 "location": "query", 311 "location": "query",
357 "type": "string" 312 "type": "string"
358 }, 313 },
359 "name": { 314 "name": {
360 "description": "The name of the operation's parent resource.", 315 "description": "The name of the operation's parent resource.",
361 "location": "path", 316 "location": "path",
362 "pattern": "^inspect/operations$", 317 "pattern": "^inspect/operations$",
363 "required": true, 318 "required": true,
364 "type": "string" 319 "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"
371 } 320 }
372 }, 321 },
373 "path": "v2beta1/{+name}", 322 "path": "v2beta1/{+name}",
374 "response": { 323 "response": {
375 "$ref": "GoogleLongrunningListOperationsResponse " 324 "$ref": "GoogleLongrunningListOperationsResponse "
376 }, 325 },
377 "scopes": [ 326 "scopes": [
378 "https://www.googleapis.com/auth/cloud-platform" 327 "https://www.googleapis.com/auth/cloud-platform"
379 ] 328 ]
380 }, 329 },
381 "create": { 330 "create": {
382 "description": "Schedules a job scanning content in a Google Cloud Platform data\nrepository.", 331 "description": "Schedules a job scanning content in a Google Cloud Platform data\nrepository.",
383 "httpMethod": "POST", 332 "httpMethod": "POST",
384 "id": "dlp.inspect.operations.create", 333 "id": "dlp.inspect.operations.create",
385 "parameterOrder": [], 334 "parameterOrder": [],
386 "parameters": {}, 335 "parameters": {},
387 "path": "v2beta1/inspect/operations", 336 "path": "v2beta1/inspect/operations",
388 "request": { 337 "request": {
389 "$ref": "GooglePrivacyDlpV2beta1CreateInspectOpe rationRequest" 338 "$ref": "GooglePrivacyDlpV2beta1CreateInspectOpe rationRequest"
390 }, 339 },
391 "response": { 340 "response": {
392 "$ref": "GoogleLongrunningOperation" 341 "$ref": "GoogleLongrunningOperation"
393 }, 342 },
394 "scopes": [ 343 "scopes": [
395 "https://www.googleapis.com/auth/cloud-platform" 344 "https://www.googleapis.com/auth/cloud-platform"
396 ] 345 ]
346 },
347 "cancel": {
348 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.",
349 "httpMethod": "POST",
350 "id": "dlp.inspect.operations.cancel",
351 "parameterOrder": [
352 "name"
353 ],
354 "parameters": {
355 "name": {
356 "description": "The name of the operation re source to be cancelled.",
357 "location": "path",
358 "pattern": "^inspect/operations/[^/]+$",
359 "required": true,
360 "type": "string"
361 }
362 },
363 "path": "v2beta1/{+name}:cancel",
364 "request": {
365 "$ref": "GoogleLongrunningCancelOperationRequest "
366 },
367 "response": {
368 "$ref": "GoogleProtobufEmpty"
369 },
370 "scopes": [
371 "https://www.googleapis.com/auth/cloud-platform"
372 ]
373 },
374 "delete": {
375 "description": "This method is not supported and the server returns `UNIMPLEMENTED`.",
376 "httpMethod": "DELETE",
377 "id": "dlp.inspect.operations.delete",
378 "parameterOrder": [
379 "name"
380 ],
381 "parameters": {
382 "name": {
383 "description": "The name of the operation re source to be deleted.",
384 "location": "path",
385 "pattern": "^inspect/operations/[^/]+$",
386 "required": true,
387 "type": "string"
388 }
389 },
390 "path": "v2beta1/{+name}",
391 "response": {
392 "$ref": "GoogleProtobufEmpty"
393 },
394 "scopes": [
395 "https://www.googleapis.com/auth/cloud-platform"
396 ]
397 } 397 }
398 } 398 }
399 } 399 }
400 } 400 }
401 } 401 }
402 }, 402 },
403 "revision": "20170707", 403 "revision": "20170725",
404 "rootUrl": "https://dlp.googleapis.com/", 404 "rootUrl": "https://dlp.googleapis.com/",
405 "schemas": { 405 "schemas": {
406 "GooglePrivacyDlpV2beta1Projection": {
407 "description": "A representation of a Datastore property in a projec tion.",
408 "id": "GooglePrivacyDlpV2beta1Projection",
409 "properties": {
410 "property": {
411 "$ref": "GooglePrivacyDlpV2beta1PropertyReference",
412 "description": "The property to project."
413 }
414 },
415 "type": "object"
416 },
417 "GooglePrivacyDlpV2beta1DatastoreKey": {
418 "description": "Record key for a finding in Cloud Datastore.",
419 "id": "GooglePrivacyDlpV2beta1DatastoreKey",
420 "properties": {
421 "entityKey": {
422 "$ref": "GooglePrivacyDlpV2beta1Key",
423 "description": "Datastore entity key."
424 }
425 },
426 "type": "object"
427 },
428 "GooglePrivacyDlpV2beta1CloudStorageOptions": {
429 "description": "Options defining a file or a set of files (path endi ng with *) within\na Google Cloud Storage bucket.",
430 "id": "GooglePrivacyDlpV2beta1CloudStorageOptions",
431 "properties": {
432 "fileSet": {
433 "$ref": "GooglePrivacyDlpV2beta1FileSet"
434 }
435 },
436 "type": "object"
437 },
438 "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": {
439 "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.",
440 "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest",
441 "properties": {
442 "inspectConfig": {
443 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
444 "description": "Configuration for the inspector."
445 },
446 "storageConfig": {
447 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
448 "description": "Specification of the data set to process."
449 },
450 "outputConfig": {
451 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
452 "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 "
453 }
454 },
455 "type": "object"
456 },
457 "GooglePrivacyDlpV2beta1RecordKey": {
458 "description": "Message for a unique key indicating a record that co ntains a finding.",
459 "id": "GooglePrivacyDlpV2beta1RecordKey",
460 "properties": {
461 "cloudStorageKey": {
462 "$ref": "GooglePrivacyDlpV2beta1CloudStorageKey"
463 },
464 "datastoreKey": {
465 "$ref": "GooglePrivacyDlpV2beta1DatastoreKey"
466 }
467 },
468 "type": "object"
469 },
470 "GooglePrivacyDlpV2beta1Key": {
471 "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.",
472 "id": "GooglePrivacyDlpV2beta1Key",
473 "properties": {
474 "path": {
475 "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.",
476 "items": {
477 "$ref": "GooglePrivacyDlpV2beta1PathElement"
478 },
479 "type": "array"
480 },
481 "partitionId": {
482 "$ref": "GooglePrivacyDlpV2beta1PartitionId",
483 "description": "Entities are partitioned into subsets, curre ntly identified by a project\nID and namespace ID.\nQueries are scoped to a sing le partition."
484 }
485 },
486 "type": "object"
487 },
488 "GooglePrivacyDlpV2beta1CloudStoragePath": {
489 "description": "A location in Cloud Storage.",
490 "id": "GooglePrivacyDlpV2beta1CloudStoragePath",
491 "properties": {
492 "path": {
493 "description": "The url, in the format of `gs://bucket/<path >`.",
494 "type": "string"
495 }
496 },
497 "type": "object"
498 },
499 "GooglePrivacyDlpV2beta1InspectContentRequest": {
500 "description": "Request to search for potentially sensitive info in a list of items.",
501 "id": "GooglePrivacyDlpV2beta1InspectContentRequest",
502 "properties": {
503 "items": {
504 "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.",
505 "items": {
506 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
507 },
508 "type": "array"
509 },
510 "inspectConfig": {
511 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
512 "description": "Configuration for the inspector."
513 }
514 },
515 "type": "object"
516 },
517 "GooglePrivacyDlpV2beta1InspectOperationResult": {
518 "description": "The operational data.",
519 "id": "GooglePrivacyDlpV2beta1InspectOperationResult",
520 "properties": {
521 "name": {
522 "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}`.",
523 "type": "string"
524 }
525 },
526 "type": "object"
527 },
528 "GooglePrivacyDlpV2beta1Range": {
529 "description": "Generic half-open interval [start, end)",
530 "id": "GooglePrivacyDlpV2beta1Range",
531 "properties": {
532 "end": {
533 "description": "Index of the last character of the range (ex clusive).",
534 "format": "int64",
535 "type": "string"
536 },
537 "start": {
538 "description": "Index of the first character of the range (i nclusive).",
539 "format": "int64",
540 "type": "string"
541 }
542 },
543 "type": "object"
544 },
545 "GooglePrivacyDlpV2beta1ImageRedactionConfig": {
546 "description": "Configuration for determing how redaction of images should occur.",
547 "id": "GooglePrivacyDlpV2beta1ImageRedactionConfig",
548 "properties": {
549 "infoType": {
550 "$ref": "GooglePrivacyDlpV2beta1InfoType",
551 "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."
552 },
553 "redactionColor": {
554 "$ref": "GooglePrivacyDlpV2beta1Color",
555 "description": "The color to use when redacting content from an image. If not specified,\nthe default is black."
556 },
557 "redactAllText": {
558 "description": "If true, all text found in the image, regard less if it matches an\ninfo_type, is redacted.",
559 "type": "boolean"
560 }
561 },
562 "type": "object"
563 },
564 "GooglePrivacyDlpV2beta1RedactContentResponse": {
565 "description": "Results of redacting a list of items.",
566 "id": "GooglePrivacyDlpV2beta1RedactContentResponse",
567 "properties": {
568 "items": {
569 "description": "The redacted content.",
570 "items": {
571 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
572 },
573 "type": "array"
574 }
575 },
576 "type": "object"
577 },
578 "GooglePrivacyDlpV2beta1InfoTypeStatistics": {
579 "description": "Statistics regarding a specific InfoType.",
580 "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics",
581 "properties": {
582 "infoType": {
583 "$ref": "GooglePrivacyDlpV2beta1InfoType",
584 "description": "The type of finding this stat is for."
585 },
586 "count": {
587 "description": "Number of findings for this info type.",
588 "format": "int64",
589 "type": "string"
590 }
591 },
592 "type": "object"
593 },
594 "GooglePrivacyDlpV2beta1PropertyReference": {
595 "description": "A reference to a property relative to the Datastore kind expressions.",
596 "id": "GooglePrivacyDlpV2beta1PropertyReference",
597 "properties": {
598 "name": {
599 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
600 "type": "string"
601 }
602 },
603 "type": "object"
604 },
605 "GooglePrivacyDlpV2beta1Location": {
606 "description": "Specifies the location of a finding within its sourc e item.",
607 "id": "GooglePrivacyDlpV2beta1Location",
608 "properties": {
609 "recordKey": {
610 "$ref": "GooglePrivacyDlpV2beta1RecordKey",
611 "description": "Key of the finding."
612 },
613 "codepointRange": {
614 "$ref": "GooglePrivacyDlpV2beta1Range",
615 "description": "Character offsets within a content item, inc luded when content type\nis a text. Default charset assumed to be UTF-8."
616 },
617 "fieldId": {
618 "$ref": "GooglePrivacyDlpV2beta1FieldId",
619 "description": "Field id of the field containing the finding ."
620 },
621 "imageBoxes": {
622 "description": "Location within an image's pixels.",
623 "items": {
624 "$ref": "GooglePrivacyDlpV2beta1ImageLocation"
625 },
626 "type": "array"
627 },
628 "byteRange": {
629 "$ref": "GooglePrivacyDlpV2beta1Range",
630 "description": "Zero-based byte offsets within a content ite m."
631 }
632 },
633 "type": "object"
634 },
635 "GooglePrivacyDlpV2beta1InspectResult": {
636 "description": "All the findings for a single scanned item.",
637 "id": "GooglePrivacyDlpV2beta1InspectResult",
638 "properties": {
639 "findings": {
640 "description": "List of findings for an item.",
641 "items": {
642 "$ref": "GooglePrivacyDlpV2beta1Finding"
643 },
644 "type": "array"
645 },
646 "findingsTruncated": {
647 "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.",
648 "type": "boolean"
649 }
650 },
651 "type": "object"
652 },
653 "GooglePrivacyDlpV2beta1ImageLocation": {
654 "description": "Bounding box encompassing detected text within an im age.",
655 "id": "GooglePrivacyDlpV2beta1ImageLocation",
656 "properties": {
657 "top": {
658 "description": "Top coordinate of the bounding box. (0,0) is upper left.",
659 "format": "int32",
660 "type": "integer"
661 },
662 "left": {
663 "description": "Left coordinate of the bounding box. (0,0) i s upper left.",
664 "format": "int32",
665 "type": "integer"
666 },
667 "width": {
668 "description": "Width of the bounding box in pixels.",
669 "format": "int32",
670 "type": "integer"
671 },
672 "height": {
673 "description": "Height of the bounding box in pixels.",
674 "format": "int32",
675 "type": "integer"
676 }
677 },
678 "type": "object"
679 },
680 "GooglePrivacyDlpV2beta1InfoTypeDescription": {
681 "description": "Info type description.",
682 "id": "GooglePrivacyDlpV2beta1InfoTypeDescription",
683 "properties": {
684 "displayName": {
685 "description": "Human readable form of the info type name.",
686 "type": "string"
687 },
688 "categories": {
689 "description": "List of categories this info type belongs to .",
690 "items": {
691 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
692 },
693 "type": "array"
694 },
695 "name": {
696 "description": "Internal name of the info type.",
697 "type": "string"
698 }
699 },
700 "type": "object"
701 },
406 "GooglePrivacyDlpV2beta1OutputStorageConfig": { 702 "GooglePrivacyDlpV2beta1OutputStorageConfig": {
407 "description": "Cloud repository for storing output.", 703 "description": "Cloud repository for storing output.",
408 "id": "GooglePrivacyDlpV2beta1OutputStorageConfig", 704 "id": "GooglePrivacyDlpV2beta1OutputStorageConfig",
409 "properties": { 705 "properties": {
410 "storagePath": { 706 "storagePath": {
411 "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath", 707 "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath",
412 "description": "The path to a Google Cloud Storage location to store output." 708 "description": "The path to a Google Cloud Storage location to store output."
413 } 709 }
414 }, 710 },
415 "type": "object" 711 "type": "object"
416 }, 712 },
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": { 713 "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.", 714 "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", 715 "id": "GoogleRpcStatus",
435 "properties": { 716 "properties": {
436 "code": { 717 "code": {
437 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 718 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
438 "format": "int32", 719 "format": "int32",
439 "type": "integer" 720 "type": "integer"
440 }, 721 },
441 "message": { 722 "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.", 723 "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.",
443 "type": "string" 724 "type": "string"
444 }, 725 },
445 "details": { 726 "details": {
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.", 727 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
447 "items": { 728 "items": {
448 "additionalProperties": { 729 "additionalProperties": {
449 "description": "Properties of the object. Contains f ield @type with type URL.", 730 "description": "Properties of the object. Contains f ield @type with type URL.",
450 "type": "any" 731 "type": "any"
451 }, 732 },
452 "type": "object" 733 "type": "object"
453 }, 734 },
454 "type": "array" 735 "type": "array"
455 } 736 }
456 }, 737 },
457 "type": "object" 738 "type": "object"
458 }, 739 },
740 "GooglePrivacyDlpV2beta1StorageConfig": {
741 "description": "Shared message indicating Cloud storage type.",
742 "id": "GooglePrivacyDlpV2beta1StorageConfig",
743 "properties": {
744 "cloudStorageOptions": {
745 "$ref": "GooglePrivacyDlpV2beta1CloudStorageOptions",
746 "description": "Google Cloud Storage options specification."
747 },
748 "datastoreOptions": {
749 "$ref": "GooglePrivacyDlpV2beta1DatastoreOptions",
750 "description": "Google Cloud Datastore options specification ."
751 }
752 },
753 "type": "object"
754 },
459 "GoogleLongrunningOperation": { 755 "GoogleLongrunningOperation": {
460 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 756 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
461 "id": "GoogleLongrunningOperation", 757 "id": "GoogleLongrunningOperation",
462 "properties": { 758 "properties": {
759 "done": {
760 "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.",
761 "type": "boolean"
762 },
763 "response": {
764 "additionalProperties": {
765 "description": "Properties of the object. Contains field @type with type URL.",
766 "type": "any"
767 },
768 "description": "This field will contain an InspectOperationR esult object.",
769 "type": "object"
770 },
771 "name": {
772 "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.",
773 "type": "string"
774 },
463 "error": { 775 "error": {
464 "$ref": "GoogleRpcStatus", 776 "$ref": "GoogleRpcStatus",
465 "description": "The error result of the operation in case of failure or cancellation." 777 "description": "The error result of the operation in case of failure or cancellation."
466 }, 778 },
467 "metadata": { 779 "metadata": {
468 "additionalProperties": { 780 "additionalProperties": {
469 "description": "Properties of the object. Contains field @type with type URL.", 781 "description": "Properties of the object. Contains field @type with type URL.",
470 "type": "any" 782 "type": "any"
471 }, 783 },
472 "description": "This field will contain an InspectOperationM etadata object. This will always be returned with the Operation.", 784 "description": "This field will contain an InspectOperationM etadata object. This will always be returned with the Operation.",
473 "type": "object" 785 "type": "object"
474 },
475 "done": {
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.",
477 "type": "boolean"
478 },
479 "response": {
480 "additionalProperties": {
481 "description": "Properties of the object. Contains field @type with type URL.",
482 "type": "any"
483 },
484 "description": "This field will contain an InspectOperationR esult object.",
485 "type": "object"
486 },
487 "name": {
488 "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.",
489 "type": "string"
490 } 786 }
491 }, 787 },
492 "type": "object" 788 "type": "object"
493 }, 789 },
494 "GooglePrivacyDlpV2beta1ContentItem": { 790 "GooglePrivacyDlpV2beta1ContentItem": {
495 "description": "Container structure for the content to inspect.", 791 "description": "Container structure for the content to inspect.",
496 "id": "GooglePrivacyDlpV2beta1ContentItem", 792 "id": "GooglePrivacyDlpV2beta1ContentItem",
497 "properties": { 793 "properties": {
794 "type": {
795 "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.",
796 "type": "string"
797 },
798 "value": {
799 "description": "String data to inspect or redact.",
800 "type": "string"
801 },
498 "data": { 802 "data": {
499 "description": "Content data to inspect or redact.", 803 "description": "Content data to inspect or redact.",
500 "format": "byte", 804 "format": "byte",
501 "type": "string" 805 "type": "string"
502 },
503 "type": {
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.",
505 "type": "string"
506 },
507 "value": {
508 "description": "String data to inspect or redact.",
509 "type": "string"
510 } 806 }
511 }, 807 },
512 "type": "object" 808 "type": "object"
513 }, 809 },
514 "GooglePrivacyDlpV2beta1InspectOperationMetadata": { 810 "GooglePrivacyDlpV2beta1InspectOperationMetadata": {
515 "description": "Metadata returned within GetOperation for an inspect request.", 811 "description": "Metadata returned within GetOperation for an inspect request.",
516 "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata", 812 "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata",
517 "properties": { 813 "properties": {
518 "requestInspectConfig": { 814 "requestInspectConfig": {
519 "$ref": "GooglePrivacyDlpV2beta1InspectConfig", 815 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
520 "description": "The inspect config used to create the Operat ion." 816 "description": "The inspect config used to create the Operat ion."
521 }, 817 },
522 "requestOutputConfig": { 818 "requestOutputConfig": {
523 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", 819 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
524 "description": "Optional location to store findings." 820 "description": "Optional location to store findings."
525 }, 821 },
526 "createTime": { 822 "createTime": {
527 "description": "The time which this request was started.", 823 "description": "The time which this request was started.",
528 "format": "google-datetime", 824 "format": "google-datetime",
529 "type": "string" 825 "type": "string"
530 }, 826 },
827 "processedBytes": {
828 "description": "Total size in bytes that were processed.",
829 "format": "int64",
830 "type": "string"
831 },
531 "requestStorageConfig": { 832 "requestStorageConfig": {
532 "$ref": "GooglePrivacyDlpV2beta1StorageConfig", 833 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
533 "description": "The storage config used to create the Operat ion." 834 "description": "The storage config used to create the Operat ion."
534 }, 835 },
535 "processedBytes": {
536 "description": "Total size in bytes that were processed.",
537 "format": "int64",
538 "type": "string"
539 },
540 "totalEstimatedBytes": { 836 "totalEstimatedBytes": {
541 "description": "Estimate of the number of bytes to process." , 837 "description": "Estimate of the number of bytes to process." ,
542 "format": "int64", 838 "format": "int64",
543 "type": "string" 839 "type": "string"
544 }, 840 },
545 "infoTypeStats": { 841 "infoTypeStats": {
546 "items": { 842 "items": {
547 "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics" 843 "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics"
548 }, 844 },
549 "type": "array" 845 "type": "array"
550 } 846 }
551 }, 847 },
552 "type": "object" 848 "type": "object"
553 }, 849 },
554 "GooglePrivacyDlpV2beta1InfoType": { 850 "GooglePrivacyDlpV2beta1InfoType": {
555 "description": "Type of information detected by the API.", 851 "description": "Type of information detected by the API.",
556 "id": "GooglePrivacyDlpV2beta1InfoType", 852 "id": "GooglePrivacyDlpV2beta1InfoType",
557 "properties": { 853 "properties": {
558 "name": { 854 "name": {
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.", 855 "description": "Name of the information type.",
560 "type": "string" 856 "type": "string"
561 } 857 }
562 }, 858 },
563 "type": "object" 859 "type": "object"
564 }, 860 },
565 "GooglePrivacyDlpV2beta1ReplaceConfig": { 861 "GooglePrivacyDlpV2beta1ReplaceConfig": {
566 "id": "GooglePrivacyDlpV2beta1ReplaceConfig", 862 "id": "GooglePrivacyDlpV2beta1ReplaceConfig",
567 "properties": { 863 "properties": {
568 "infoType": { 864 "infoType": {
569 "$ref": "GooglePrivacyDlpV2beta1InfoType", 865 "$ref": "GooglePrivacyDlpV2beta1InfoType",
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." 866 "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."
571 }, 867 },
572 "replaceWith": { 868 "replaceWith": {
573 "description": "Content replacing sensitive information of g iven type. Max 256 chars.", 869 "description": "Content replacing sensitive information of g iven type. Max 256 chars.",
574 "type": "string" 870 "type": "string"
575 } 871 }
576 }, 872 },
577 "type": "object" 873 "type": "object"
578 }, 874 },
579 "GooglePrivacyDlpV2beta1Color": { 875 "GooglePrivacyDlpV2beta1Color": {
580 "description": "Represents a color in the RGB color space.", 876 "description": "Represents a color in the RGB color space.",
581 "id": "GooglePrivacyDlpV2beta1Color", 877 "id": "GooglePrivacyDlpV2beta1Color",
582 "properties": { 878 "properties": {
879 "blue": {
880 "description": "The amount of blue in the color as a value i n the interval [0, 1].",
881 "format": "float",
882 "type": "number"
883 },
884 "green": {
885 "description": "The amount of green in the color as a value in the interval [0, 1].",
886 "format": "float",
887 "type": "number"
888 },
583 "red": { 889 "red": {
584 "description": "The amount of red in the color as a value in the interval [0, 1].", 890 "description": "The amount of red in the color as a value in the interval [0, 1].",
585 "format": "float", 891 "format": "float",
586 "type": "number" 892 "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 } 893 }
598 }, 894 },
599 "type": "object" 895 "type": "object"
600 }, 896 },
601 "GooglePrivacyDlpV2beta1PathElement": { 897 "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.", 898 "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", 899 "id": "GooglePrivacyDlpV2beta1PathElement",
604 "properties": { 900 "properties": {
901 "name": {
902 "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 `\"\"`.",
903 "type": "string"
904 },
905 "kind": {
906 "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 `\"\"`.",
907 "type": "string"
908 },
605 "id": { 909 "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.", 910 "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", 911 "format": "int64",
608 "type": "string" 912 "type": "string"
609 },
610 "name": {
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 `\"\"`.",
616 "type": "string"
617 } 913 }
618 }, 914 },
619 "type": "object" 915 "type": "object"
620 }, 916 },
621 "GooglePrivacyDlpV2beta1ListInfoTypesResponse": { 917 "GooglePrivacyDlpV2beta1ListInfoTypesResponse": {
622 "description": "Response to the ListInfoTypes request.", 918 "description": "Response to the ListInfoTypes request.",
623 "id": "GooglePrivacyDlpV2beta1ListInfoTypesResponse", 919 "id": "GooglePrivacyDlpV2beta1ListInfoTypesResponse",
624 "properties": { 920 "properties": {
625 "infoTypes": { 921 "infoTypes": {
626 "description": "Set of sensitive info types belonging to a c ategory.", 922 "description": "Set of sensitive info types belonging to a c ategory.",
627 "items": { 923 "items": {
628 "$ref": "GooglePrivacyDlpV2beta1InfoTypeDescription" 924 "$ref": "GooglePrivacyDlpV2beta1InfoTypeDescription"
629 }, 925 },
630 "type": "array" 926 "type": "array"
631 } 927 }
632 }, 928 },
633 "type": "object" 929 "type": "object"
634 }, 930 },
635 "GooglePrivacyDlpV2beta1CategoryDescription": { 931 "GooglePrivacyDlpV2beta1CategoryDescription": {
636 "description": "Info Type Category description.", 932 "description": "Info Type Category description.",
637 "id": "GooglePrivacyDlpV2beta1CategoryDescription", 933 "id": "GooglePrivacyDlpV2beta1CategoryDescription",
638 "properties": { 934 "properties": {
935 "displayName": {
936 "description": "Human readable form of the category name.",
937 "type": "string"
938 },
639 "name": { 939 "name": {
640 "description": "Internal name of the category.", 940 "description": "Internal name of the category.",
641 "type": "string" 941 "type": "string"
642 },
643 "displayName": {
644 "description": "Human readable form of the category name.",
645 "type": "string"
646 } 942 }
647 }, 943 },
648 "type": "object" 944 "type": "object"
649 }, 945 },
650 "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": { 946 "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": {
651 "description": "Response for ListRootCategories request.", 947 "description": "Response for ListRootCategories request.",
652 "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse", 948 "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse",
653 "properties": { 949 "properties": {
654 "categories": { 950 "categories": {
655 "description": "List of all into type categories supported b y the API.", 951 "description": "List of all into type categories supported b y the API.",
656 "items": { 952 "items": {
657 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription" 953 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
658 }, 954 },
659 "type": "array" 955 "type": "array"
660 } 956 }
661 }, 957 },
662 "type": "object" 958 "type": "object"
663 }, 959 },
664 "GooglePrivacyDlpV2beta1Finding": { 960 "GooglePrivacyDlpV2beta1Finding": {
665 "description": "Container structure describing a single finding with in a string or image.", 961 "description": "Container structure describing a single finding with in a string or image.",
666 "id": "GooglePrivacyDlpV2beta1Finding", 962 "id": "GooglePrivacyDlpV2beta1Finding",
667 "properties": { 963 "properties": {
964 "createTime": {
965 "description": "Timestamp when finding was detected.",
966 "format": "google-datetime",
967 "type": "string"
968 },
969 "infoType": {
970 "$ref": "GooglePrivacyDlpV2beta1InfoType",
971 "description": "The specific type of info the string might b e."
972 },
973 "location": {
974 "$ref": "GooglePrivacyDlpV2beta1Location",
975 "description": "Location of the info found."
976 },
977 "quote": {
978 "description": "The specific string that may be potentially sensitive info.",
979 "type": "string"
980 },
668 "likelihood": { 981 "likelihood": {
669 "description": "Estimate of how likely it is that the info_t ype is correct.", 982 "description": "Estimate of how likely it is that the info_t ype is correct.",
670 "enum": [ 983 "enum": [
671 "LIKELIHOOD_UNSPECIFIED", 984 "LIKELIHOOD_UNSPECIFIED",
672 "VERY_UNLIKELY", 985 "VERY_UNLIKELY",
673 "UNLIKELY",
674 "POSSIBLE",
675 "LIKELY",
676 "VERY_LIKELY"
677 ],
678 "enumDescriptions": [
679 "Default value; information with all likelihoods is incl uded.",
680 "Few matching elements.",
681 "",
682 "Some matching elements.",
683 "",
684 "Many matching elements."
685 ],
686 "type": "string"
687 },
688 "createTime": {
689 "description": "Timestamp when finding was detected.",
690 "format": "google-datetime",
691 "type": "string"
692 },
693 "infoType": {
694 "$ref": "GooglePrivacyDlpV2beta1InfoType",
695 "description": "The specific type of info the string might b e."
696 },
697 "location": {
698 "$ref": "GooglePrivacyDlpV2beta1Location",
699 "description": "Location of the info found."
700 },
701 "quote": {
702 "description": "The specific string that may be potentially sensitive info.",
703 "type": "string"
704 }
705 },
706 "type": "object"
707 },
708 "GooglePrivacyDlpV2beta1CloudStorageKey": {
709 "description": "Record key for a finding in a Cloud Storage file.",
710 "id": "GooglePrivacyDlpV2beta1CloudStorageKey",
711 "properties": {
712 "startOffset": {
713 "description": "Byte offset of the referenced data in the fi le.",
714 "format": "int64",
715 "type": "string"
716 },
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": {
765 "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.",
766 "id": "GooglePrivacyDlpV2beta1RedactContentRequest",
767 "properties": {
768 "items": {
769 "description": "The list of items to inspect. Up to 100 are allowed per request.",
770 "items": {
771 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
772 },
773 "type": "array"
774 },
775 "replaceConfigs": {
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.",
777 "items": {
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"
786 },
787 "type": "array"
788 },
789 "inspectConfig": {
790 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
791 "description": "Configuration for the inspector."
792 }
793 },
794 "type": "object"
795 },
796 "GoogleLongrunningListOperationsResponse": {
797 "description": "The response message for Operations.ListOperations." ,
798 "id": "GoogleLongrunningListOperationsResponse",
799 "properties": {
800 "nextPageToken": {
801 "description": "The standard List next-page token.",
802 "type": "string"
803 },
804 "operations": {
805 "description": "A list of operations that matches the specif ied filter in the request.",
806 "items": {
807 "$ref": "GoogleLongrunningOperation"
808 },
809 "type": "array"
810 }
811 },
812 "type": "object"
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", 986 "UNLIKELY",
915 "POSSIBLE", 987 "POSSIBLE",
916 "LIKELY", 988 "LIKELY",
917 "VERY_LIKELY" 989 "VERY_LIKELY"
918 ], 990 ],
919 "enumDescriptions": [ 991 "enumDescriptions": [
920 "Default value; information with all likelihoods is incl uded.", 992 "Default value; information with all likelihoods is incl uded.",
921 "Few matching elements.", 993 "Few matching elements.",
922 "", 994 "",
923 "Some matching elements.", 995 "Some matching elements.",
924 "", 996 "",
925 "Many matching elements." 997 "Many matching elements."
926 ], 998 ],
927 "type": "string" 999 "type": "string"
928 } 1000 }
929 }, 1001 },
930 "type": "object" 1002 "type": "object"
931 }, 1003 },
932 "GooglePrivacyDlpV2beta1Projection": { 1004 "GooglePrivacyDlpV2beta1CloudStorageKey": {
933 "description": "A representation of a Datastore property in a projec tion.", 1005 "description": "Record key for a finding in a Cloud Storage file.",
934 "id": "GooglePrivacyDlpV2beta1Projection", 1006 "id": "GooglePrivacyDlpV2beta1CloudStorageKey",
935 "properties": { 1007 "properties": {
936 "property": { 1008 "filePath": {
937 "$ref": "GooglePrivacyDlpV2beta1PropertyReference", 1009 "description": "Path to the file.",
938 "description": "The property to project." 1010 "type": "string"
939 } 1011 },
940 }, 1012 "startOffset": {
941 "type": "object" 1013 "description": "Byte offset of the referenced data in the fi le.",
942 }, 1014 "format": "int64",
943 "GooglePrivacyDlpV2beta1DatastoreKey": { 1015 "type": "string"
944 "description": "Record key for a finding in Cloud Datastore.", 1016 }
945 "id": "GooglePrivacyDlpV2beta1DatastoreKey", 1017 },
946 "properties": { 1018 "type": "object"
947 "entityKey": { 1019 },
948 "$ref": "GooglePrivacyDlpV2beta1Key", 1020 "GooglePrivacyDlpV2beta1PartitionId": {
949 "description": "Datastore entity key." 1021 "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.",
950 } 1022 "id": "GooglePrivacyDlpV2beta1PartitionId",
951 }, 1023 "properties": {
952 "type": "object" 1024 "namespaceId": {
953 }, 1025 "description": "If not empty, the ID of the namespace to whi ch the entities belong.",
954 "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": { 1026 "type": "string"
955 "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", 1027 },
956 "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest", 1028 "projectId": {
957 "properties": { 1029 "description": "The ID of the project to which the entities belong.",
1030 "type": "string"
1031 }
1032 },
1033 "type": "object"
1034 },
1035 "GooglePrivacyDlpV2beta1InspectContentResponse": {
1036 "description": "Results of inspecting a list of items.",
1037 "id": "GooglePrivacyDlpV2beta1InspectContentResponse",
1038 "properties": {
1039 "results": {
1040 "description": "Each content_item from the request has a res ult in this list, in the\nsame order as the request.",
1041 "items": {
1042 "$ref": "GooglePrivacyDlpV2beta1InspectResult"
1043 },
1044 "type": "array"
1045 }
1046 },
1047 "type": "object"
1048 },
1049 "GooglePrivacyDlpV2beta1KindExpression": {
1050 "description": "A representation of a Datastore kind.",
1051 "id": "GooglePrivacyDlpV2beta1KindExpression",
1052 "properties": {
1053 "name": {
1054 "description": "The name of the kind.",
1055 "type": "string"
1056 }
1057 },
1058 "type": "object"
1059 },
1060 "GooglePrivacyDlpV2beta1RedactContentRequest": {
1061 "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.",
1062 "id": "GooglePrivacyDlpV2beta1RedactContentRequest",
1063 "properties": {
1064 "items": {
1065 "description": "The list of items to inspect. Up to 100 are allowed per request.",
1066 "items": {
1067 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
1068 },
1069 "type": "array"
1070 },
1071 "replaceConfigs": {
1072 "description": "The strings to replace findings text finding s with. Must specify at least\none of these or one ImageRedactionConfig if redac ting images.",
1073 "items": {
1074 "$ref": "GooglePrivacyDlpV2beta1ReplaceConfig"
1075 },
1076 "type": "array"
1077 },
1078 "imageRedactionConfigs": {
1079 "description": "The configuration for specifying what conten t to redact from images.",
1080 "items": {
1081 "$ref": "GooglePrivacyDlpV2beta1ImageRedactionConfig"
1082 },
1083 "type": "array"
1084 },
958 "inspectConfig": { 1085 "inspectConfig": {
959 "$ref": "GooglePrivacyDlpV2beta1InspectConfig", 1086 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
960 "description": "Configuration for the inspector." 1087 "description": "Configuration for the inspector."
961 }, 1088 }
962 "storageConfig": { 1089 },
963 "$ref": "GooglePrivacyDlpV2beta1StorageConfig", 1090 "type": "object"
964 "description": "Specification of the data set to process." 1091 },
965 }, 1092 "GoogleLongrunningListOperationsResponse": {
966 "outputConfig": { 1093 "description": "The response message for Operations.ListOperations." ,
967 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", 1094 "id": "GoogleLongrunningListOperationsResponse",
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 " 1095 "properties": {
969 } 1096 "operations": {
970 }, 1097 "description": "A list of operations that matches the specif ied filter in the request.",
971 "type": "object" 1098 "items": {
972 }, 1099 "$ref": "GoogleLongrunningOperation"
973 "GooglePrivacyDlpV2beta1CloudStorageOptions": { 1100 },
974 "description": "Options defining a file or a set of files (path endi ng with *) within\na Google Cloud Storage bucket.", 1101 "type": "array"
975 "id": "GooglePrivacyDlpV2beta1CloudStorageOptions", 1102 },
976 "properties": { 1103 "nextPageToken": {
977 "fileSet": { 1104 "description": "The standard List next-page token.",
978 "$ref": "GooglePrivacyDlpV2beta1FileSet" 1105 "type": "string"
979 } 1106 }
980 }, 1107 },
981 "type": "object" 1108 "type": "object"
982 }, 1109 },
983 "GooglePrivacyDlpV2beta1RecordKey": { 1110 "GooglePrivacyDlpV2beta1FieldId": {
984 "description": "Message for a unique key indicating a record that co ntains a finding.", 1111 "description": "General identifier of a data field in a storage serv ice.",
985 "id": "GooglePrivacyDlpV2beta1RecordKey", 1112 "id": "GooglePrivacyDlpV2beta1FieldId",
986 "properties": { 1113 "properties": {
987 "datastoreKey": { 1114 "columnName": {
988 "$ref": "GooglePrivacyDlpV2beta1DatastoreKey" 1115 "description": "Name describing the field.",
989 }, 1116 "type": "string"
990 "cloudStorageKey": { 1117 }
991 "$ref": "GooglePrivacyDlpV2beta1CloudStorageKey" 1118 },
992 } 1119 "type": "object"
993 }, 1120 },
994 "type": "object" 1121 "GooglePrivacyDlpV2beta1FileSet": {
995 }, 1122 "description": "Set of files to scan.",
996 "GooglePrivacyDlpV2beta1Key": { 1123 "id": "GooglePrivacyDlpV2beta1FileSet",
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.", 1124 "properties": {
998 "id": "GooglePrivacyDlpV2beta1Key", 1125 "url": {
999 "properties": { 1126 "description": "The url, in the format `gs://<bucket>/<path> `. Trailing wildcard in the\npath is allowed.",
1000 "path": { 1127 "type": "string"
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.", 1128 }
1002 "items": { 1129 },
1003 "$ref": "GooglePrivacyDlpV2beta1PathElement" 1130 "type": "object"
1004 }, 1131 },
1005 "type": "array" 1132 "GooglePrivacyDlpV2beta1DatastoreOptions": {
1006 }, 1133 "description": "Options defining a data set within Google Cloud Data store.",
1134 "id": "GooglePrivacyDlpV2beta1DatastoreOptions",
1135 "properties": {
1007 "partitionId": { 1136 "partitionId": {
1008 "$ref": "GooglePrivacyDlpV2beta1PartitionId", 1137 "$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." 1138 "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."
1010 } 1139 },
1011 }, 1140 "projection": {
1012 "type": "object" 1141 "description": "Properties to scan. If none are specified, a ll properties will be scanned\nby default.",
1013 }, 1142 "items": {
1014 "GooglePrivacyDlpV2beta1CloudStoragePath": { 1143 "$ref": "GooglePrivacyDlpV2beta1Projection"
1015 "description": "A location in Cloud Storage.", 1144 },
1016 "id": "GooglePrivacyDlpV2beta1CloudStoragePath", 1145 "type": "array"
1017 "properties": { 1146 },
1018 "path": { 1147 "kind": {
1019 "description": "The url, in the format of `gs://bucket/<path >`.", 1148 "$ref": "GooglePrivacyDlpV2beta1KindExpression",
1020 "type": "string" 1149 "description": "The kind to process."
1021 } 1150 }
1022 }, 1151 },
1023 "type": "object" 1152 "type": "object"
1024 }, 1153 },
1025 "GooglePrivacyDlpV2beta1InspectContentRequest": { 1154 "GoogleLongrunningCancelOperationRequest": {
1026 "description": "Request to search for potentially sensitive info in a list of items.", 1155 "description": "The request message for Operations.CancelOperation." ,
1027 "id": "GooglePrivacyDlpV2beta1InspectContentRequest", 1156 "id": "GoogleLongrunningCancelOperationRequest",
1028 "properties": { 1157 "properties": {},
1029 "inspectConfig": { 1158 "type": "object"
1030 "$ref": "GooglePrivacyDlpV2beta1InspectConfig", 1159 },
1031 "description": "Configuration for the inspector." 1160 "GoogleProtobufEmpty": {
1032 }, 1161 "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 `{}`.",
1033 "items": { 1162 "id": "GoogleProtobufEmpty",
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.", 1163 "properties": {},
1035 "items": { 1164 "type": "object"
1036 "$ref": "GooglePrivacyDlpV2beta1ContentItem" 1165 },
1037 }, 1166 "GooglePrivacyDlpV2beta1ListInspectFindingsResponse": {
1038 "type": "array" 1167 "description": "Response to the ListInspectFindings request.",
1039 } 1168 "id": "GooglePrivacyDlpV2beta1ListInspectFindingsResponse",
1040 }, 1169 "properties": {
1041 "type": "object" 1170 "nextPageToken": {
1042 }, 1171 "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`.",
1043 "GooglePrivacyDlpV2beta1InspectOperationResult": { 1172 "type": "string"
1044 "description": "The operational data.", 1173 },
1045 "id": "GooglePrivacyDlpV2beta1InspectOperationResult", 1174 "result": {
1046 "properties": { 1175 "$ref": "GooglePrivacyDlpV2beta1InspectResult",
1047 "name": { 1176 "description": "The results."
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}`.", 1177 }
1049 "type": "string" 1178 },
1050 } 1179 "type": "object"
1051 }, 1180 },
1052 "type": "object" 1181 "GooglePrivacyDlpV2beta1InspectConfig": {
1053 }, 1182 "description": "Configuration description of the scanning process.\n When used with redactContent only info_types and min_likelihood are currently\nu sed.",
1054 "GooglePrivacyDlpV2beta1InfoTypeStatistics": { 1183 "id": "GooglePrivacyDlpV2beta1InspectConfig",
1055 "description": "Statistics regarding a specific InfoType.", 1184 "properties": {
1056 "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics", 1185 "maxFindings": {
1057 "properties": { 1186 "description": "Limits the number of findings per content it em or long running operation.",
1058 "infoType": {
1059 "$ref": "GooglePrivacyDlpV2beta1InfoType",
1060 "description": "The type of finding this stat is for."
1061 },
1062 "count": {
1063 "description": "Number of findings for this info type.",
1064 "format": "int64",
1065 "type": "string"
1066 }
1067 },
1068 "type": "object"
1069 },
1070 "GooglePrivacyDlpV2beta1RedactContentResponse": {
1071 "description": "Results of redacting a list of items.",
1072 "id": "GooglePrivacyDlpV2beta1RedactContentResponse",
1073 "properties": {
1074 "items": {
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": {
1124 "name": {
1125 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
1126 "type": "string"
1127 }
1128 },
1129 "type": "object"
1130 },
1131 "GooglePrivacyDlpV2beta1Location": {
1132 "description": "Specifies the location of a finding within its sourc e item.",
1133 "id": "GooglePrivacyDlpV2beta1Location",
1134 "properties": {
1135 "imageBoxes": {
1136 "description": "Location within an image's pixels.",
1137 "items": {
1138 "$ref": "GooglePrivacyDlpV2beta1ImageLocation"
1139 },
1140 "type": "array"
1141 },
1142 "byteRange": {
1143 "$ref": "GooglePrivacyDlpV2beta1Range",
1144 "description": "Zero-based byte offsets within a content ite m."
1145 },
1146 "recordKey": {
1147 "$ref": "GooglePrivacyDlpV2beta1RecordKey",
1148 "description": "Key of the finding."
1149 },
1150 "codepointRange": {
1151 "$ref": "GooglePrivacyDlpV2beta1Range",
1152 "description": "Character offsets within a content item, inc luded when content type\nis a text. Default charset assumed to be UTF-8."
1153 },
1154 "fieldId": {
1155 "$ref": "GooglePrivacyDlpV2beta1FieldId",
1156 "description": "Field id of the field containing the finding ."
1157 }
1158 },
1159 "type": "object"
1160 },
1161 "GooglePrivacyDlpV2beta1InspectResult": {
1162 "description": "All the findings for a single scanned item.",
1163 "id": "GooglePrivacyDlpV2beta1InspectResult",
1164 "properties": {
1165 "findingsTruncated": {
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.",
1167 "type": "boolean"
1168 },
1169 "findings": {
1170 "description": "List of findings for an item.",
1171 "items": {
1172 "$ref": "GooglePrivacyDlpV2beta1Finding"
1173 },
1174 "type": "array"
1175 }
1176 },
1177 "type": "object"
1178 },
1179 "GooglePrivacyDlpV2beta1InfoTypeDescription": {
1180 "description": "Info type description.",
1181 "id": "GooglePrivacyDlpV2beta1InfoTypeDescription",
1182 "properties": {
1183 "categories": {
1184 "description": "List of categories this info type belongs to .",
1185 "items": {
1186 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
1187 },
1188 "type": "array"
1189 },
1190 "name": {
1191 "description": "Internal name of the info type.",
1192 "type": "string"
1193 },
1194 "displayName": {
1195 "description": "Human readable form of the info type name.",
1196 "type": "string"
1197 }
1198 },
1199 "type": "object"
1200 },
1201 "GooglePrivacyDlpV2beta1ImageLocation": {
1202 "description": "Bounding box encompassing detected text within an im age.",
1203 "id": "GooglePrivacyDlpV2beta1ImageLocation",
1204 "properties": {
1205 "height": {
1206 "description": "Height of the bounding box in pixels.",
1207 "format": "int32", 1187 "format": "int32",
1208 "type": "integer" 1188 "type": "integer"
1209 }, 1189 },
1210 "top": { 1190 "excludeTypes": {
1211 "description": "Top coordinate of the bounding box. (0,0) is upper left.", 1191 "description": "When true, excludes type information of the findings.",
1212 "format": "int32", 1192 "type": "boolean"
1213 "type": "integer" 1193 },
1214 }, 1194 "infoTypes": {
1215 "left": { 1195 "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.",
1216 "description": "Left coordinate of the bounding box. (0,0) i s upper left.", 1196 "items": {
1217 "format": "int32", 1197 "$ref": "GooglePrivacyDlpV2beta1InfoType"
1218 "type": "integer" 1198 },
1219 }, 1199 "type": "array"
1220 "width": { 1200 },
1221 "description": "Width of the bounding box in pixels.", 1201 "includeQuote": {
1222 "format": "int32", 1202 "description": "When true, a contextual quote from the data that triggered a finding is\nincluded in the response; see Finding.quote.",
1223 "type": "integer" 1203 "type": "boolean"
1224 } 1204 },
1225 }, 1205 "minLikelihood": {
1226 "type": "object" 1206 "description": "Only returns findings equal or above this th reshold.",
1207 "enum": [
1208 "LIKELIHOOD_UNSPECIFIED",
1209 "VERY_UNLIKELY",
1210 "UNLIKELY",
1211 "POSSIBLE",
1212 "LIKELY",
1213 "VERY_LIKELY"
1214 ],
1215 "enumDescriptions": [
1216 "Default value; information with all likelihoods is incl uded.",
1217 "Few matching elements.",
1218 "",
1219 "Some matching elements.",
1220 "",
1221 "Many matching elements."
1222 ],
1223 "type": "string"
1224 }
1225 },
1226 "type": "object"
1227 } 1227 }
1228 }, 1228 },
1229 "servicePath": "", 1229 "servicePath": "",
1230 "title": "DLP API", 1230 "title": "DLP API",
1231 "version": "v2beta1" 1231 "version": "v2beta1"
1232 } 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