Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1AuxiliaryTable

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb

Overview

An auxiliary table contains statistical information on the relative frequency of different quasi-identifiers values. It has one or several quasi-identifiers columns, and one column that indicates the relative frequency of each quasi-identifier tuple. If a tuple is present in the data but not in the auxiliary table, the corresponding relative frequency is assumed to be zero (and thus, the tuple is highly reidentifiable).

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1AuxiliaryTable

Returns a new instance of GooglePrivacyDlpV2beta1AuxiliaryTable



54
55
56
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 54

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#quasi_idsArray<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1QuasiIdField>

Quasi-identifier columns. [required] Corresponds to the JSON property quasiIds



38
39
40
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 38

def quasi_ids
  @quasi_ids
end

#relative_frequencyGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1FieldId

General identifier of a data field in a storage service. Corresponds to the JSON property relativeFrequency



43
44
45
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 43

def relative_frequency
  @relative_frequency
end

#tableGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta1BigQueryTable

Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: <project_id>:<dataset_id>.<table_id> or <project_id>.<dataset_id>.<table_id>. Corresponds to the JSON property table



52
53
54
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 52

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



59
60
61
62
63
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 59

def update!(**args)
  @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids)
  @relative_frequency = args[:relative_frequency] if args.key?(:relative_frequency)
  @table = args[:table] if args.key?(:table)
end