public final class GooglePrivacyDlpV2ImageRedactionConfig extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Data Loss Prevention (DLP) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GooglePrivacyDlpV2ImageRedactionConfig() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2ImageRedactionConfig |
clone() |
GooglePrivacyDlpV2InfoType |
getInfoType()
Only one per info_type should be provided per request.
|
Boolean |
getRedactAllText()
If true, all text found in the image, regardless whether it matches an info_type, is redacted.
|
GooglePrivacyDlpV2Color |
getRedactionColor()
The color to use when redacting content from an image.
|
GooglePrivacyDlpV2ImageRedactionConfig |
set(String fieldName,
Object value) |
GooglePrivacyDlpV2ImageRedactionConfig |
setInfoType(GooglePrivacyDlpV2InfoType infoType)
Only one per info_type should be provided per request.
|
GooglePrivacyDlpV2ImageRedactionConfig |
setRedactAllText(Boolean redactAllText)
If true, all text found in the image, regardless whether it matches an info_type, is redacted.
|
GooglePrivacyDlpV2ImageRedactionConfig |
setRedactionColor(GooglePrivacyDlpV2Color redactionColor)
The color to use when redacting content from an image.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GooglePrivacyDlpV2ImageRedactionConfig()
public GooglePrivacyDlpV2InfoType getInfoType()
null for nonepublic GooglePrivacyDlpV2ImageRedactionConfig setInfoType(GooglePrivacyDlpV2InfoType infoType)
infoType - infoType or null for nonepublic Boolean getRedactAllText()
null for nonepublic GooglePrivacyDlpV2ImageRedactionConfig setRedactAllText(Boolean redactAllText)
redactAllText - redactAllText or null for nonepublic GooglePrivacyDlpV2Color getRedactionColor()
null for nonepublic GooglePrivacyDlpV2ImageRedactionConfig setRedactionColor(GooglePrivacyDlpV2Color redactionColor)
redactionColor - redactionColor or null for nonepublic GooglePrivacyDlpV2ImageRedactionConfig set(String fieldName, Object value)
set in class GenericJsonpublic GooglePrivacyDlpV2ImageRedactionConfig clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.