Class: Google::Apis::BigqueryV2::DataMaskingStatistics
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::DataMaskingStatistics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Instance Attribute Summary collapse
-
#data_masking_applied ⇒ Boolean
(also: #data_masking_applied?)
[Output-only] [Preview] Whether any accessed data was protected by data masking.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataMaskingStatistics
constructor
A new instance of DataMaskingStatistics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataMaskingStatistics
Returns a new instance of DataMaskingStatistics.
1516 1517 1518 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1516 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_masking_applied ⇒ Boolean Also known as: data_masking_applied?
[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.
Corresponds to the JSON property dataMaskingApplied
1513 1514 1515 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1513 def data_masking_applied @data_masking_applied end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1521 1522 1523 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 1521 def update!(**args) @data_masking_applied = args[:data_masking_applied] if args.key?(:data_masking_applied) end |