blob: 204df0f2ce9dbd5d1cabdc259cf970b66cf1119d [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dlp_v2.html">Cloud Data Loss Prevention (DLP) API</a> . <a href="dlp_v2.projects.html">projects</a> . <a href="dlp_v2.projects.image.html">image</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#redact">redact(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Redacts potentially sensitive info from an image.</p>
80<h3>Method Details</h3>
81<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070082 <code class="details" id="redact">redact(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083 <pre>Redacts potentially sensitive info from an image.
84This method has limits on input size, processing time, and output size.
85See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to
86learn more.
87
88When no InfoTypes or CustomInfoTypes are specified in this request, the
89system will automatically choose what detectors to run. By default this may
90be all types, but may change over time as detectors are updated.
91
92Args:
93 parent: string, The parent resource name, for example projects/my-project-id. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070094 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 The object takes the form of:
96
97{ # Request to search for potentially sensitive info in an image and redact it
98 # by covering it with a colored rectangle.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070099 &quot;imageRedactionConfigs&quot;: [ # The configuration for specifying what content to redact from images.
100 { # Configuration for determining how redaction of images should occur.
101 &quot;infoType&quot;: { # Type of information detected by the API. # Only one per info_type should be provided per request. If not
102 # specified, and redact_all_text is false, the DLP API will redact all
103 # text that it matches against all info_types that are found, but not
104 # specified in another ImageRedactionConfig.
105 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
106 # creating a CustomInfoType, or one of the names listed
107 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
108 # a built-in type. InfoType names should conform to the pattern
109 # `[a-zA-Z0-9_]{1,64}`.
110 },
111 &quot;redactionColor&quot;: { # Represents a color in the RGB color space. # The color to use when redacting content from an image. If not specified,
112 # the default is black.
113 &quot;green&quot;: 3.14, # The amount of green in the color as a value in the interval [0, 1].
114 &quot;blue&quot;: 3.14, # The amount of blue in the color as a value in the interval [0, 1].
115 &quot;red&quot;: 3.14, # The amount of red in the color as a value in the interval [0, 1].
116 },
117 &quot;redactAllText&quot;: True or False, # If true, all text found in the image, regardless whether it matches an
118 # info_type, is redacted. Only one should be provided.
119 },
120 ],
121 &quot;locationId&quot;: &quot;A String&quot;, # The geographic location to process the request. Reserved for future
122 # extensions.
123 # Location is restricted to &#x27;global&#x27;, &#x27;us&#x27;, &#x27;asia&#x27;, and &#x27;europe&#x27;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 &quot;byteItem&quot;: { # Container for bytes to inspect or redact. # The content must be PNG, JPEG, SVG or BMP.
Bu Sun Kim65020912020-05-20 12:08:20 -0700125 &quot;data&quot;: &quot;A String&quot;, # Content data to inspect or redact.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700126 &quot;type&quot;: &quot;A String&quot;, # The type of data stored in the bytes string. Default will be TEXT_UTF8.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700127 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700128 &quot;includeFindings&quot;: True or False, # Whether the response should include findings along with the redacted
129 # image.
130 &quot;inspectConfig&quot;: { # Configuration description of the scanning process. # Configuration for the inspector.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700131 # When used with redactContent only info_types and min_likelihood are currently
132 # used.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700133 &quot;minLikelihood&quot;: &quot;A String&quot;, # Only returns findings equal or above this threshold. The default is
134 # POSSIBLE.
135 # See https://cloud.google.com/dlp/docs/likelihood to learn more.
136 &quot;contentOptions&quot;: [ # List of options defining data content to scan.
137 # If empty, text, images, and other content will be included.
138 &quot;A String&quot;,
139 ],
140 &quot;infoTypes&quot;: [ # Restricts what info_types to look for. The values must correspond to
141 # InfoType values returned by ListInfoTypes or listed at
142 # https://cloud.google.com/dlp/docs/infotypes-reference.
143 #
144 # When no InfoTypes or CustomInfoTypes are specified in a request, the
145 # system may automatically choose what detectors to run. By default this may
146 # be all types, but may change over time as detectors are updated.
147 #
148 # If you need precise control and predictability as to what detectors are
149 # run you should specify specific InfoTypes listed in the reference,
150 # otherwise a default list will be used, which may change over time.
151 { # Type of information detected by the API.
152 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
153 # creating a CustomInfoType, or one of the names listed
154 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
155 # a built-in type. InfoType names should conform to the pattern
156 # `[a-zA-Z0-9_]{1,64}`.
157 },
158 ],
159 &quot;excludeInfoTypes&quot;: True or False, # When true, excludes type information of the findings.
160 &quot;customInfoTypes&quot;: [ # CustomInfoTypes provided by the user. See
161 # https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
162 { # Custom information type provided by the user. Used to find domain-specific
163 # sensitive information configurable to the data in question.
164 &quot;surrogateType&quot;: { # Message for detecting output from deidentification transformations # Message for detecting output from deidentification transformations that
165 # support reversing.
166 # such as
167 # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
168 # These types of transformations are
169 # those that perform pseudonymization, thereby producing a &quot;surrogate&quot; as
170 # output. This should be used in conjunction with a field on the
171 # transformation such as `surrogate_info_type`. This CustomInfoType does
172 # not support the use of `detection_rules`.
173 },
174 &quot;likelihood&quot;: &quot;A String&quot;, # Likelihood to return for this CustomInfoType. This base value can be
175 # altered by a detection rule if the finding meets the criteria specified by
176 # the rule. Defaults to `VERY_LIKELY` if not specified.
177 &quot;infoType&quot;: { # Type of information detected by the API. # CustomInfoType can either be a new infoType, or an extension of built-in
178 # infoType, when the name matches one of existing infoTypes and that infoType
179 # is specified in `InspectContent.info_types` field. Specifying the latter
180 # adds findings to the one detected by the system. If built-in info type is
181 # not specified in `InspectContent.info_types` list then the name is treated
182 # as a custom info type.
183 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
184 # creating a CustomInfoType, or one of the names listed
185 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
186 # a built-in type. InfoType names should conform to the pattern
187 # `[a-zA-Z0-9_]{1,64}`.
188 },
189 &quot;regex&quot;: { # Message defining a custom regular expression. # Regular expression based CustomInfoType.
190 &quot;groupIndexes&quot;: [ # The index of the submatch to extract as findings. When not
191 # specified, the entire match is returned. No more than 3 may be included.
192 42,
193 ],
194 &quot;pattern&quot;: &quot;A String&quot;, # Pattern defining the regular expression. Its syntax
195 # (https://github.com/google/re2/wiki/Syntax) can be found under the
196 # google/re2 repository on GitHub.
197 },
198 &quot;detectionRules&quot;: [ # Set of detection rules to apply to all findings of this CustomInfoType.
199 # Rules are applied in order that they are specified. Not supported for the
200 # `surrogate_type` CustomInfoType.
201 { # Deprecated; use `InspectionRuleSet` instead. Rule for modifying a
202 # `CustomInfoType` to alter behavior under certain circumstances, depending
203 # on the specific details of the rule. Not supported for the `surrogate_type`
204 # custom infoType.
205 &quot;hotwordRule&quot;: { # The rule that adjusts the likelihood of findings within a certain # Hotword-based detection rule.
206 # proximity of hotwords.
207 &quot;likelihoodAdjustment&quot;: { # Message for specifying an adjustment to the likelihood of a finding as # Likelihood adjustment to apply to all matching findings.
208 # part of a detection rule.
209 &quot;relativeLikelihood&quot;: 42, # Increase or decrease the likelihood by the specified number of
210 # levels. For example, if a finding would be `POSSIBLE` without the
211 # detection rule and `relative_likelihood` is 1, then it is upgraded to
212 # `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
213 # Likelihood may never drop below `VERY_UNLIKELY` or exceed
214 # `VERY_LIKELY`, so applying an adjustment of 1 followed by an
215 # adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
216 # a final likelihood of `LIKELY`.
217 &quot;fixedLikelihood&quot;: &quot;A String&quot;, # Set the likelihood of a finding to a fixed value.
218 },
219 &quot;hotwordRegex&quot;: { # Message defining a custom regular expression. # Regular expression pattern defining what qualifies as a hotword.
220 &quot;groupIndexes&quot;: [ # The index of the submatch to extract as findings. When not
221 # specified, the entire match is returned. No more than 3 may be included.
222 42,
223 ],
224 &quot;pattern&quot;: &quot;A String&quot;, # Pattern defining the regular expression. Its syntax
225 # (https://github.com/google/re2/wiki/Syntax) can be found under the
226 # google/re2 repository on GitHub.
227 },
228 &quot;proximity&quot;: { # Message for specifying a window around a finding to apply a detection # Proximity of the finding within which the entire hotword must reside.
229 # The total length of the window cannot exceed 1000 characters. Note that
230 # the finding itself will be included in the window, so that hotwords may
231 # be used to match substrings of the finding itself. For example, the
232 # certainty of a phone number regex &quot;\(\d{3}\) \d{3}-\d{4}&quot; could be
233 # adjusted upwards if the area code is known to be the local area code of
234 # a company office using the hotword regex &quot;\(xxx\)&quot;, where &quot;xxx&quot;
235 # is the area code in question.
236 # rule.
237 &quot;windowBefore&quot;: 42, # Number of characters before the finding to consider.
238 &quot;windowAfter&quot;: 42, # Number of characters after the finding to consider.
239 },
240 },
241 },
242 ],
243 &quot;exclusionType&quot;: &quot;A String&quot;, # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
244 # to be returned. It still can be used for rules matching.
245 &quot;dictionary&quot;: { # Custom information type based on a dictionary of words or phrases. This can # A list of phrases to detect as a CustomInfoType.
246 # be used to match sensitive information specific to the data, such as a list
247 # of employee IDs or job titles.
248 #
249 # Dictionary words are case-insensitive and all characters other than letters
250 # and digits in the unicode [Basic Multilingual
251 # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
252 # will be replaced with whitespace when scanning for matches, so the
253 # dictionary phrase &quot;Sam Johnson&quot; will match all three phrases &quot;sam johnson&quot;,
254 # &quot;Sam, Johnson&quot;, and &quot;Sam (Johnson)&quot;. Additionally, the characters
255 # surrounding any match must be of a different type than the adjacent
256 # characters within the word, so letters must be next to non-letters and
257 # digits next to non-digits. For example, the dictionary word &quot;jen&quot; will
258 # match the first three letters of the text &quot;jen123&quot; but will return no
259 # matches for &quot;jennifer&quot;.
260 #
261 # Dictionary words containing a large number of characters that are not
262 # letters or digits may result in unexpected findings because such characters
263 # are treated as whitespace. The
264 # [limits](https://cloud.google.com/dlp/limits) page contains details about
265 # the size limits of dictionaries. For dictionaries that do not fit within
266 # these constraints, consider using `LargeCustomDictionaryConfig` in the
267 # `StoredInfoType` API.
268 &quot;wordList&quot;: { # Message defining a list of words or phrases to search for in the data. # List of words or phrases to search for.
269 &quot;words&quot;: [ # Words or phrases defining the dictionary. The dictionary must contain
270 # at least one phrase and every phrase must contain at least 2 characters
271 # that are letters or digits. [required]
272 &quot;A String&quot;,
273 ],
274 },
275 &quot;cloudStoragePath&quot;: { # Message representing a single file or path in Cloud Storage. # Newline-delimited file of words in Cloud Storage. Only a single file
276 # is accepted.
277 &quot;path&quot;: &quot;A String&quot;, # A url representing a file or path (no wildcards) in Cloud Storage.
278 # Example: gs://[BUCKET_NAME]/dictionary.txt
279 },
280 },
281 &quot;storedType&quot;: { # A reference to a StoredInfoType to use with scanning. # Load an existing `StoredInfoType` resource for use in
282 # `InspectDataSource`. Not currently supported in `InspectContent`.
283 &quot;name&quot;: &quot;A String&quot;, # Resource name of the requested `StoredInfoType`, for example
284 # `organizations/433245324/storedInfoTypes/432452342` or
285 # `projects/project-id/storedInfoTypes/432452342`.
286 &quot;createTime&quot;: &quot;A String&quot;, # Timestamp indicating when the version of the `StoredInfoType` used for
287 # inspection was created. Output-only field, populated by the system.
288 },
289 },
290 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 &quot;includeQuote&quot;: True or False, # When true, a contextual quote from the data that triggered a finding is
292 # included in the response; see Finding.quote.
293 &quot;ruleSet&quot;: [ # Set of rules to apply to the findings for this InspectConfig.
294 # Exclusion rules, contained in the set are executed in the end, other
295 # rules are executed in the order they are specified for each info type.
296 { # Rule set for modifying a set of infoTypes to alter behavior under certain
297 # circumstances, depending on the specific details of the rules within the set.
298 &quot;infoTypes&quot;: [ # List of infoTypes this rule set is applied to.
299 { # Type of information detected by the API.
300 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700301 # creating a CustomInfoType, or one of the names listed
302 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
303 # a built-in type. InfoType names should conform to the pattern
Dan O'Mearadd494642020-05-01 07:42:23 -0700304 # `[a-zA-Z0-9_]{1,64}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700305 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700306 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700307 &quot;rules&quot;: [ # Set of rules to be applied to infoTypes. The rules are applied in order.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700308 { # A single inspection rule to be applied to infoTypes, specified in
309 # `InspectionRuleSet`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700310 &quot;hotwordRule&quot;: { # The rule that adjusts the likelihood of findings within a certain # Hotword-based detection rule.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700311 # proximity of hotwords.
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 &quot;likelihoodAdjustment&quot;: { # Message for specifying an adjustment to the likelihood of a finding as # Likelihood adjustment to apply to all matching findings.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700313 # part of a detection rule.
Bu Sun Kim65020912020-05-20 12:08:20 -0700314 &quot;relativeLikelihood&quot;: 42, # Increase or decrease the likelihood by the specified number of
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700315 # levels. For example, if a finding would be `POSSIBLE` without the
316 # detection rule and `relative_likelihood` is 1, then it is upgraded to
317 # `LIKELY`, while a value of -1 would downgrade it to `UNLIKELY`.
318 # Likelihood may never drop below `VERY_UNLIKELY` or exceed
319 # `VERY_LIKELY`, so applying an adjustment of 1 followed by an
320 # adjustment of -1 when base likelihood is `VERY_LIKELY` will result in
321 # a final likelihood of `LIKELY`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;fixedLikelihood&quot;: &quot;A String&quot;, # Set the likelihood of a finding to a fixed value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700323 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700324 &quot;hotwordRegex&quot;: { # Message defining a custom regular expression. # Regular expression pattern defining what qualifies as a hotword.
325 &quot;groupIndexes&quot;: [ # The index of the submatch to extract as findings. When not
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700326 # specified, the entire match is returned. No more than 3 may be included.
327 42,
328 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700329 &quot;pattern&quot;: &quot;A String&quot;, # Pattern defining the regular expression. Its syntax
330 # (https://github.com/google/re2/wiki/Syntax) can be found under the
331 # google/re2 repository on GitHub.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700332 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;proximity&quot;: { # Message for specifying a window around a finding to apply a detection # Proximity of the finding within which the entire hotword must reside.
334 # The total length of the window cannot exceed 1000 characters. Note that
335 # the finding itself will be included in the window, so that hotwords may
336 # be used to match substrings of the finding itself. For example, the
337 # certainty of a phone number regex &quot;\(\d{3}\) \d{3}-\d{4}&quot; could be
338 # adjusted upwards if the area code is known to be the local area code of
339 # a company office using the hotword regex &quot;\(xxx\)&quot;, where &quot;xxx&quot;
340 # is the area code in question.
341 # rule.
342 &quot;windowBefore&quot;: 42, # Number of characters before the finding to consider.
343 &quot;windowAfter&quot;: 42, # Number of characters after the finding to consider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700344 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 },
346 &quot;exclusionRule&quot;: { # The rule that specifies conditions when findings of infoTypes specified in # Exclusion rule.
347 # `InspectionRuleSet` are removed from results.
348 &quot;dictionary&quot;: { # Custom information type based on a dictionary of words or phrases. This can # Dictionary which defines the rule.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700349 # be used to match sensitive information specific to the data, such as a list
350 # of employee IDs or job titles.
351 #
352 # Dictionary words are case-insensitive and all characters other than letters
353 # and digits in the unicode [Basic Multilingual
354 # Plane](https://en.wikipedia.org/wiki/Plane_%28Unicode%29#Basic_Multilingual_Plane)
355 # will be replaced with whitespace when scanning for matches, so the
Bu Sun Kim65020912020-05-20 12:08:20 -0700356 # dictionary phrase &quot;Sam Johnson&quot; will match all three phrases &quot;sam johnson&quot;,
357 # &quot;Sam, Johnson&quot;, and &quot;Sam (Johnson)&quot;. Additionally, the characters
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700358 # surrounding any match must be of a different type than the adjacent
359 # characters within the word, so letters must be next to non-letters and
Bu Sun Kim65020912020-05-20 12:08:20 -0700360 # digits next to non-digits. For example, the dictionary word &quot;jen&quot; will
361 # match the first three letters of the text &quot;jen123&quot; but will return no
362 # matches for &quot;jennifer&quot;.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700363 #
364 # Dictionary words containing a large number of characters that are not
365 # letters or digits may result in unexpected findings because such characters
366 # are treated as whitespace. The
367 # [limits](https://cloud.google.com/dlp/limits) page contains details about
368 # the size limits of dictionaries. For dictionaries that do not fit within
369 # these constraints, consider using `LargeCustomDictionaryConfig` in the
370 # `StoredInfoType` API.
Bu Sun Kim65020912020-05-20 12:08:20 -0700371 &quot;wordList&quot;: { # Message defining a list of words or phrases to search for in the data. # List of words or phrases to search for.
372 &quot;words&quot;: [ # Words or phrases defining the dictionary. The dictionary must contain
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700373 # at least one phrase and every phrase must contain at least 2 characters
374 # that are letters or digits. [required]
Bu Sun Kim65020912020-05-20 12:08:20 -0700375 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700376 ],
377 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700378 &quot;cloudStoragePath&quot;: { # Message representing a single file or path in Cloud Storage. # Newline-delimited file of words in Cloud Storage. Only a single file
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700379 # is accepted.
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 &quot;path&quot;: &quot;A String&quot;, # A url representing a file or path (no wildcards) in Cloud Storage.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700381 # Example: gs://[BUCKET_NAME]/dictionary.txt
382 },
383 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700384 &quot;regex&quot;: { # Message defining a custom regular expression. # Regular expression which defines the rule.
385 &quot;groupIndexes&quot;: [ # The index of the submatch to extract as findings. When not
386 # specified, the entire match is returned. No more than 3 may be included.
387 42,
388 ],
389 &quot;pattern&quot;: &quot;A String&quot;, # Pattern defining the regular expression. Its syntax
390 # (https://github.com/google/re2/wiki/Syntax) can be found under the
391 # google/re2 repository on GitHub.
392 },
393 &quot;excludeInfoTypes&quot;: { # List of exclude infoTypes. # Set of infoTypes for which findings would affect this rule.
394 &quot;infoTypes&quot;: [ # InfoType list in ExclusionRule rule drops a finding when it overlaps or
395 # contained within with a finding of an infoType from this list. For
396 # example, for `InspectionRuleSet.info_types` containing &quot;PHONE_NUMBER&quot;` and
397 # `exclusion_rule` containing `exclude_info_types.info_types` with
398 # &quot;EMAIL_ADDRESS&quot; the phone number findings are dropped if they overlap
399 # with EMAIL_ADDRESS finding.
400 # That leads to &quot;555-222-2222@example.org&quot; to generate only a single
401 # finding, namely email address.
402 { # Type of information detected by the API.
403 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
404 # creating a CustomInfoType, or one of the names listed
405 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
406 # a built-in type. InfoType names should conform to the pattern
407 # `[a-zA-Z0-9_]{1,64}`.
408 },
409 ],
410 },
411 &quot;matchingType&quot;: &quot;A String&quot;, # How the rule is applied, see MatchingType documentation for details.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700412 },
413 },
414 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700415 },
416 ],
417 &quot;limits&quot;: { # Configuration to control the number of findings returned. # Configuration to control the number of findings returned.
418 &quot;maxFindingsPerItem&quot;: 42, # Max number of findings that will be returned for each item scanned.
419 # When set within `InspectJobConfig`,
420 # the maximum returned is 2000 regardless if this is set higher.
421 # When set within `InspectContentRequest`, this field is ignored.
422 &quot;maxFindingsPerInfoType&quot;: [ # Configuration of findings limit given for specified infoTypes.
423 { # Max findings configuration per infoType, per content item or long
424 # running DlpJob.
425 &quot;maxFindings&quot;: 42, # Max findings limit for the given infoType.
426 &quot;infoType&quot;: { # Type of information detected by the API. # Type of information the findings limit applies to. Only one limit per
427 # info_type should be provided. If InfoTypeLimit does not have an
428 # info_type, the DLP API applies the limit against all info_types that
429 # are found but not specified in another InfoTypeLimit.
430 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700431 # creating a CustomInfoType, or one of the names listed
432 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
433 # a built-in type. InfoType names should conform to the pattern
Dan O'Mearadd494642020-05-01 07:42:23 -0700434 # `[a-zA-Z0-9_]{1,64}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700435 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700436 },
437 ],
438 &quot;maxFindingsPerRequest&quot;: 42, # Max number of findings that will be returned per request/job.
439 # When set within `InspectContentRequest`, the maximum returned is 2000
440 # regardless if this is set higher.
441 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700442 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700443 }
444
445 x__xgafv: string, V1 error format.
446 Allowed values
447 1 - v1 error format
448 2 - v2 error format
449
450Returns:
451 An object of the form:
452
453 { # Results of redacting an image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700454 &quot;redactedImage&quot;: &quot;A String&quot;, # The redacted image. The type will be the same as the original image.
455 &quot;inspectResult&quot;: { # All the findings for a single scanned item. # The findings. Populated when include_findings in the request is true.
456 &quot;findings&quot;: [ # List of findings for an item.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700457 { # Represents a piece of potentially sensitive content.
Bu Sun Kim65020912020-05-20 12:08:20 -0700458 &quot;quoteInfo&quot;: { # Message for infoType-dependent details parsed from quote. # Contains data parsed from quotes. Only populated if include_quote was set
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700459 # to true and a supported infoType was requested. Currently supported
460 # infoTypes: DATE, DATE_OF_BIRTH and TIME.
Bu Sun Kim65020912020-05-20 12:08:20 -0700461 &quot;dateTime&quot;: { # Message for a date time object. # The date time indicated by the quote.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700462 # e.g. 2018-01-01, 5th August.
Bu Sun Kim65020912020-05-20 12:08:20 -0700463 &quot;date&quot;: { # Represents a whole or partial calendar date, e.g. a birthday. The time of day # One or more of the following must be set.
Dan O'Mearadd494642020-05-01 07:42:23 -0700464 # Must be a valid date or time value.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700465 # and time zone are either specified elsewhere or are not significant. The date
466 # is relative to the Proleptic Gregorian Calendar. This can represent:
467 #
468 # * A full date, with non-zero year, month and day values
469 # * A month and day value, with a zero year, e.g. an anniversary
470 # * A year on its own, with zero month and day values
471 # * A year and month value, with a zero day, e.g. a credit card expiration date
472 #
473 # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700474 &quot;year&quot;: 42, # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
475 # a year.
476 &quot;month&quot;: 42, # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
Dan O'Mearadd494642020-05-01 07:42:23 -0700477 # month and day.
Bu Sun Kim65020912020-05-20 12:08:20 -0700478 &quot;day&quot;: 42, # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700479 # if specifying a year by itself or a year and month where the day is not
480 # significant.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700481 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700482 &quot;timeZone&quot;: { # Time zone of the date time object. # Time zone
483 &quot;offsetMinutes&quot;: 42, # Set only if the offset can be determined. Positive for time ahead of UTC.
484 # E.g. For &quot;UTC-9&quot;, this value is -540.
Dan O'Mearadd494642020-05-01 07:42:23 -0700485 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700486 &quot;dayOfWeek&quot;: &quot;A String&quot;, # Day of week
487 &quot;time&quot;: { # Represents a time of day. The date and time zone are either not significant # Time of day
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700488 # or are specified elsewhere. An API may choose to allow leap seconds. Related
489 # types are google.type.Date and `google.protobuf.Timestamp`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700490 &quot;hours&quot;: 42, # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
491 # to allow the value &quot;24:00:00&quot; for scenarios like business closing time.
492 &quot;minutes&quot;: 42, # Minutes of hour of day. Must be from 0 to 59.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700493 &quot;seconds&quot;: 42, # Seconds of minutes of the time. Must normally be from 0 to 59. An API may
494 # allow the value 60 if it allows leap-seconds.
495 &quot;nanos&quot;: 42, # Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700496 },
497 },
498 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700499 &quot;infoType&quot;: { # Type of information detected by the API. # The type of content that might have been found.
500 # Provided if `excluded_types` is false.
501 &quot;name&quot;: &quot;A String&quot;, # Name of the information type. Either a name of your choosing when
502 # creating a CustomInfoType, or one of the names listed
503 # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
504 # a built-in type. InfoType names should conform to the pattern
505 # `[a-zA-Z0-9_]{1,64}`.
506 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 &quot;labels&quot;: { # The labels associated with this `Finding`.
508 #
509 # Label keys must be between 1 and 63 characters long and must conform
510 # to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
511 #
512 # Label values must be between 0 and 63 characters long and must conform
513 # to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
514 #
515 # No more than 10 labels can be associated with a given finding.
516 #
517 # Examples:
518 # * `&quot;environment&quot; : &quot;production&quot;`
519 # * `&quot;pipeline&quot; : &quot;etl&quot;`
520 &quot;a_key&quot;: &quot;A String&quot;,
521 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700522 &quot;likelihood&quot;: &quot;A String&quot;, # Confidence of how likely it is that the `info_type` is correct.
523 &quot;name&quot;: &quot;A String&quot;, # Resource name in format
524 # projects/{project}/locations/{location}/findings/{finding} Populated only
525 # when viewing persisted findings.
526 &quot;location&quot;: { # Specifies the location of the finding. # Where the content was found.
527 &quot;codepointRange&quot;: { # Generic half-open interval [start, end) # Unicode character offsets delimiting the finding.
528 # These are relative to the finding&#x27;s containing element.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700529 # Provided when the content is text.
Bu Sun Kim65020912020-05-20 12:08:20 -0700530 &quot;start&quot;: &quot;A String&quot;, # Index of the first character of the range (inclusive).
531 &quot;end&quot;: &quot;A String&quot;, # Index of the last character of the range (exclusive).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700532 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 &quot;byteRange&quot;: { # Generic half-open interval [start, end) # Zero-based byte offsets delimiting the finding.
534 # These are relative to the finding&#x27;s containing element.
535 # Note that when the content is not textual, this references
536 # the UTF-8 encoded textual representation of the content.
537 # Omitted if content is an image.
538 &quot;start&quot;: &quot;A String&quot;, # Index of the first character of the range (inclusive).
539 &quot;end&quot;: &quot;A String&quot;, # Index of the last character of the range (exclusive).
540 },
541 &quot;container&quot;: { # Represents a container that may contain DLP findings. # Information about the container where this finding occurred, if available.
Dan O'Mearadd494642020-05-01 07:42:23 -0700542 # Examples of a container include a file, table, or database record.
Bu Sun Kim65020912020-05-20 12:08:20 -0700543 &quot;updateTime&quot;: &quot;A String&quot;, # Findings container modification timestamp, if applicable.
Dan O'Mearadd494642020-05-01 07:42:23 -0700544 # For Google Cloud Storage contains last file modification timestamp.
545 # For BigQuery table contains last_modified_time property.
546 # For Datastore - not populated.
Bu Sun Kim65020912020-05-20 12:08:20 -0700547 &quot;rootPath&quot;: &quot;A String&quot;, # The root of the container.
Dan O'Mearadd494642020-05-01 07:42:23 -0700548 # Examples:
549 # - For BigQuery table `project_id:dataset_id.table_id`, the root is
550 # `dataset_id`
551 # - For Google Cloud Storage file `gs://bucket/folder/filename.txt`, the root
552 # is `gs://bucket`
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 &quot;projectId&quot;: &quot;A String&quot;, # Project where the finding was found.
Dan O'Mearadd494642020-05-01 07:42:23 -0700554 # Can be different from the project that owns the finding.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700555 &quot;version&quot;: &quot;A String&quot;, # Findings container version, if available
556 # (&quot;generation&quot; for Google Cloud Storage).
Bu Sun Kim65020912020-05-20 12:08:20 -0700557 &quot;relativePath&quot;: &quot;A String&quot;, # The rest of the path after the root.
Dan O'Mearadd494642020-05-01 07:42:23 -0700558 # Examples:
Bu Sun Kim65020912020-05-20 12:08:20 -0700559 # - For BigQuery table `project_id:dataset_id.table_id`, the relative path is
560 # `table_id`
561 # - Google Cloud Storage file `gs://bucket/folder/filename.txt`, the relative
562 # path is `folder/filename.txt`
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700563 &quot;fullPath&quot;: &quot;A String&quot;, # A string representation of the full container name.
564 # Examples:
565 # - BigQuery: &#x27;Project:DataSetId.TableId&#x27;
566 # - Google Cloud Storage: &#x27;gs://Bucket/folders/filename.txt&#x27;
567 &quot;type&quot;: &quot;A String&quot;, # Container type, for example BigQuery or Google Cloud Storage.
Dan O'Mearadd494642020-05-01 07:42:23 -0700568 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700569 &quot;contentLocations&quot;: [ # List of nested objects pointing to the precise location of the finding
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700570 # within the file or record.
Dan O'Mearadd494642020-05-01 07:42:23 -0700571 { # Precise location of the finding within a document, record, image, or metadata
572 # container.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700573 &quot;containerVersion&quot;: &quot;A String&quot;, # Findings container version, if available
574 # (&quot;generation&quot; for Google Cloud Storage).
Bu Sun Kim65020912020-05-20 12:08:20 -0700575 &quot;containerName&quot;: &quot;A String&quot;, # Name of the container where the finding is located.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700576 # The top level name is the source file name or table name. Names of some
577 # common storage containers are formatted as follows:
578 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700579 # * BigQuery tables: `{project_id}:{dataset_id}.{table_id}`
580 # * Cloud Storage files: `gs://{bucket}/{path}`
581 # * Datastore namespace: {namespace}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700582 #
583 # Nested names could be absent if the embedded object has no string
584 # identifier (for an example an image contained within a document).
Bu Sun Kim65020912020-05-20 12:08:20 -0700585 &quot;documentLocation&quot;: { # Location of a finding within a document. # Location data for document files.
586 &quot;fileOffset&quot;: &quot;A String&quot;, # Offset of the line, from the beginning of the file, where the finding
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700587 # is located.
588 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700589 &quot;recordLocation&quot;: { # Location of a finding within a row or record. # Location within a row or record of a database table.
590 &quot;fieldId&quot;: { # General identifier of a data field in a storage service. # Field id of the field containing the finding.
591 &quot;name&quot;: &quot;A String&quot;, # Name describing the field.
592 },
593 &quot;tableLocation&quot;: { # Location of a finding within a table. # Location within a `ContentItem.Table`.
594 &quot;rowIndex&quot;: &quot;A String&quot;, # The zero-based index of the row where the finding is located. Only
Dan O'Mearadd494642020-05-01 07:42:23 -0700595 # populated for resources that have a natural ordering, not BigQuery. In
596 # BigQuery, to identify the row a finding came from, populate
597 # BigQueryOptions.identifying_fields with your primary key column names and
598 # when you store the findings the value of those columns will be stored
599 # inside of Finding.
600 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700601 &quot;recordKey&quot;: { # Message for a unique key indicating a record that contains a finding. # Key of the finding.
Bu Sun Kim65020912020-05-20 12:08:20 -0700602 &quot;datastoreKey&quot;: { # Record key for a finding in Cloud Datastore.
603 &quot;entityKey&quot;: { # A unique identifier for a Datastore entity. # Datastore entity key.
604 # If a key&#x27;s partition ID or any of its path kinds or names are
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700605 # reserved/read-only, the key is reserved/read-only.
606 # A reserved/read-only key is forbidden in certain documented contexts.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700607 &quot;partitionId&quot;: { # Datastore partition ID. # Entities are partitioned into subsets, currently identified by a project
608 # ID and namespace ID.
609 # Queries are scoped to a single partition.
610 # A partition ID identifies a grouping of entities. The grouping is always
611 # by project and namespace, however the namespace ID may be empty.
612 #
613 # A partition ID contains several dimensions:
614 # project ID and namespace ID.
615 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project to which the entities belong.
616 &quot;namespaceId&quot;: &quot;A String&quot;, # If not empty, the ID of the namespace to which the entities belong.
617 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700618 &quot;path&quot;: [ # The entity path.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700619 # An entity path consists of one or more elements composed of a kind and a
620 # string or numerical identifier, which identify entities. The first
621 # element identifies a _root entity_, the second element identifies
622 # a _child_ of the root entity, the third element identifies a child of the
623 # second entity, and so forth. The entities identified by all prefixes of
Bu Sun Kim65020912020-05-20 12:08:20 -0700624 # the path are called the element&#x27;s _ancestors_.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700625 #
626 # A path can never be empty, and a path can have at most 100 elements.
627 { # A (kind, ID/name) pair used to construct a key path.
628 #
629 # If either name or ID is set, the element is complete.
630 # If neither is set, the element is incomplete.
Bu Sun Kim65020912020-05-20 12:08:20 -0700631 &quot;kind&quot;: &quot;A String&quot;, # The kind of the entity.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700632 # A kind matching regex `__.*__` is reserved/read-only.
633 # A kind must not contain more than 1500 bytes when UTF-8 encoded.
Bu Sun Kim65020912020-05-20 12:08:20 -0700634 # Cannot be `&quot;&quot;`.
635 &quot;id&quot;: &quot;A String&quot;, # The auto-allocated ID of the entity.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700636 # Never equal to zero. Values less than zero are discouraged and may not
637 # be supported in the future.
Bu Sun Kim65020912020-05-20 12:08:20 -0700638 &quot;name&quot;: &quot;A String&quot;, # The name of the entity.
639 # A name matching regex `__.*__` is reserved/read-only.
640 # A name must not be more than 1500 bytes when UTF-8 encoded.
641 # Cannot be `&quot;&quot;`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700642 },
643 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700644 },
645 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700646 &quot;bigQueryKey&quot;: { # Row key for identifying a record in BigQuery table.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700647 &quot;rowNumber&quot;: &quot;A String&quot;, # Row number inferred at the time the table was scanned. This value is
648 # nondeterministic, cannot be queried, and may be null for inspection
649 # jobs. To locate findings within a table, specify
650 # `inspect_job.storage_config.big_query_options.identifying_fields` in
651 # `CreateDlpJobRequest`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700652 &quot;tableReference&quot;: { # Message defining the location of a BigQuery table. A table is uniquely # Complete BigQuery table reference.
653 # identified by its project_id, dataset_id, and table_name. Within a query
654 # a table is often referenced with a string in the format of:
655 # `&lt;project_id&gt;:&lt;dataset_id&gt;.&lt;table_id&gt;` or
656 # `&lt;project_id&gt;.&lt;dataset_id&gt;.&lt;table_id&gt;`.
657 &quot;projectId&quot;: &quot;A String&quot;, # The Google Cloud Platform project ID of the project containing the table.
658 # If omitted, project ID is inferred from the API call.
659 &quot;datasetId&quot;: &quot;A String&quot;, # Dataset ID of the table.
660 &quot;tableId&quot;: &quot;A String&quot;, # Name of the table.
661 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700662 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700663 &quot;idValues&quot;: [ # Values of identifying columns in the given row. Order of values matches
664 # the order of `identifying_fields` specified in the scanning request.
665 &quot;A String&quot;,
666 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700667 },
668 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700669 &quot;containerTimestamp&quot;: &quot;A String&quot;, # Findings container modification timestamp, if applicable.
670 # For Google Cloud Storage contains last file modification timestamp.
671 # For BigQuery table contains last_modified_time property.
672 # For Datastore - not populated.
673 &quot;metadataLocation&quot;: { # Metadata Location # Location within the metadata for inspected content.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700674 &quot;type&quot;: &quot;A String&quot;, # Type of metadata containing the finding.
Bu Sun Kim65020912020-05-20 12:08:20 -0700675 &quot;storageLabel&quot;: { # Storage metadata label to indicate which metadata entry contains findings. # Storage metadata.
676 &quot;key&quot;: &quot;A String&quot;,
677 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700678 },
679 &quot;imageLocation&quot;: { # Location of the finding within an image. # Location within an image&#x27;s pixels.
680 &quot;boundingBoxes&quot;: [ # Bounding boxes locating the pixels within the image containing the finding.
681 { # Bounding box encompassing detected text within an image.
682 &quot;top&quot;: 42, # Top coordinate of the bounding box. (0,0) is upper left.
683 &quot;width&quot;: 42, # Width of the bounding box in pixels.
684 &quot;height&quot;: 42, # Height of the bounding box in pixels.
685 &quot;left&quot;: 42, # Left coordinate of the bounding box. (0,0) is upper left.
686 },
687 ],
688 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700689 },
690 ],
691 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700692 &quot;quote&quot;: &quot;A String&quot;, # The content that was found. Even if the content is not textual, it
693 # may be converted to a textual representation here.
694 # Provided if `include_quote` is true and the finding is
695 # less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
696 # in length, the quote may be omitted.
697 &quot;createTime&quot;: &quot;A String&quot;, # Timestamp when finding was detected.
698 &quot;jobName&quot;: &quot;A String&quot;, # The job that stored the finding.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700699 &quot;jobCreateTime&quot;: &quot;A String&quot;, # Time the job started that produced this finding.
700 &quot;triggerName&quot;: &quot;A String&quot;, # Job trigger name, if applicable, for this finding.
701 &quot;resourceName&quot;: &quot;A String&quot;, # The job that stored the finding.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700702 },
703 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700704 &quot;findingsTruncated&quot;: True or False, # If true, then this item might have more findings than were returned,
705 # and the findings returned are an arbitrary subset of all findings.
706 # The findings list might be truncated because the input items were too
707 # large, or because the server reached the maximum amount of resources
708 # allowed for a single API call. For best results, divide the input into
709 # smaller batches.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700710 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700711 &quot;extractedText&quot;: &quot;A String&quot;, # If an image was being inspected and the InspectConfig&#x27;s include_quote was
712 # set to true, then this field will include all text, if any, that was found
713 # in the image.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700714 }</pre>
715</div>
716
717</body></html>