Class: Google::Apis::BigqueryV2::DataMaskingStatistics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_appliedBoolean 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

Returns:

  • (Boolean)


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