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