public final class GooglePrivacyDlpV2RedactImageRequest
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
GooglePrivacyDlpV2RedactImageRequest() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2RedactImageRequest |
clone() |
GooglePrivacyDlpV2ByteContentItem |
getByteItem()
The content must be PNG, JPEG, SVG or BMP.
|
java.util.List<GooglePrivacyDlpV2ImageRedactionConfig> |
getImageRedactionConfigs()
The configuration for specifying what content to redact from images.
|
java.lang.Boolean |
getIncludeFindings()
Whether the response should include findings along with the redacted image.
|
GooglePrivacyDlpV2InspectConfig |
getInspectConfig()
Configuration for the inspector.
|
java.lang.String |
getLocationId()
The geographic location to process the request.
|
GooglePrivacyDlpV2RedactImageRequest |
set(java.lang.String fieldName,
java.lang.Object value) |
GooglePrivacyDlpV2RedactImageRequest |
setByteItem(GooglePrivacyDlpV2ByteContentItem byteItem)
The content must be PNG, JPEG, SVG or BMP.
|
GooglePrivacyDlpV2RedactImageRequest |
setImageRedactionConfigs(java.util.List<GooglePrivacyDlpV2ImageRedactionConfig> imageRedactionConfigs)
The configuration for specifying what content to redact from images.
|
GooglePrivacyDlpV2RedactImageRequest |
setIncludeFindings(java.lang.Boolean includeFindings)
Whether the response should include findings along with the redacted image.
|
GooglePrivacyDlpV2RedactImageRequest |
setInspectConfig(GooglePrivacyDlpV2InspectConfig inspectConfig)
Configuration for the inspector.
|
GooglePrivacyDlpV2RedactImageRequest |
setLocationId(java.lang.String locationId)
The geographic location to process the request.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic GooglePrivacyDlpV2RedactImageRequest()
public GooglePrivacyDlpV2ByteContentItem getByteItem()
null for nonepublic GooglePrivacyDlpV2RedactImageRequest setByteItem(GooglePrivacyDlpV2ByteContentItem byteItem)
byteItem - byteItem or null for nonepublic java.util.List<GooglePrivacyDlpV2ImageRedactionConfig> getImageRedactionConfigs()
null for nonepublic GooglePrivacyDlpV2RedactImageRequest setImageRedactionConfigs(java.util.List<GooglePrivacyDlpV2ImageRedactionConfig> imageRedactionConfigs)
imageRedactionConfigs - imageRedactionConfigs or null for nonepublic java.lang.Boolean getIncludeFindings()
null for nonepublic GooglePrivacyDlpV2RedactImageRequest setIncludeFindings(java.lang.Boolean includeFindings)
includeFindings - includeFindings or null for nonepublic GooglePrivacyDlpV2InspectConfig getInspectConfig()
null for nonepublic GooglePrivacyDlpV2RedactImageRequest setInspectConfig(GooglePrivacyDlpV2InspectConfig inspectConfig)
inspectConfig - inspectConfig or null for nonepublic java.lang.String getLocationId()
null for nonepublic GooglePrivacyDlpV2RedactImageRequest setLocationId(java.lang.String locationId)
locationId - locationId or null for nonepublic GooglePrivacyDlpV2RedactImageRequest set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic GooglePrivacyDlpV2RedactImageRequest clone()
clone in class com.google.api.client.json.GenericJson