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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public DataMaskingStatistics clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.