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

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

Issue 3006323002: Api-Roll 54: 2017-09-11 (Closed)
Patch Set: use 2.0.0-dev.infinity sdk constraint in pubspecs Created 3 years, 3 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 "quotaUser": {
29 "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.",
30 "location": "query",
31 "type": "string"
32 },
33 "pp": {
34 "default": "true",
35 "description": "Pretty-print response.",
36 "location": "query",
37 "type": "boolean"
38 },
39 "oauth_token": {
40 "description": "OAuth 2.0 token for the current user.",
41 "location": "query",
42 "type": "string"
43 },
44 "bearer_token": {
45 "description": "OAuth bearer token.",
46 "location": "query",
47 "type": "string"
48 },
28 "upload_protocol": { 49 "upload_protocol": {
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 50 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
30 "location": "query", 51 "location": "query",
31 "type": "string" 52 "type": "string"
32 }, 53 },
33 "prettyPrint": { 54 "prettyPrint": {
34 "default": "true", 55 "default": "true",
35 "description": "Returns response with indentations and line breaks." , 56 "description": "Returns response with indentations and line breaks." ,
36 "location": "query", 57 "location": "query",
37 "type": "boolean" 58 "type": "boolean"
38 }, 59 },
39 "fields": { 60 "fields": {
40 "description": "Selector specifying which fields to include in a par tial response.", 61 "description": "Selector specifying which fields to include in a par tial response.",
41 "location": "query", 62 "location": "query",
42 "type": "string" 63 "type": "string"
43 }, 64 },
44 "uploadType": { 65 "uploadType": {
45 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 66 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
46 "location": "query", 67 "location": "query",
47 "type": "string" 68 "type": "string"
48 }, 69 },
49 "callback": {
50 "description": "JSONP",
51 "location": "query",
52 "type": "string"
53 },
54 "$.xgafv": { 70 "$.xgafv": {
55 "description": "V1 error format.", 71 "description": "V1 error format.",
56 "enum": [ 72 "enum": [
57 "1", 73 "1",
58 "2" 74 "2"
59 ], 75 ],
60 "enumDescriptions": [ 76 "enumDescriptions": [
61 "v1 error format", 77 "v1 error format",
62 "v2 error format" 78 "v2 error format"
63 ], 79 ],
64 "location": "query", 80 "location": "query",
65 "type": "string" 81 "type": "string"
66 }, 82 },
83 "callback": {
84 "description": "JSONP",
85 "location": "query",
86 "type": "string"
87 },
67 "alt": { 88 "alt": {
68 "default": "json", 89 "default": "json",
69 "description": "Data format for response.", 90 "description": "Data format for response.",
70 "enum": [ 91 "enum": [
71 "json", 92 "json",
72 "media", 93 "media",
73 "proto" 94 "proto"
74 ], 95 ],
75 "enumDescriptions": [ 96 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 97 "Responses with Content-Type of application/json",
77 "Media download with context-dependent Content-Type", 98 "Media download with context-dependent Content-Type",
78 "Responses with Content-Type of application/x-protobuf" 99 "Responses with Content-Type of application/x-protobuf"
79 ], 100 ],
80 "location": "query", 101 "location": "query",
81 "type": "string" 102 "type": "string"
82 }, 103 },
83 "key": {
84 "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.",
85 "location": "query",
86 "type": "string"
87 },
88 "access_token": { 104 "access_token": {
89 "description": "OAuth access token.", 105 "description": "OAuth access token.",
90 "location": "query", 106 "location": "query",
91 "type": "string" 107 "type": "string"
92 }, 108 },
93 "quotaUser": { 109 "key": {
94 "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.", 110 "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.",
95 "location": "query",
96 "type": "string"
97 },
98 "pp": {
99 "default": "true",
100 "description": "Pretty-print response.",
101 "location": "query",
102 "type": "boolean"
103 },
104 "oauth_token": {
105 "description": "OAuth 2.0 token for the current user.",
106 "location": "query",
107 "type": "string"
108 },
109 "bearer_token": {
110 "description": "OAuth bearer token.",
111 "location": "query", 111 "location": "query",
112 "type": "string" 112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "rootCategories": { 117 "riskAnalysis": {
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": { 118 "resources": {
141 "infoTypes": { 119 "operations": {
142 "methods": { 120 "methods": {
143 "list": { 121 "cancel": {
144 "description": "Returns sensitive information types for given category.", 122 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.",
145 "httpMethod": "GET", 123 "httpMethod": "POST",
146 "id": "dlp.rootCategories.infoTypes.list", 124 "id": "dlp.riskAnalysis.operations.cancel",
147 "parameterOrder": [ 125 "parameterOrder": [
148 "category" 126 "name"
149 ], 127 ],
150 "parameters": { 128 "parameters": {
151 "category": { 129 "name": {
152 "description": "Category name as returned by ListRootCategories.", 130 "description": "The name of the operation re source to be cancelled.",
153 "location": "path", 131 "location": "path",
154 "pattern": "^[^/]+$", 132 "pattern": "^riskAnalysis/operations/[^/]+$" ,
133 "required": true,
134 "type": "string"
135 }
136 },
137 "path": "v2beta1/{+name}:cancel",
138 "request": {
139 "$ref": "GoogleLongrunningCancelOperationRequest "
140 },
141 "response": {
142 "$ref": "GoogleProtobufEmpty"
143 },
144 "scopes": [
145 "https://www.googleapis.com/auth/cloud-platform"
146 ]
147 },
148 "delete": {
149 "description": "This method is not supported and the server returns `UNIMPLEMENTED`.",
150 "httpMethod": "DELETE",
151 "id": "dlp.riskAnalysis.operations.delete",
152 "parameterOrder": [
153 "name"
154 ],
155 "parameters": {
156 "name": {
157 "description": "The name of the operation re source to be deleted.",
158 "location": "path",
159 "pattern": "^riskAnalysis/operations/[^/]+$" ,
160 "required": true,
161 "type": "string"
162 }
163 },
164 "path": "v2beta1/{+name}",
165 "response": {
166 "$ref": "GoogleProtobufEmpty"
167 },
168 "scopes": [
169 "https://www.googleapis.com/auth/cloud-platform"
170 ]
171 },
172 "list": {
173 "description": "Fetch the list of long running opera tions.",
174 "httpMethod": "GET",
175 "id": "dlp.riskAnalysis.operations.list",
176 "parameterOrder": [
177 "name"
178 ],
179 "parameters": {
180 "name": {
181 "description": "The name of the operation's parent resource.",
182 "location": "path",
183 "pattern": "^riskAnalysis/operations$",
155 "required": true, 184 "required": true,
156 "type": "string" 185 "type": "string"
157 }, 186 },
158 "languageCode": { 187 "pageToken": {
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.", 188 "description": "The standard list page token .",
189 "location": "query",
190 "type": "string"
191 },
192 "pageSize": {
193 "description": "The list page size. The max allowed value is 256 and default is 100.",
194 "format": "int32",
195 "location": "query",
196 "type": "integer"
197 },
198 "filter": {
199 "description": "This parameter supports filt ering by done, ie done=true or done=false.",
160 "location": "query", 200 "location": "query",
161 "type": "string" 201 "type": "string"
162 } 202 }
163 }, 203 },
164 "path": "v2beta1/rootCategories/{+category}/infoType s", 204 "path": "v2beta1/{+name}",
165 "response": { 205 "response": {
166 "$ref": "GooglePrivacyDlpV2beta1ListInfoTypesRes ponse" 206 "$ref": "GoogleLongrunningListOperationsResponse "
167 }, 207 },
168 "scopes": [ 208 "scopes": [
169 "https://www.googleapis.com/auth/cloud-platform" 209 "https://www.googleapis.com/auth/cloud-platform"
210 ]
211 },
212 "get": {
213 "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.",
214 "httpMethod": "GET",
215 "id": "dlp.riskAnalysis.operations.get",
216 "parameterOrder": [
217 "name"
218 ],
219 "parameters": {
220 "name": {
221 "description": "The name of the operation re source.",
222 "location": "path",
223 "pattern": "^riskAnalysis/operations/[^/]+$" ,
224 "required": true,
225 "type": "string"
226 }
227 },
228 "path": "v2beta1/{+name}",
229 "response": {
230 "$ref": "GoogleLongrunningOperation"
231 },
232 "scopes": [
233 "https://www.googleapis.com/auth/cloud-platform"
170 ] 234 ]
171 } 235 }
172 } 236 }
173 } 237 }
174 } 238 }
175 }, 239 },
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 },
214 "inspect": { 240 "inspect": {
215 "resources": { 241 "resources": {
216 "results": { 242 "results": {
217 "resources": { 243 "resources": {
218 "findings": { 244 "findings": {
219 "methods": { 245 "methods": {
220 "list": { 246 "list": {
221 "description": "Returns list of results for given inspect operation result set id.", 247 "description": "Returns list of results for given inspect operation result set id.",
222 "httpMethod": "GET", 248 "httpMethod": "GET",
223 "id": "dlp.inspect.results.findings.list", 249 "id": "dlp.inspect.results.findings.list",
224 "parameterOrder": [ 250 "parameterOrder": [
225 "name" 251 "name"
226 ], 252 ],
227 "parameters": { 253 "parameters": {
254 "name": {
255 "description": "Identifier of the re sults set returned as metadata of\nthe longrunning operation created by a call t o InspectDataSource.\nShould be in the format of `inspect/results/{id}`.",
256 "location": "path",
257 "pattern": "^inspect/results/[^/]+$" ,
258 "required": true,
259 "type": "string"
260 },
228 "pageToken": { 261 "pageToken": {
229 "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.", 262 "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.",
230 "location": "query", 263 "location": "query",
231 "type": "string" 264 "type": "string"
232 }, 265 },
233 "name": {
234 "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}`.",
235 "location": "path",
236 "pattern": "^inspect/results/[^/]+$" ,
237 "required": true,
238 "type": "string"
239 },
240 "pageSize": { 266 "pageSize": {
241 "description": "Maximum number of re sults to return.\nIf 0, the implementation selects a reasonable value.", 267 "description": "Maximum number of re sults to return.\nIf 0, the implementation selects a reasonable value.",
242 "format": "int32", 268 "format": "int32",
243 "location": "query", 269 "location": "query",
244 "type": "integer" 270 "type": "integer"
245 }, 271 },
246 "filter": { 272 "filter": {
247 "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", 273 "description": "Restricts findings t o items that match. Supports info_type and likelihood.\nExamples:\n- info_type=E MAIL_ADDRESS\n- info_type=PHONE_NUMBER,EMAIL_ADDRESS\n- likelihood=VERY_LIKELY\n - likelihood=VERY_LIKELY,LIKELY\n- info_type=EMAIL_ADDRESS,likelihood=VERY_LIKEL Y,LIKELY",
248 "location": "query", 274 "location": "query",
249 "type": "string" 275 "type": "string"
250 } 276 }
251 }, 277 },
252 "path": "v2beta1/{+name}/findings", 278 "path": "v2beta1/{+name}/findings",
253 "response": { 279 "response": {
254 "$ref": "GooglePrivacyDlpV2beta1ListInsp ectFindingsResponse" 280 "$ref": "GooglePrivacyDlpV2beta1ListInsp ectFindingsResponse"
255 }, 281 },
256 "scopes": [ 282 "scopes": [
257 "https://www.googleapis.com/auth/cloud-p latform" 283 "https://www.googleapis.com/auth/cloud-p latform"
258 ] 284 ]
259 } 285 }
260 } 286 }
261 } 287 }
262 } 288 }
263 }, 289 },
264 "operations": { 290 "operations": {
265 "methods": { 291 "methods": {
266 "create": {
267 "description": "Schedules a job scanning content in a Google Cloud Platform data\nrepository.",
268 "httpMethod": "POST",
269 "id": "dlp.inspect.operations.create",
270 "parameterOrder": [],
271 "parameters": {},
272 "path": "v2beta1/inspect/operations",
273 "request": {
274 "$ref": "GooglePrivacyDlpV2beta1CreateInspectOpe rationRequest"
275 },
276 "response": {
277 "$ref": "GoogleLongrunningOperation"
278 },
279 "scopes": [
280 "https://www.googleapis.com/auth/cloud-platform"
281 ]
282 },
283 "cancel": { 292 "cancel": {
284 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.", 293 "description": "Cancels an operation. Use the get me thod to check whether the cancellation succeeded or whether the operation comple ted despite cancellation.",
285 "httpMethod": "POST", 294 "httpMethod": "POST",
286 "id": "dlp.inspect.operations.cancel", 295 "id": "dlp.inspect.operations.cancel",
287 "parameterOrder": [ 296 "parameterOrder": [
288 "name" 297 "name"
289 ], 298 ],
290 "parameters": { 299 "parameters": {
291 "name": { 300 "name": {
292 "description": "The name of the operation re source to be cancelled.", 301 "description": "The name of the operation re source to be cancelled.",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 } 333 }
325 }, 334 },
326 "path": "v2beta1/{+name}", 335 "path": "v2beta1/{+name}",
327 "response": { 336 "response": {
328 "$ref": "GoogleProtobufEmpty" 337 "$ref": "GoogleProtobufEmpty"
329 }, 338 },
330 "scopes": [ 339 "scopes": [
331 "https://www.googleapis.com/auth/cloud-platform" 340 "https://www.googleapis.com/auth/cloud-platform"
332 ] 341 ]
333 }, 342 },
343 "list": {
344 "description": "Fetch the list of long running opera tions.",
345 "httpMethod": "GET",
346 "id": "dlp.inspect.operations.list",
347 "parameterOrder": [
348 "name"
349 ],
350 "parameters": {
351 "filter": {
352 "description": "This parameter supports filt ering by done, ie done=true or done=false.",
353 "location": "query",
354 "type": "string"
355 },
356 "name": {
357 "description": "The name of the operation's parent resource.",
358 "location": "path",
359 "pattern": "^inspect/operations$",
360 "required": true,
361 "type": "string"
362 },
363 "pageToken": {
364 "description": "The standard list page token .",
365 "location": "query",
366 "type": "string"
367 },
368 "pageSize": {
369 "description": "The list page size. The max allowed value is 256 and default is 100.",
370 "format": "int32",
371 "location": "query",
372 "type": "integer"
373 }
374 },
375 "path": "v2beta1/{+name}",
376 "response": {
377 "$ref": "GoogleLongrunningListOperationsResponse "
378 },
379 "scopes": [
380 "https://www.googleapis.com/auth/cloud-platform"
381 ]
382 },
334 "get": { 383 "get": {
335 "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.", 384 "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.",
336 "httpMethod": "GET", 385 "httpMethod": "GET",
337 "id": "dlp.inspect.operations.get", 386 "id": "dlp.inspect.operations.get",
338 "parameterOrder": [ 387 "parameterOrder": [
339 "name" 388 "name"
340 ], 389 ],
341 "parameters": { 390 "parameters": {
342 "name": { 391 "name": {
343 "description": "The name of the operation re source.", 392 "description": "The name of the operation re source.",
344 "location": "path", 393 "location": "path",
345 "pattern": "^inspect/operations/[^/]+$", 394 "pattern": "^inspect/operations/[^/]+$",
346 "required": true, 395 "required": true,
347 "type": "string" 396 "type": "string"
348 } 397 }
349 }, 398 },
350 "path": "v2beta1/{+name}", 399 "path": "v2beta1/{+name}",
351 "response": { 400 "response": {
352 "$ref": "GoogleLongrunningOperation" 401 "$ref": "GoogleLongrunningOperation"
353 }, 402 },
354 "scopes": [ 403 "scopes": [
355 "https://www.googleapis.com/auth/cloud-platform" 404 "https://www.googleapis.com/auth/cloud-platform"
356 ] 405 ]
357 }, 406 },
358 "list": { 407 "create": {
359 "description": "Fetch the list of long running opera tions.", 408 "description": "Schedules a job scanning content in a Google Cloud Platform data\nrepository.",
360 "httpMethod": "GET", 409 "httpMethod": "POST",
361 "id": "dlp.inspect.operations.list", 410 "id": "dlp.inspect.operations.create",
362 "parameterOrder": [ 411 "parameterOrder": [],
363 "name" 412 "parameters": {},
364 ], 413 "path": "v2beta1/inspect/operations",
365 "parameters": { 414 "request": {
366 "filter": { 415 "$ref": "GooglePrivacyDlpV2beta1CreateInspectOpe rationRequest"
367 "description": "This parameter supports filt ering by done, ie done=true or done=false.",
368 "location": "query",
369 "type": "string"
370 },
371 "pageToken": {
372 "description": "The standard list page token .",
373 "location": "query",
374 "type": "string"
375 },
376 "name": {
377 "description": "The name of the operation's parent resource.",
378 "location": "path",
379 "pattern": "^inspect/operations$",
380 "required": true,
381 "type": "string"
382 },
383 "pageSize": {
384 "description": "The list page size. The max allowed value is 256 and default is 100.",
385 "format": "int32",
386 "location": "query",
387 "type": "integer"
388 }
389 }, 416 },
390 "path": "v2beta1/{+name}",
391 "response": { 417 "response": {
392 "$ref": "GoogleLongrunningListOperationsResponse " 418 "$ref": "GoogleLongrunningOperation"
393 }, 419 },
394 "scopes": [ 420 "scopes": [
395 "https://www.googleapis.com/auth/cloud-platform" 421 "https://www.googleapis.com/auth/cloud-platform"
396 ] 422 ]
397 } 423 }
398 } 424 }
399 } 425 }
400 } 426 }
427 },
428 "content": {
429 "methods": {
430 "inspect": {
431 "description": "Finds potentially sensitive info in a list o f strings.\nThis method has limits on input size, processing time, and output si ze.",
432 "httpMethod": "POST",
433 "id": "dlp.content.inspect",
434 "parameterOrder": [],
435 "parameters": {},
436 "path": "v2beta1/content:inspect",
437 "request": {
438 "$ref": "GooglePrivacyDlpV2beta1InspectContentRequest"
439 },
440 "response": {
441 "$ref": "GooglePrivacyDlpV2beta1InspectContentResponse"
442 },
443 "scopes": [
444 "https://www.googleapis.com/auth/cloud-platform"
445 ]
446 },
447 "redact": {
448 "description": "Redacts potentially sensitive info from a li st of strings.\nThis method has limits on input size, processing time, and outpu t size.",
449 "httpMethod": "POST",
450 "id": "dlp.content.redact",
451 "parameterOrder": [],
452 "parameters": {},
453 "path": "v2beta1/content:redact",
454 "request": {
455 "$ref": "GooglePrivacyDlpV2beta1RedactContentRequest"
456 },
457 "response": {
458 "$ref": "GooglePrivacyDlpV2beta1RedactContentResponse"
459 },
460 "scopes": [
461 "https://www.googleapis.com/auth/cloud-platform"
462 ]
463 }
464 }
465 },
466 "rootCategories": {
467 "methods": {
468 "list": {
469 "description": "Returns the list of root categories of sensi tive information.",
470 "httpMethod": "GET",
471 "id": "dlp.rootCategories.list",
472 "parameterOrder": [],
473 "parameters": {
474 "languageCode": {
475 "description": "Optional language code for localized friendly category names.\nIf omitted or if localized strings are not available, \nen-US strings will be returned.",
476 "location": "query",
477 "type": "string"
478 }
479 },
480 "path": "v2beta1/rootCategories",
481 "response": {
482 "$ref": "GooglePrivacyDlpV2beta1ListRootCategoriesRespon se"
483 },
484 "scopes": [
485 "https://www.googleapis.com/auth/cloud-platform"
486 ]
487 }
488 },
489 "resources": {
490 "infoTypes": {
491 "methods": {
492 "list": {
493 "description": "Returns sensitive information types for given category.",
494 "httpMethod": "GET",
495 "id": "dlp.rootCategories.infoTypes.list",
496 "parameterOrder": [
497 "category"
498 ],
499 "parameters": {
500 "category": {
501 "description": "Category name as returned by ListRootCategories.",
502 "location": "path",
503 "pattern": "^[^/]+$",
504 "required": true,
505 "type": "string"
506 },
507 "languageCode": {
508 "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.",
509 "location": "query",
510 "type": "string"
511 }
512 },
513 "path": "v2beta1/rootCategories/{+category}/infoType s",
514 "response": {
515 "$ref": "GooglePrivacyDlpV2beta1ListInfoTypesRes ponse"
516 },
517 "scopes": [
518 "https://www.googleapis.com/auth/cloud-platform"
519 ]
520 }
521 }
522 }
523 }
401 } 524 }
402 }, 525 },
403 "revision": "20170815", 526 "revision": "20170905",
404 "rootUrl": "https://dlp.googleapis.com/", 527 "rootUrl": "https://dlp.googleapis.com/",
405 "schemas": { 528 "schemas": {
406 "GooglePrivacyDlpV2beta1InspectOperationMetadata": {
407 "description": "Metadata returned within GetOperation for an inspect request.",
408 "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata",
409 "properties": {
410 "infoTypeStats": {
411 "items": {
412 "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics"
413 },
414 "type": "array"
415 },
416 "totalEstimatedBytes": {
417 "description": "Estimate of the number of bytes to process." ,
418 "format": "int64",
419 "type": "string"
420 },
421 "requestInspectConfig": {
422 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
423 "description": "The inspect config used to create the Operat ion."
424 },
425 "requestOutputConfig": {
426 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
427 "description": "Optional location to store findings."
428 },
429 "createTime": {
430 "description": "The time which this request was started.",
431 "format": "google-datetime",
432 "type": "string"
433 },
434 "requestStorageConfig": {
435 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
436 "description": "The storage config used to create the Operat ion."
437 },
438 "processedBytes": {
439 "description": "Total size in bytes that were processed.",
440 "format": "int64",
441 "type": "string"
442 }
443 },
444 "type": "object"
445 },
446 "GooglePrivacyDlpV2beta1InfoType": {
447 "description": "Type of information detected by the API.",
448 "id": "GooglePrivacyDlpV2beta1InfoType",
449 "properties": {
450 "name": {
451 "description": "Name of the information type.",
452 "type": "string"
453 }
454 },
455 "type": "object"
456 },
457 "GooglePrivacyDlpV2beta1PathElement": {
458 "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.",
459 "id": "GooglePrivacyDlpV2beta1PathElement",
460 "properties": {
461 "id": {
462 "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.",
463 "format": "int64",
464 "type": "string"
465 },
466 "name": {
467 "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 `\"\"`.",
468 "type": "string"
469 },
470 "kind": {
471 "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 `\"\"`.",
472 "type": "string"
473 }
474 },
475 "type": "object"
476 },
477 "GooglePrivacyDlpV2beta1CategoryDescription": {
478 "description": "Info Type Category description.",
479 "id": "GooglePrivacyDlpV2beta1CategoryDescription",
480 "properties": {
481 "name": {
482 "description": "Internal name of the category.",
483 "type": "string"
484 },
485 "displayName": {
486 "description": "Human readable form of the category name.",
487 "type": "string"
488 }
489 },
490 "type": "object"
491 },
492 "GooglePrivacyDlpV2beta1BigQueryTable": {
493 "description": "Message defining the location of a BigQuery table. A table is uniquely\nidentified by its project_id, dataset_id, and table_name. W ithin a query\na table is often referenced with a string in the format of:\n`<pr oject_id>:<dataset_id>.<table_id>` or\n`<project_id>.<dataset_id>.<table_id>`.",
494 "id": "GooglePrivacyDlpV2beta1BigQueryTable",
495 "properties": {
496 "tableId": {
497 "description": "Name of the table.",
498 "type": "string"
499 },
500 "projectId": {
501 "description": "The Google Cloud Platform project ID of the project containing the table.\nIf omitted, project ID is inferred from the API c all.",
502 "type": "string"
503 },
504 "datasetId": {
505 "description": "Dataset ID of the table.",
506 "type": "string"
507 }
508 },
509 "type": "object"
510 },
511 "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": {
512 "description": "Response for ListRootCategories request.",
513 "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse",
514 "properties": {
515 "categories": {
516 "description": "List of all into type categories supported b y the API.",
517 "items": {
518 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
519 },
520 "type": "array"
521 }
522 },
523 "type": "object"
524 },
525 "GooglePrivacyDlpV2beta1Finding": {
526 "description": "Container structure describing a single finding with in a string or image.",
527 "id": "GooglePrivacyDlpV2beta1Finding",
528 "properties": {
529 "likelihood": {
530 "description": "Estimate of how likely it is that the info_t ype is correct.",
531 "enum": [
532 "LIKELIHOOD_UNSPECIFIED",
533 "VERY_UNLIKELY",
534 "UNLIKELY",
535 "POSSIBLE",
536 "LIKELY",
537 "VERY_LIKELY"
538 ],
539 "enumDescriptions": [
540 "Default value; information with all likelihoods is incl uded.",
541 "Few matching elements.",
542 "",
543 "Some matching elements.",
544 "",
545 "Many matching elements."
546 ],
547 "type": "string"
548 },
549 "createTime": {
550 "description": "Timestamp when finding was detected.",
551 "format": "google-datetime",
552 "type": "string"
553 },
554 "infoType": {
555 "$ref": "GooglePrivacyDlpV2beta1InfoType",
556 "description": "The specific type of info the string might b e."
557 },
558 "location": {
559 "$ref": "GooglePrivacyDlpV2beta1Location",
560 "description": "Location of the info found."
561 },
562 "quote": {
563 "description": "The specific string that may be potentially sensitive info.",
564 "type": "string"
565 }
566 },
567 "type": "object"
568 },
569 "GooglePrivacyDlpV2beta1KindExpression": {
570 "description": "A representation of a Datastore kind.",
571 "id": "GooglePrivacyDlpV2beta1KindExpression",
572 "properties": {
573 "name": {
574 "description": "The name of the kind.",
575 "type": "string"
576 }
577 },
578 "type": "object"
579 },
580 "GoogleLongrunningListOperationsResponse": {
581 "description": "The response message for Operations.ListOperations." ,
582 "id": "GoogleLongrunningListOperationsResponse",
583 "properties": {
584 "nextPageToken": {
585 "description": "The standard List next-page token.",
586 "type": "string"
587 },
588 "operations": {
589 "description": "A list of operations that matches the specif ied filter in the request.",
590 "items": {
591 "$ref": "GoogleLongrunningOperation"
592 },
593 "type": "array"
594 }
595 },
596 "type": "object"
597 },
598 "GooglePrivacyDlpV2beta1Row": {
599 "id": "GooglePrivacyDlpV2beta1Row",
600 "properties": {
601 "values": {
602 "items": {
603 "$ref": "GooglePrivacyDlpV2beta1Value"
604 },
605 "type": "array"
606 }
607 },
608 "type": "object"
609 },
610 "GooglePrivacyDlpV2beta1FileSet": {
611 "description": "Set of files to scan.",
612 "id": "GooglePrivacyDlpV2beta1FileSet",
613 "properties": {
614 "url": {
615 "description": "The url, in the format `gs://<bucket>/<path> `. Trailing wildcard in the\npath is allowed.",
616 "type": "string"
617 }
618 },
619 "type": "object"
620 },
621 "GoogleProtobufEmpty": {
622 "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 `{}`.",
623 "id": "GoogleProtobufEmpty",
624 "properties": {},
625 "type": "object"
626 },
627 "GooglePrivacyDlpV2beta1ListInspectFindingsResponse": { 529 "GooglePrivacyDlpV2beta1ListInspectFindingsResponse": {
628 "description": "Response to the ListInspectFindings request.", 530 "description": "Response to the ListInspectFindings request.",
629 "id": "GooglePrivacyDlpV2beta1ListInspectFindingsResponse", 531 "id": "GooglePrivacyDlpV2beta1ListInspectFindingsResponse",
630 "properties": { 532 "properties": {
631 "nextPageToken": { 533 "nextPageToken": {
632 "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`.", 534 "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`.",
633 "type": "string" 535 "type": "string"
634 }, 536 },
635 "result": { 537 "result": {
636 "$ref": "GooglePrivacyDlpV2beta1InspectResult", 538 "$ref": "GooglePrivacyDlpV2beta1InspectResult",
637 "description": "The results." 539 "description": "The results."
638 } 540 }
639 }, 541 },
640 "type": "object" 542 "type": "object"
641 }, 543 },
544 "GoogleProtobufEmpty": {
545 "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 `{}`.",
546 "id": "GoogleProtobufEmpty",
547 "properties": {},
548 "type": "object"
549 },
642 "GooglePrivacyDlpV2beta1TableLocation": { 550 "GooglePrivacyDlpV2beta1TableLocation": {
643 "description": "Location of a finding within a `ContentItem.Table`." , 551 "description": "Location of a finding within a `ContentItem.Table`." ,
644 "id": "GooglePrivacyDlpV2beta1TableLocation", 552 "id": "GooglePrivacyDlpV2beta1TableLocation",
645 "properties": { 553 "properties": {
646 "rowIndex": { 554 "rowIndex": {
647 "description": "The zero-based index of the row where the fi nding is located.", 555 "description": "The zero-based index of the row where the fi nding is located.",
648 "format": "int64", 556 "format": "int64",
649 "type": "string" 557 "type": "string"
650 } 558 }
651 }, 559 },
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 "format": "int64", 629 "format": "int64",
722 "type": "string" 630 "type": "string"
723 } 631 }
724 }, 632 },
725 "type": "object" 633 "type": "object"
726 }, 634 },
727 "GoogleTypeTimeOfDay": { 635 "GoogleTypeTimeOfDay": {
728 "description": "Represents a time of day. The date and time zone are either not significant\nor are specified elsewhere. An API may choose to allow leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp `.", 636 "description": "Represents a time of day. The date and time zone are either not significant\nor are specified elsewhere. An API may choose to allow leap seconds. Related\ntypes are google.type.Date and `google.protobuf.Timestamp `.",
729 "id": "GoogleTypeTimeOfDay", 637 "id": "GoogleTypeTimeOfDay",
730 "properties": { 638 "properties": {
639 "minutes": {
640 "description": "Minutes of hour of day. Must be from 0 to 59 .",
641 "format": "int32",
642 "type": "integer"
643 },
731 "hours": { 644 "hours": {
732 "description": "Hours of day in 24 hour format. Should be fr om 0 to 23. An API may choose\nto allow the value \"24:00:00\" for scenarios lik e business closing time.", 645 "description": "Hours of day in 24 hour format. Should be fr om 0 to 23. An API may choose\nto allow the value \"24:00:00\" for scenarios lik e business closing time.",
733 "format": "int32", 646 "format": "int32",
734 "type": "integer" 647 "type": "integer"
735 }, 648 },
736 "nanos": { 649 "nanos": {
737 "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.", 650 "description": "Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.",
738 "format": "int32", 651 "format": "int32",
739 "type": "integer" 652 "type": "integer"
740 }, 653 },
741 "seconds": { 654 "seconds": {
742 "description": "Seconds of minutes of the time. Must normall y be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.", 655 "description": "Seconds of minutes of the time. Must normall y be from 0 to 59. An API may\nallow the value 60 if it allows leap-seconds.",
743 "format": "int32", 656 "format": "int32",
744 "type": "integer" 657 "type": "integer"
745 },
746 "minutes": {
747 "description": "Minutes of hour of day. Must be from 0 to 59 .",
748 "format": "int32",
749 "type": "integer"
750 } 658 }
751 }, 659 },
752 "type": "object" 660 "type": "object"
753 }, 661 },
754 "GooglePrivacyDlpV2beta1InspectResult": { 662 "GooglePrivacyDlpV2beta1InspectResult": {
755 "description": "All the findings for a single scanned item.", 663 "description": "All the findings for a single scanned item.",
756 "id": "GooglePrivacyDlpV2beta1InspectResult", 664 "id": "GooglePrivacyDlpV2beta1InspectResult",
757 "properties": { 665 "properties": {
758 "findingsTruncated": {
759 "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.",
760 "type": "boolean"
761 },
762 "findings": { 666 "findings": {
763 "description": "List of findings for an item.", 667 "description": "List of findings for an item.",
764 "items": { 668 "items": {
765 "$ref": "GooglePrivacyDlpV2beta1Finding" 669 "$ref": "GooglePrivacyDlpV2beta1Finding"
766 }, 670 },
767 "type": "array" 671 "type": "array"
672 },
673 "findingsTruncated": {
674 "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.",
675 "type": "boolean"
768 } 676 }
769 }, 677 },
770 "type": "object" 678 "type": "object"
771 }, 679 },
772 "GooglePrivacyDlpV2beta1ImageLocation": { 680 "GooglePrivacyDlpV2beta1ImageLocation": {
773 "description": "Bounding box encompassing detected text within an im age.", 681 "description": "Bounding box encompassing detected text within an im age.",
774 "id": "GooglePrivacyDlpV2beta1ImageLocation", 682 "id": "GooglePrivacyDlpV2beta1ImageLocation",
775 "properties": { 683 "properties": {
776 "height": { 684 "height": {
777 "description": "Height of the bounding box in pixels.", 685 "description": "Height of the bounding box in pixels.",
(...skipping 15 matching lines...) Expand all
793 "format": "int32", 701 "format": "int32",
794 "type": "integer" 702 "type": "integer"
795 } 703 }
796 }, 704 },
797 "type": "object" 705 "type": "object"
798 }, 706 },
799 "GooglePrivacyDlpV2beta1StorageConfig": { 707 "GooglePrivacyDlpV2beta1StorageConfig": {
800 "description": "Shared message indicating Cloud storage type.", 708 "description": "Shared message indicating Cloud storage type.",
801 "id": "GooglePrivacyDlpV2beta1StorageConfig", 709 "id": "GooglePrivacyDlpV2beta1StorageConfig",
802 "properties": { 710 "properties": {
803 "bigQueryOptions": {
804 "$ref": "GooglePrivacyDlpV2beta1BigQueryOptions",
805 "description": "BigQuery options specification."
806 },
807 "cloudStorageOptions": { 711 "cloudStorageOptions": {
808 "$ref": "GooglePrivacyDlpV2beta1CloudStorageOptions", 712 "$ref": "GooglePrivacyDlpV2beta1CloudStorageOptions",
809 "description": "Google Cloud Storage options specification." 713 "description": "Google Cloud Storage options specification."
810 }, 714 },
811 "datastoreOptions": { 715 "datastoreOptions": {
812 "$ref": "GooglePrivacyDlpV2beta1DatastoreOptions", 716 "$ref": "GooglePrivacyDlpV2beta1DatastoreOptions",
813 "description": "Google Cloud Datastore options specification ." 717 "description": "Google Cloud Datastore options specification ."
718 },
719 "bigQueryOptions": {
720 "$ref": "GooglePrivacyDlpV2beta1BigQueryOptions",
721 "description": "BigQuery options specification."
814 } 722 }
815 }, 723 },
816 "type": "object" 724 "type": "object"
817 }, 725 },
818 "GooglePrivacyDlpV2beta1ContentItem": { 726 "GooglePrivacyDlpV2beta1ContentItem": {
819 "description": "Container structure for the content to inspect.", 727 "description": "Container structure for the content to inspect.",
820 "id": "GooglePrivacyDlpV2beta1ContentItem", 728 "id": "GooglePrivacyDlpV2beta1ContentItem",
821 "properties": { 729 "properties": {
822 "value": {
823 "description": "String data to inspect or redact.",
824 "type": "string"
825 },
826 "table": {
827 "$ref": "GooglePrivacyDlpV2beta1Table",
828 "description": "Structured content for inspection."
829 },
830 "data": { 730 "data": {
831 "description": "Content data to inspect or redact.", 731 "description": "Content data to inspect or redact.",
832 "format": "byte", 732 "format": "byte",
833 "type": "string" 733 "type": "string"
834 }, 734 },
835 "type": { 735 "type": {
836 "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.", 736 "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.",
837 "type": "string" 737 "type": "string"
738 },
739 "value": {
740 "description": "String data to inspect or redact.",
741 "type": "string"
742 },
743 "table": {
744 "$ref": "GooglePrivacyDlpV2beta1Table",
745 "description": "Structured content for inspection."
838 } 746 }
839 }, 747 },
840 "type": "object" 748 "type": "object"
841 }, 749 },
842 "GooglePrivacyDlpV2beta1OperationConfig": { 750 "GooglePrivacyDlpV2beta1OperationConfig": {
843 "description": "Additional configuration for inspect long running op erations.", 751 "description": "Additional configuration for inspect long running op erations.",
844 "id": "GooglePrivacyDlpV2beta1OperationConfig", 752 "id": "GooglePrivacyDlpV2beta1OperationConfig",
845 "properties": { 753 "properties": {
846 "maxItemFindings": { 754 "maxItemFindings": {
847 "description": "Max number of findings per file, Datastore e ntity or database row.", 755 "description": "Max number of findings per file, Datastore e ntity, or database row.",
848 "format": "int64", 756 "format": "int64",
849 "type": "string" 757 "type": "string"
850 } 758 }
851 }, 759 },
852 "type": "object" 760 "type": "object"
853 }, 761 },
854 "GooglePrivacyDlpV2beta1BigQueryOptions": { 762 "GooglePrivacyDlpV2beta1BigQueryOptions": {
855 "description": "Options defining BigQuery table and row identifiers. ", 763 "description": "Options defining BigQuery table and row identifiers. ",
856 "id": "GooglePrivacyDlpV2beta1BigQueryOptions", 764 "id": "GooglePrivacyDlpV2beta1BigQueryOptions",
857 "properties": { 765 "properties": {
858 "identifyingFields": { 766 "identifyingFields": {
859 "description": "References to fields uniquely identifying ro ws within the table.\nNested fields in the format, like `person.birthdate.year`, are allowed.", 767 "description": "References to fields uniquely identifying ro ws within the table.\nNested fields in the format, like `person.birthdate.year`, are allowed.",
860 "items": { 768 "items": {
861 "$ref": "GooglePrivacyDlpV2beta1FieldId" 769 "$ref": "GooglePrivacyDlpV2beta1FieldId"
862 }, 770 },
863 "type": "array" 771 "type": "array"
864 }, 772 },
865 "tableReference": { 773 "tableReference": {
866 "$ref": "GooglePrivacyDlpV2beta1BigQueryTable", 774 "$ref": "GooglePrivacyDlpV2beta1BigQueryTable",
867 "description": "Complete BigQuery table reference." 775 "description": "Complete BigQuery table reference."
868 } 776 }
869 }, 777 },
870 "type": "object" 778 "type": "object"
871 }, 779 },
872 "GooglePrivacyDlpV2beta1ReplaceConfig": { 780 "GooglePrivacyDlpV2beta1ReplaceConfig": {
873 "id": "GooglePrivacyDlpV2beta1ReplaceConfig", 781 "id": "GooglePrivacyDlpV2beta1ReplaceConfig",
874 "properties": { 782 "properties": {
783 "infoType": {
784 "$ref": "GooglePrivacyDlpV2beta1InfoType",
785 "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."
786 },
875 "replaceWith": { 787 "replaceWith": {
876 "description": "Content replacing sensitive information of g iven type. Max 256 chars.", 788 "description": "Content replacing sensitive information of g iven type. Max 256 chars.",
877 "type": "string" 789 "type": "string"
878 },
879 "infoType": {
880 "$ref": "GooglePrivacyDlpV2beta1InfoType",
881 "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."
882 } 790 }
883 }, 791 },
884 "type": "object" 792 "type": "object"
885 }, 793 },
886 "GooglePrivacyDlpV2beta1Color": { 794 "GooglePrivacyDlpV2beta1Color": {
887 "description": "Represents a color in the RGB color space.", 795 "description": "Represents a color in the RGB color space.",
888 "id": "GooglePrivacyDlpV2beta1Color", 796 "id": "GooglePrivacyDlpV2beta1Color",
889 "properties": { 797 "properties": {
890 "blue": { 798 "red": {
891 "description": "The amount of blue in the color as a value i n the interval [0, 1].", 799 "description": "The amount of red in the color as a value in the interval [0, 1].",
892 "format": "float", 800 "format": "float",
893 "type": "number" 801 "type": "number"
894 }, 802 },
895 "green": { 803 "green": {
896 "description": "The amount of green in the color as a value in the interval [0, 1].", 804 "description": "The amount of green in the color as a value in the interval [0, 1].",
897 "format": "float", 805 "format": "float",
898 "type": "number" 806 "type": "number"
899 }, 807 },
900 "red": { 808 "blue": {
901 "description": "The amount of red in the color as a value in the interval [0, 1].", 809 "description": "The amount of blue in the color as a value i n the interval [0, 1].",
902 "format": "float", 810 "format": "float",
903 "type": "number" 811 "type": "number"
904 } 812 }
905 }, 813 },
906 "type": "object" 814 "type": "object"
907 }, 815 },
908 "GooglePrivacyDlpV2beta1Table": { 816 "GooglePrivacyDlpV2beta1Table": {
909 "description": "Structured content to inspect. Up to 50,000 `Value`s per request allowed.", 817 "description": "Structured content to inspect. Up to 50,000 `Value`s per request allowed.",
910 "id": "GooglePrivacyDlpV2beta1Table", 818 "id": "GooglePrivacyDlpV2beta1Table",
911 "properties": { 819 "properties": {
912 "headers": { 820 "headers": {
913 "items": { 821 "items": {
914 "$ref": "GooglePrivacyDlpV2beta1FieldId" 822 "$ref": "GooglePrivacyDlpV2beta1FieldId"
915 }, 823 },
916 "type": "array" 824 "type": "array"
917 }, 825 },
918 "rows": { 826 "rows": {
919 "items": { 827 "items": {
920 "$ref": "GooglePrivacyDlpV2beta1Row" 828 "$ref": "GooglePrivacyDlpV2beta1Row"
921 }, 829 },
922 "type": "array" 830 "type": "array"
923 } 831 }
924 }, 832 },
925 "type": "object" 833 "type": "object"
926 }, 834 },
927 "GooglePrivacyDlpV2beta1InfoTypeLimit": { 835 "GooglePrivacyDlpV2beta1InfoTypeLimit": {
928 "description": "Max findings configuration per info type, per conten t item or long running\noperation.", 836 "description": "Max findings configuration per info type, per conten t item or long running\noperation.",
929 "id": "GooglePrivacyDlpV2beta1InfoTypeLimit", 837 "id": "GooglePrivacyDlpV2beta1InfoTypeLimit",
930 "properties": { 838 "properties": {
839 "maxFindings": {
840 "description": "Max findings limit for the given infoType.",
841 "format": "int32",
842 "type": "integer"
843 },
931 "infoType": { 844 "infoType": {
932 "$ref": "GooglePrivacyDlpV2beta1InfoType", 845 "$ref": "GooglePrivacyDlpV2beta1InfoType",
933 "description": "Type of information the findings limit appli es to. Only one limit per\ninfo_type should be provided. If InfoTypeLimit does n ot have an\ninfo_type, the DLP API applies the limit against all info_types that are\nfound but not specified in another InfoTypeLimit." 846 "description": "Type of information the findings limit appli es to. Only one limit per\ninfo_type should be provided. If InfoTypeLimit does n ot have an\ninfo_type, the DLP API applies the limit against all info_types that are\nfound but not specified in another InfoTypeLimit."
934 },
935 "maxFindings": {
936 "description": "Max findings limit for the given info type." ,
937 "format": "int32",
938 "type": "integer"
939 } 847 }
940 }, 848 },
941 "type": "object" 849 "type": "object"
942 }, 850 },
943 "GooglePrivacyDlpV2beta1Value": { 851 "GooglePrivacyDlpV2beta1Value": {
944 "description": "Set of primitive values supported by the system.", 852 "description": "Set of primitive values supported by the system.",
945 "id": "GooglePrivacyDlpV2beta1Value", 853 "id": "GooglePrivacyDlpV2beta1Value",
946 "properties": { 854 "properties": {
855 "timeValue": {
856 "$ref": "GoogleTypeTimeOfDay"
857 },
858 "integerValue": {
859 "format": "int64",
860 "type": "string"
861 },
947 "stringValue": { 862 "stringValue": {
948 "type": "string" 863 "type": "string"
949 }, 864 },
950 "dateValue": { 865 "dateValue": {
951 "$ref": "GoogleTypeDate" 866 "$ref": "GoogleTypeDate"
952 }, 867 },
953 "timestampValue": { 868 "timestampValue": {
954 "format": "google-datetime", 869 "format": "google-datetime",
955 "type": "string" 870 "type": "string"
956 }, 871 },
957 "booleanValue": { 872 "booleanValue": {
958 "type": "boolean" 873 "type": "boolean"
959 }, 874 },
960 "floatValue": { 875 "floatValue": {
961 "format": "double", 876 "format": "double",
962 "type": "number" 877 "type": "number"
963 },
964 "integerValue": {
965 "format": "int64",
966 "type": "string"
967 },
968 "timeValue": {
969 "$ref": "GoogleTypeTimeOfDay"
970 } 878 }
971 }, 879 },
972 "type": "object" 880 "type": "object"
973 }, 881 },
974 "GooglePrivacyDlpV2beta1ListInfoTypesResponse": { 882 "GooglePrivacyDlpV2beta1ListInfoTypesResponse": {
975 "description": "Response to the ListInfoTypes request.", 883 "description": "Response to the ListInfoTypes request.",
976 "id": "GooglePrivacyDlpV2beta1ListInfoTypesResponse", 884 "id": "GooglePrivacyDlpV2beta1ListInfoTypesResponse",
977 "properties": { 885 "properties": {
978 "infoTypes": { 886 "infoTypes": {
979 "description": "Set of sensitive info types belonging to a c ategory.", 887 "description": "Set of sensitive info types belonging to a c ategory.",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 }, 935 },
1028 "type": "array" 936 "type": "array"
1029 } 937 }
1030 }, 938 },
1031 "type": "object" 939 "type": "object"
1032 }, 940 },
1033 "GooglePrivacyDlpV2beta1RedactContentRequest": { 941 "GooglePrivacyDlpV2beta1RedactContentRequest": {
1034 "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.", 942 "description": "Request to search for potentially sensitive info in a list of items\nand replace it with a default or provided content.",
1035 "id": "GooglePrivacyDlpV2beta1RedactContentRequest", 943 "id": "GooglePrivacyDlpV2beta1RedactContentRequest",
1036 "properties": { 944 "properties": {
945 "replaceConfigs": {
946 "description": "The strings to replace findings text finding s with. Must specify at least\none of these or one ImageRedactionConfig if redac ting images.",
947 "items": {
948 "$ref": "GooglePrivacyDlpV2beta1ReplaceConfig"
949 },
950 "type": "array"
951 },
1037 "imageRedactionConfigs": { 952 "imageRedactionConfigs": {
1038 "description": "The configuration for specifying what conten t to redact from images.", 953 "description": "The configuration for specifying what conten t to redact from images.",
1039 "items": { 954 "items": {
1040 "$ref": "GooglePrivacyDlpV2beta1ImageRedactionConfig" 955 "$ref": "GooglePrivacyDlpV2beta1ImageRedactionConfig"
1041 }, 956 },
1042 "type": "array" 957 "type": "array"
1043 }, 958 },
1044 "inspectConfig": { 959 "inspectConfig": {
1045 "$ref": "GooglePrivacyDlpV2beta1InspectConfig", 960 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
1046 "description": "Configuration for the inspector." 961 "description": "Configuration for the inspector."
1047 }, 962 },
1048 "items": { 963 "items": {
1049 "description": "The list of items to inspect. Up to 100 are allowed per request.", 964 "description": "The list of items to inspect. Up to 100 are allowed per request.",
1050 "items": { 965 "items": {
1051 "$ref": "GooglePrivacyDlpV2beta1ContentItem" 966 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
1052 }, 967 },
1053 "type": "array" 968 "type": "array"
1054 },
1055 "replaceConfigs": {
1056 "description": "The strings to replace findings text finding s with. Must specify at least\none of these or one ImageRedactionConfig if redac ting images.",
1057 "items": {
1058 "$ref": "GooglePrivacyDlpV2beta1ReplaceConfig"
1059 },
1060 "type": "array"
1061 } 969 }
1062 }, 970 },
1063 "type": "object" 971 "type": "object"
1064 }, 972 },
1065 "GooglePrivacyDlpV2beta1FieldId": { 973 "GooglePrivacyDlpV2beta1FieldId": {
1066 "description": "General identifier of a data field in a storage serv ice.", 974 "description": "General identifier of a data field in a storage serv ice.",
1067 "id": "GooglePrivacyDlpV2beta1FieldId", 975 "id": "GooglePrivacyDlpV2beta1FieldId",
1068 "properties": { 976 "properties": {
1069 "columnName": { 977 "columnName": {
1070 "description": "Name describing the field.", 978 "description": "Name describing the field.",
1071 "type": "string" 979 "type": "string"
1072 } 980 }
1073 }, 981 },
1074 "type": "object" 982 "type": "object"
1075 }, 983 },
1076 "GooglePrivacyDlpV2beta1DatastoreOptions": { 984 "GooglePrivacyDlpV2beta1DatastoreOptions": {
1077 "description": "Options defining a data set within Google Cloud Data store.", 985 "description": "Options defining a data set within Google Cloud Data store.",
1078 "id": "GooglePrivacyDlpV2beta1DatastoreOptions", 986 "id": "GooglePrivacyDlpV2beta1DatastoreOptions",
1079 "properties": { 987 "properties": {
988 "partitionId": {
989 "$ref": "GooglePrivacyDlpV2beta1PartitionId",
990 "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."
991 },
992 "kind": {
993 "$ref": "GooglePrivacyDlpV2beta1KindExpression",
994 "description": "The kind to process."
995 },
1080 "projection": { 996 "projection": {
1081 "description": "Properties to scan. If none are specified, a ll properties will be scanned\nby default.", 997 "description": "Properties to scan. If none are specified, a ll properties will be scanned\nby default.",
1082 "items": { 998 "items": {
1083 "$ref": "GooglePrivacyDlpV2beta1Projection" 999 "$ref": "GooglePrivacyDlpV2beta1Projection"
1084 }, 1000 },
1085 "type": "array" 1001 "type": "array"
1086 },
1087 "kind": {
1088 "$ref": "GooglePrivacyDlpV2beta1KindExpression",
1089 "description": "The kind to process."
1090 },
1091 "partitionId": {
1092 "$ref": "GooglePrivacyDlpV2beta1PartitionId",
1093 "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."
1094 } 1002 }
1095 }, 1003 },
1096 "type": "object" 1004 "type": "object"
1097 }, 1005 },
1098 "GoogleLongrunningCancelOperationRequest": { 1006 "GoogleLongrunningCancelOperationRequest": {
1099 "description": "The request message for Operations.CancelOperation." , 1007 "description": "The request message for Operations.CancelOperation." ,
1100 "id": "GoogleLongrunningCancelOperationRequest", 1008 "id": "GoogleLongrunningCancelOperationRequest",
1101 "properties": {}, 1009 "properties": {},
1102 "type": "object" 1010 "type": "object"
1103 }, 1011 },
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 "$ref": "GooglePrivacyDlpV2beta1PropertyReference", 1071 "$ref": "GooglePrivacyDlpV2beta1PropertyReference",
1164 "description": "The property to project." 1072 "description": "The property to project."
1165 } 1073 }
1166 }, 1074 },
1167 "type": "object" 1075 "type": "object"
1168 }, 1076 },
1169 "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": { 1077 "GooglePrivacyDlpV2beta1CreateInspectOperationRequest": {
1170 "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.", 1078 "description": "Request for scheduling a scan of a data subset from a Google Platform data\nrepository.",
1171 "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest", 1079 "id": "GooglePrivacyDlpV2beta1CreateInspectOperationRequest",
1172 "properties": { 1080 "properties": {
1081 "storageConfig": {
1082 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
1083 "description": "Specification of the data set to process."
1084 },
1173 "outputConfig": { 1085 "outputConfig": {
1174 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig", 1086 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
1175 "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>timestamp<br/>\n<p>For Cloud Storage the next colum ns are: <li>file_path\n<li>start_offset<br/>\n<p>For Cloud Datastore the next co lumns are: <li>project_id\n<li>namespace_id <li>path <li>column_name <li>offset< br/>\n<p>For BigQuery the next columns are: <li>row_number <li>project_id\n<li>d ataset_id <li>table_id" 1087 "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.\nResults are split over multiple c sv files with each file name matching\nthe pattern \"[operation_id]_[count].csv\ ", for example\n`3094877188788974909_1.csv`. The `operation_id` matches the\nide ntifier for the Operation, and the `count` is a counter used for\ntracking the n umber of files written.\nThe CSV file(s) contain the\nfollowing columns regardle ss of storage type scanned:\n- id\n- info_type\n- likelihood\n- byte size of fin ding\n- quote\n- timestamp\n\nFor Cloud Storage the next columns are:\n- file_pa th\n- start_offset\n\nFor Cloud Datastore the next columns are:\n- project_id\n- namespace_id\n- path\n- column_name\n- offset\n\nFor BigQuery the next columns are:\n- row_number\n- project_id\n- dataset_id\n- table_id"
1176 }, 1088 },
1177 "operationConfig": { 1089 "operationConfig": {
1178 "$ref": "GooglePrivacyDlpV2beta1OperationConfig", 1090 "$ref": "GooglePrivacyDlpV2beta1OperationConfig",
1179 "description": "Additional configuration settings for long r unning operations." 1091 "description": "Additional configuration settings for long r unning operations."
1180 }, 1092 },
1181 "inspectConfig": { 1093 "inspectConfig": {
1182 "$ref": "GooglePrivacyDlpV2beta1InspectConfig", 1094 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
1183 "description": "Configuration for the inspector." 1095 "description": "Configuration for the inspector."
1184 },
1185 "storageConfig": {
1186 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
1187 "description": "Specification of the data set to process."
1188 } 1096 }
1189 }, 1097 },
1190 "type": "object" 1098 "type": "object"
1191 }, 1099 },
1192 "GooglePrivacyDlpV2beta1Key": { 1100 "GooglePrivacyDlpV2beta1Key": {
1193 "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.", 1101 "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.",
1194 "id": "GooglePrivacyDlpV2beta1Key", 1102 "id": "GooglePrivacyDlpV2beta1Key",
1195 "properties": { 1103 "properties": {
1196 "path": { 1104 "path": {
1197 "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.", 1105 "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.",
(...skipping 24 matching lines...) Expand all
1222 }, 1130 },
1223 "type": "array" 1131 "type": "array"
1224 } 1132 }
1225 }, 1133 },
1226 "type": "object" 1134 "type": "object"
1227 }, 1135 },
1228 "GoogleTypeDate": { 1136 "GoogleTypeDate": {
1229 "description": "Represents a whole calendar date, e.g. date of birth . The time of day and\ntime zone are either specified elsewhere or are not signi ficant. The date\nis relative to the Proleptic Gregorian Calendar. The day may b e 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independe nt\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.", 1137 "description": "Represents a whole calendar date, e.g. date of birth . The time of day and\ntime zone are either specified elsewhere or are not signi ficant. The date\nis relative to the Proleptic Gregorian Calendar. The day may b e 0 to\nrepresent a year and month where the day is not significant, e.g. credit card\nexpiration date. The year may be 0 to represent a month and day independe nt\nof year, e.g. anniversary date. Related types are google.type.TimeOfDay\nand `google.protobuf.Timestamp`.",
1230 "id": "GoogleTypeDate", 1138 "id": "GoogleTypeDate",
1231 "properties": { 1139 "properties": {
1140 "year": {
1141 "description": "Year of date. Must be from 1 to 9999, or 0 i f specifying a date without\na year.",
1142 "format": "int32",
1143 "type": "integer"
1144 },
1232 "day": { 1145 "day": {
1233 "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not s ignificant.", 1146 "description": "Day of month. Must be from 1 to 31 and valid for the year and month, or 0\nif specifying a year/month where the day is not s ignificant.",
1234 "format": "int32", 1147 "format": "int32",
1235 "type": "integer" 1148 "type": "integer"
1236 }, 1149 },
1237 "year": {
1238 "description": "Year of date. Must be from 1 to 9999, or 0 i f specifying a date without\na year.",
1239 "format": "int32",
1240 "type": "integer"
1241 },
1242 "month": { 1150 "month": {
1243 "description": "Month of year. Must be from 1 to 12.", 1151 "description": "Month of year. Must be from 1 to 12.",
1244 "format": "int32", 1152 "format": "int32",
1245 "type": "integer" 1153 "type": "integer"
1246 } 1154 }
1247 }, 1155 },
1248 "type": "object" 1156 "type": "object"
1249 }, 1157 },
1250 "GooglePrivacyDlpV2beta1InfoTypeStatistics": { 1158 "GooglePrivacyDlpV2beta1RedactContentResponse": {
1251 "description": "Statistics regarding a specific InfoType.", 1159 "description": "Results of redacting a list of items.",
1252 "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics", 1160 "id": "GooglePrivacyDlpV2beta1RedactContentResponse",
1253 "properties": { 1161 "properties": {
1254 "count": { 1162 "items": {
1255 "description": "Number of findings for this info type.", 1163 "description": "The redacted content.",
1256 "format": "int64", 1164 "items": {
1257 "type": "string" 1165 "$ref": "GooglePrivacyDlpV2beta1ContentItem"
1258 }, 1166 },
1259 "infoType": { 1167 "type": "array"
1260 "$ref": "GooglePrivacyDlpV2beta1InfoType",
1261 "description": "The type of finding this stat is for."
1262 } 1168 }
1263 }, 1169 },
1264 "type": "object" 1170 "type": "object"
1265 }, 1171 },
1266 "GooglePrivacyDlpV2beta1ImageRedactionConfig": { 1172 "GooglePrivacyDlpV2beta1ImageRedactionConfig": {
1267 "description": "Configuration for determing how redaction of images should occur.", 1173 "description": "Configuration for determing how redaction of images should occur.",
1268 "id": "GooglePrivacyDlpV2beta1ImageRedactionConfig", 1174 "id": "GooglePrivacyDlpV2beta1ImageRedactionConfig",
1269 "properties": { 1175 "properties": {
1270 "redactionColor": {
1271 "$ref": "GooglePrivacyDlpV2beta1Color",
1272 "description": "The color to use when redacting content from an image. If not specified,\nthe default is black."
1273 },
1274 "redactAllText": { 1176 "redactAllText": {
1275 "description": "If true, all text found in the image, regard less whether it matches an\ninfo_type, is redacted.", 1177 "description": "If true, all text found in the image, regard less whether it matches an\ninfo_type, is redacted.",
1276 "type": "boolean" 1178 "type": "boolean"
1277 }, 1179 },
1278 "infoType": { 1180 "infoType": {
1279 "$ref": "GooglePrivacyDlpV2beta1InfoType", 1181 "$ref": "GooglePrivacyDlpV2beta1InfoType",
1280 "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 act all\ntext that it matches against all info_types that are found, but not\nsp ecified in another ImageRedactionConfig." 1182 "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 act all\ntext that it matches against all info_types that are found, but not\nsp ecified in another ImageRedactionConfig."
1183 },
1184 "redactionColor": {
1185 "$ref": "GooglePrivacyDlpV2beta1Color",
1186 "description": "The color to use when redacting content from an image. If not specified,\nthe default is black."
1281 } 1187 }
1282 }, 1188 },
1283 "type": "object" 1189 "type": "object"
1284 }, 1190 },
1285 "GooglePrivacyDlpV2beta1RedactContentResponse": { 1191 "GooglePrivacyDlpV2beta1InfoTypeStatistics": {
1286 "description": "Results of redacting a list of items.", 1192 "description": "Statistics regarding a specific InfoType.",
1287 "id": "GooglePrivacyDlpV2beta1RedactContentResponse", 1193 "id": "GooglePrivacyDlpV2beta1InfoTypeStatistics",
1288 "properties": { 1194 "properties": {
1289 "items": { 1195 "count": {
1290 "description": "The redacted content.", 1196 "description": "Number of findings for this info type.",
1291 "items": { 1197 "format": "int64",
1292 "$ref": "GooglePrivacyDlpV2beta1ContentItem" 1198 "type": "string"
1293 }, 1199 },
1294 "type": "array" 1200 "infoType": {
1201 "$ref": "GooglePrivacyDlpV2beta1InfoType",
1202 "description": "The type of finding this stat is for."
1295 } 1203 }
1296 }, 1204 },
1297 "type": "object" 1205 "type": "object"
1298 }, 1206 },
1299 "GooglePrivacyDlpV2beta1PropertyReference": { 1207 "GooglePrivacyDlpV2beta1PropertyReference": {
1300 "description": "A reference to a property relative to the Datastore kind expressions.", 1208 "description": "A reference to a property relative to the Datastore kind expressions.",
1301 "id": "GooglePrivacyDlpV2beta1PropertyReference", 1209 "id": "GooglePrivacyDlpV2beta1PropertyReference",
1302 "properties": { 1210 "properties": {
1303 "name": { 1211 "name": {
1304 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.", 1212 "description": "The name of the property.\nIf name includes \".\"s, it may be interpreted as a property name path.",
1305 "type": "string" 1213 "type": "string"
1306 } 1214 }
1307 }, 1215 },
1308 "type": "object" 1216 "type": "object"
1309 }, 1217 },
1310 "GooglePrivacyDlpV2beta1Location": { 1218 "GooglePrivacyDlpV2beta1Location": {
1311 "description": "Specifies the location of a finding within its sourc e item.", 1219 "description": "Specifies the location of a finding within its sourc e item.",
1312 "id": "GooglePrivacyDlpV2beta1Location", 1220 "id": "GooglePrivacyDlpV2beta1Location",
1313 "properties": { 1221 "properties": {
1314 "tableLocation": {
1315 "$ref": "GooglePrivacyDlpV2beta1TableLocation",
1316 "description": "Location within a `ContentItem.Table`."
1317 },
1318 "codepointRange": { 1222 "codepointRange": {
1319 "$ref": "GooglePrivacyDlpV2beta1Range", 1223 "$ref": "GooglePrivacyDlpV2beta1Range",
1320 "description": "Character offsets within a content item, inc luded when content type\nis a text. Default charset assumed to be UTF-8." 1224 "description": "Character offsets within a content item, inc luded when content type\nis a text. Default charset assumed to be UTF-8."
1321 }, 1225 },
1322 "fieldId": { 1226 "fieldId": {
1323 "$ref": "GooglePrivacyDlpV2beta1FieldId", 1227 "$ref": "GooglePrivacyDlpV2beta1FieldId",
1324 "description": "Field id of the field containing the finding ." 1228 "description": "Field id of the field containing the finding ."
1325 }, 1229 },
1326 "imageBoxes": { 1230 "imageBoxes": {
1327 "description": "Location within an image's pixels.", 1231 "description": "Location within an image's pixels.",
1328 "items": { 1232 "items": {
1329 "$ref": "GooglePrivacyDlpV2beta1ImageLocation" 1233 "$ref": "GooglePrivacyDlpV2beta1ImageLocation"
1330 }, 1234 },
1331 "type": "array" 1235 "type": "array"
1332 }, 1236 },
1333 "byteRange": { 1237 "byteRange": {
1334 "$ref": "GooglePrivacyDlpV2beta1Range", 1238 "$ref": "GooglePrivacyDlpV2beta1Range",
1335 "description": "Zero-based byte offsets within a content ite m." 1239 "description": "Zero-based byte offsets within a content ite m."
1336 }, 1240 },
1337 "recordKey": { 1241 "recordKey": {
1338 "$ref": "GooglePrivacyDlpV2beta1RecordKey", 1242 "$ref": "GooglePrivacyDlpV2beta1RecordKey",
1339 "description": "Key of the finding." 1243 "description": "Key of the finding."
1244 },
1245 "tableLocation": {
1246 "$ref": "GooglePrivacyDlpV2beta1TableLocation",
1247 "description": "Location within a `ContentItem.Table`."
1340 } 1248 }
1341 }, 1249 },
1342 "type": "object" 1250 "type": "object"
1343 }, 1251 },
1344 "GooglePrivacyDlpV2beta1InfoTypeDescription": { 1252 "GooglePrivacyDlpV2beta1InfoTypeDescription": {
1345 "description": "Info type description.", 1253 "description": "Info type description.",
1346 "id": "GooglePrivacyDlpV2beta1InfoTypeDescription", 1254 "id": "GooglePrivacyDlpV2beta1InfoTypeDescription",
1347 "properties": { 1255 "properties": {
1348 "categories": {
1349 "description": "List of categories this info type belongs to .",
1350 "items": {
1351 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
1352 },
1353 "type": "array"
1354 },
1355 "name": { 1256 "name": {
1356 "description": "Internal name of the info type.", 1257 "description": "Internal name of the info type.",
1357 "type": "string" 1258 "type": "string"
1358 }, 1259 },
1359 "displayName": { 1260 "displayName": {
1360 "description": "Human readable form of the info type name.", 1261 "description": "Human readable form of the info type name.",
1361 "type": "string" 1262 "type": "string"
1263 },
1264 "categories": {
1265 "description": "List of categories this info type belongs to .",
1266 "items": {
1267 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
1268 },
1269 "type": "array"
1362 } 1270 }
1363 }, 1271 },
1364 "type": "object" 1272 "type": "object"
1365 }, 1273 },
1366 "GooglePrivacyDlpV2beta1OutputStorageConfig": { 1274 "GooglePrivacyDlpV2beta1OutputStorageConfig": {
1367 "description": "Cloud repository for storing output.", 1275 "description": "Cloud repository for storing output.",
1368 "id": "GooglePrivacyDlpV2beta1OutputStorageConfig", 1276 "id": "GooglePrivacyDlpV2beta1OutputStorageConfig",
1369 "properties": { 1277 "properties": {
1370 "storagePath": { 1278 "storagePath": {
1371 "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath", 1279 "$ref": "GooglePrivacyDlpV2beta1CloudStoragePath",
1372 "description": "The path to a Google Cloud Storage location to store output." 1280 "description": "The path to a Google Cloud Storage location to store output."
1373 }, 1281 },
1374 "table": { 1282 "table": {
1375 "$ref": "GooglePrivacyDlpV2beta1BigQueryTable", 1283 "$ref": "GooglePrivacyDlpV2beta1BigQueryTable",
1376 "description": "Store findings in a new table in the dataset ." 1284 "description": "Store findings in a new table in the dataset ."
1377 } 1285 }
1378 }, 1286 },
1379 "type": "object" 1287 "type": "object"
1380 }, 1288 },
1381 "GoogleRpcStatus": { 1289 "GoogleRpcStatus": {
1382 "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.", 1290 "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.",
1383 "id": "GoogleRpcStatus", 1291 "id": "GoogleRpcStatus",
1384 "properties": { 1292 "properties": {
1385 "code": {
1386 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1387 "format": "int32",
1388 "type": "integer"
1389 },
1390 "message": { 1293 "message": {
1391 "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.", 1294 "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.",
1392 "type": "string" 1295 "type": "string"
1393 }, 1296 },
1394 "details": { 1297 "details": {
1395 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.", 1298 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
1396 "items": { 1299 "items": {
1397 "additionalProperties": { 1300 "additionalProperties": {
1398 "description": "Properties of the object. Contains f ield @type with type URL.", 1301 "description": "Properties of the object. Contains f ield @type with type URL.",
1399 "type": "any" 1302 "type": "any"
1400 }, 1303 },
1401 "type": "object" 1304 "type": "object"
1402 }, 1305 },
1403 "type": "array" 1306 "type": "array"
1307 },
1308 "code": {
1309 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1310 "format": "int32",
1311 "type": "integer"
1404 } 1312 }
1405 }, 1313 },
1406 "type": "object" 1314 "type": "object"
1407 }, 1315 },
1408 "GoogleLongrunningOperation": { 1316 "GoogleLongrunningOperation": {
1409 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 1317 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
1410 "id": "GoogleLongrunningOperation", 1318 "id": "GoogleLongrunningOperation",
1411 "properties": { 1319 "properties": {
1320 "response": {
1321 "additionalProperties": {
1322 "description": "Properties of the object. Contains field @type with type URL.",
1323 "type": "any"
1324 },
1325 "description": "This field will contain an InspectOperationR esult object.",
1326 "type": "object"
1327 },
1412 "name": { 1328 "name": {
1413 "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.", 1329 "description": "The server-assigned name, The `name` should have the format of `inspect/operations/<identifier>`.",
1414 "type": "string" 1330 "type": "string"
1415 }, 1331 },
1416 "error": { 1332 "error": {
1417 "$ref": "GoogleRpcStatus", 1333 "$ref": "GoogleRpcStatus",
1418 "description": "The error result of the operation in case of failure or cancellation." 1334 "description": "The error result of the operation in case of failure or cancellation."
1419 }, 1335 },
1420 "metadata": { 1336 "metadata": {
1421 "additionalProperties": { 1337 "additionalProperties": {
1422 "description": "Properties of the object. Contains field @type with type URL.", 1338 "description": "Properties of the object. Contains field @type with type URL.",
1423 "type": "any" 1339 "type": "any"
1424 }, 1340 },
1425 "description": "This field will contain an InspectOperationM etadata object. This will always be returned with the Operation.", 1341 "description": "This field will contain an InspectOperationM etadata object. This will always be returned with the Operation.",
1426 "type": "object" 1342 "type": "object"
1427 }, 1343 },
1428 "done": { 1344 "done": {
1429 "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.", 1345 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf `true`, the operation is completed, and either `er ror` or `response` is\navailable.",
1430 "type": "boolean" 1346 "type": "boolean"
1431 }, 1347 }
1432 "response": { 1348 },
1433 "additionalProperties": { 1349 "type": "object"
1434 "description": "Properties of the object. Contains field @type with type URL.", 1350 },
1435 "type": "any" 1351 "GooglePrivacyDlpV2beta1InspectOperationMetadata": {
1436 }, 1352 "description": "Metadata returned within GetOperation for an inspect request.",
1437 "description": "This field will contain an InspectOperationR esult object.", 1353 "id": "GooglePrivacyDlpV2beta1InspectOperationMetadata",
1438 "type": "object" 1354 "properties": {
1439 } 1355 "requestOutputConfig": {
1440 }, 1356 "$ref": "GooglePrivacyDlpV2beta1OutputStorageConfig",
1441 "type": "object" 1357 "description": "Optional location to store findings."
1358 },
1359 "createTime": {
1360 "description": "The time which this request was started.",
1361 "format": "google-datetime",
1362 "type": "string"
1363 },
1364 "requestStorageConfig": {
1365 "$ref": "GooglePrivacyDlpV2beta1StorageConfig",
1366 "description": "The storage config used to create the Operat ion."
1367 },
1368 "processedBytes": {
1369 "description": "Total size in bytes that were processed.",
1370 "format": "int64",
1371 "type": "string"
1372 },
1373 "totalEstimatedBytes": {
1374 "description": "Estimate of the number of bytes to process." ,
1375 "format": "int64",
1376 "type": "string"
1377 },
1378 "infoTypeStats": {
1379 "items": {
1380 "$ref": "GooglePrivacyDlpV2beta1InfoTypeStatistics"
1381 },
1382 "type": "array"
1383 },
1384 "requestInspectConfig": {
1385 "$ref": "GooglePrivacyDlpV2beta1InspectConfig",
1386 "description": "The inspect config used to create the Operat ion."
1387 }
1388 },
1389 "type": "object"
1390 },
1391 "GooglePrivacyDlpV2beta1InfoType": {
1392 "description": "Type of information detected by the API.",
1393 "id": "GooglePrivacyDlpV2beta1InfoType",
1394 "properties": {
1395 "name": {
1396 "description": "Name of the information type.",
1397 "type": "string"
1398 }
1399 },
1400 "type": "object"
1401 },
1402 "GooglePrivacyDlpV2beta1PathElement": {
1403 "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.",
1404 "id": "GooglePrivacyDlpV2beta1PathElement",
1405 "properties": {
1406 "name": {
1407 "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 `\"\"`.",
1408 "type": "string"
1409 },
1410 "kind": {
1411 "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 `\"\"`.",
1412 "type": "string"
1413 },
1414 "id": {
1415 "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.",
1416 "format": "int64",
1417 "type": "string"
1418 }
1419 },
1420 "type": "object"
1421 },
1422 "GooglePrivacyDlpV2beta1CategoryDescription": {
1423 "description": "Info Type Category description.",
1424 "id": "GooglePrivacyDlpV2beta1CategoryDescription",
1425 "properties": {
1426 "name": {
1427 "description": "Internal name of the category.",
1428 "type": "string"
1429 },
1430 "displayName": {
1431 "description": "Human readable form of the category name.",
1432 "type": "string"
1433 }
1434 },
1435 "type": "object"
1436 },
1437 "GooglePrivacyDlpV2beta1BigQueryTable": {
1438 "description": "Message defining the location of a BigQuery table. A table is uniquely\nidentified by its project_id, dataset_id, and table_name. W ithin a query\na table is often referenced with a string in the format of:\n`<pr oject_id>:<dataset_id>.<table_id>` or\n`<project_id>.<dataset_id>.<table_id>`.",
1439 "id": "GooglePrivacyDlpV2beta1BigQueryTable",
1440 "properties": {
1441 "tableId": {
1442 "description": "Name of the table.",
1443 "type": "string"
1444 },
1445 "projectId": {
1446 "description": "The Google Cloud Platform project ID of the project containing the table.\nIf omitted, project ID is inferred from the API c all.",
1447 "type": "string"
1448 },
1449 "datasetId": {
1450 "description": "Dataset ID of the table.",
1451 "type": "string"
1452 }
1453 },
1454 "type": "object"
1455 },
1456 "GooglePrivacyDlpV2beta1ListRootCategoriesResponse": {
1457 "description": "Response for ListRootCategories request.",
1458 "id": "GooglePrivacyDlpV2beta1ListRootCategoriesResponse",
1459 "properties": {
1460 "categories": {
1461 "description": "List of all into type categories supported b y the API.",
1462 "items": {
1463 "$ref": "GooglePrivacyDlpV2beta1CategoryDescription"
1464 },
1465 "type": "array"
1466 }
1467 },
1468 "type": "object"
1469 },
1470 "GooglePrivacyDlpV2beta1Finding": {
1471 "description": "Container structure describing a single finding with in a string or image.",
1472 "id": "GooglePrivacyDlpV2beta1Finding",
1473 "properties": {
1474 "likelihood": {
1475 "description": "Estimate of how likely it is that the info_t ype is correct.",
1476 "enum": [
1477 "LIKELIHOOD_UNSPECIFIED",
1478 "VERY_UNLIKELY",
1479 "UNLIKELY",
1480 "POSSIBLE",
1481 "LIKELY",
1482 "VERY_LIKELY"
1483 ],
1484 "enumDescriptions": [
1485 "Default value; information with all likelihoods is incl uded.",
1486 "Few matching elements.",
1487 "",
1488 "Some matching elements.",
1489 "",
1490 "Many matching elements."
1491 ],
1492 "type": "string"
1493 },
1494 "infoType": {
1495 "$ref": "GooglePrivacyDlpV2beta1InfoType",
1496 "description": "The specific type of info the string might b e."
1497 },
1498 "createTime": {
1499 "description": "Timestamp when finding was detected.",
1500 "format": "google-datetime",
1501 "type": "string"
1502 },
1503 "quote": {
1504 "description": "The specific string that may be potentially sensitive info.",
1505 "type": "string"
1506 },
1507 "location": {
1508 "$ref": "GooglePrivacyDlpV2beta1Location",
1509 "description": "Location of the info found."
1510 }
1511 },
1512 "type": "object"
1513 },
1514 "GooglePrivacyDlpV2beta1KindExpression": {
1515 "description": "A representation of a Datastore kind.",
1516 "id": "GooglePrivacyDlpV2beta1KindExpression",
1517 "properties": {
1518 "name": {
1519 "description": "The name of the kind.",
1520 "type": "string"
1521 }
1522 },
1523 "type": "object"
1524 },
1525 "GoogleLongrunningListOperationsResponse": {
1526 "description": "The response message for Operations.ListOperations." ,
1527 "id": "GoogleLongrunningListOperationsResponse",
1528 "properties": {
1529 "nextPageToken": {
1530 "description": "The standard List next-page token.",
1531 "type": "string"
1532 },
1533 "operations": {
1534 "description": "A list of operations that matches the specif ied filter in the request.",
1535 "items": {
1536 "$ref": "GoogleLongrunningOperation"
1537 },
1538 "type": "array"
1539 }
1540 },
1541 "type": "object"
1542 },
1543 "GooglePrivacyDlpV2beta1Row": {
1544 "id": "GooglePrivacyDlpV2beta1Row",
1545 "properties": {
1546 "values": {
1547 "items": {
1548 "$ref": "GooglePrivacyDlpV2beta1Value"
1549 },
1550 "type": "array"
1551 }
1552 },
1553 "type": "object"
1554 },
1555 "GooglePrivacyDlpV2beta1FileSet": {
1556 "description": "Set of files to scan.",
1557 "id": "GooglePrivacyDlpV2beta1FileSet",
1558 "properties": {
1559 "url": {
1560 "description": "The url, in the format `gs://<bucket>/<path> `. Trailing wildcard in the\npath is allowed.",
1561 "type": "string"
1562 }
1563 },
1564 "type": "object"
1442 } 1565 }
1443 }, 1566 },
1444 "servicePath": "", 1567 "servicePath": "",
1445 "title": "DLP API", 1568 "title": "DLP API",
1446 "version": "v2beta1" 1569 "version": "v2beta1"
1447 } 1570 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/dataflow__v1b3.json ('k') | discovery/googleapis_beta/dns__v2beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698