public final class DataMaskingStatistics 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 BigQuery 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 |
|---|
DataMaskingStatistics() |
| Modifier and Type | Method and Description |
|---|---|
DataMaskingStatistics |
clone() |
Boolean |
getDataMaskingApplied()
[Output-only] [Preview] Whether any accessed data was protected by data masking.
|
boolean |
isDataMaskingApplied()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
DataMaskingStatistics |
set(String fieldName,
Object value) |
DataMaskingStatistics |
setDataMaskingApplied(Boolean dataMaskingApplied)
[Output-only] [Preview] Whether any accessed data was protected by data masking.
|
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 Boolean getDataMaskingApplied()
null for nonepublic DataMaskingStatistics setDataMaskingApplied(Boolean dataMaskingApplied)
dataMaskingApplied - dataMaskingApplied or null for nonepublic boolean isDataMaskingApplied()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
[ Output-only] [Preview] Whether any accessed data was protected by data masking. The actual [ evaluation is done by accessStats.masked_field_count > 0. Since this is only used for the [ discovery_doc generation purpose, as long as the type (boolean) matches, client library can [ leverage this. The actual evaluation of the variable is done else-where.
public DataMaskingStatistics set(String fieldName, Object value)
set in class GenericJsonpublic DataMaskingStatistics clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.