public final class GooglePrivacyDlpV2DateShiftConfig 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 |
|---|
GooglePrivacyDlpV2DateShiftConfig() |
| Modifier and Type | Method and Description |
|---|---|
GooglePrivacyDlpV2DateShiftConfig |
clone() |
GooglePrivacyDlpV2FieldId |
getContext()
Points to the field that contains the context, for example, an entity id.
|
GooglePrivacyDlpV2CryptoKey |
getCryptoKey()
Causes the shift to be computed based on this key and the context.
|
Integer |
getLowerBoundDays()
Required.
|
Integer |
getUpperBoundDays()
Required.
|
GooglePrivacyDlpV2DateShiftConfig |
set(String fieldName,
Object value) |
GooglePrivacyDlpV2DateShiftConfig |
setContext(GooglePrivacyDlpV2FieldId context)
Points to the field that contains the context, for example, an entity id.
|
GooglePrivacyDlpV2DateShiftConfig |
setCryptoKey(GooglePrivacyDlpV2CryptoKey cryptoKey)
Causes the shift to be computed based on this key and the context.
|
GooglePrivacyDlpV2DateShiftConfig |
setLowerBoundDays(Integer lowerBoundDays)
Required.
|
GooglePrivacyDlpV2DateShiftConfig |
setUpperBoundDays(Integer upperBoundDays)
Required.
|
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 GooglePrivacyDlpV2FieldId getContext()
null for nonepublic GooglePrivacyDlpV2DateShiftConfig setContext(GooglePrivacyDlpV2FieldId context)
context - context or null for nonepublic GooglePrivacyDlpV2CryptoKey getCryptoKey()
null for nonepublic GooglePrivacyDlpV2DateShiftConfig setCryptoKey(GooglePrivacyDlpV2CryptoKey cryptoKey)
cryptoKey - cryptoKey or null for nonepublic Integer getLowerBoundDays()
null for nonepublic GooglePrivacyDlpV2DateShiftConfig setLowerBoundDays(Integer lowerBoundDays)
lowerBoundDays - lowerBoundDays or null for nonepublic Integer getUpperBoundDays()
null for nonepublic GooglePrivacyDlpV2DateShiftConfig setUpperBoundDays(Integer upperBoundDays)
upperBoundDays - upperBoundDays or null for nonepublic GooglePrivacyDlpV2DateShiftConfig set(String fieldName, Object value)
set in class GenericJsonpublic GooglePrivacyDlpV2DateShiftConfig clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.