Class: Google::Apis::DlpV2::GooglePrivacyDlpV2KAnonymityConfig

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

Overview

k-anonymity metric, used for analysis of reidentification risk.

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) ⇒ GooglePrivacyDlpV2KAnonymityConfig

Returns a new instance of GooglePrivacyDlpV2KAnonymityConfig



2489
2490
2491
# File 'generated/google/apis/dlp_v2/classes.rb', line 2489

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

Instance Attribute Details

#quasi_idsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId>

Set of fields to compute k-anonymity over. When multiple fields are specified, they are considered a single composite key. Structs and repeated data types are not supported; however, nested fields are supported so long as they are not structs themselves or nested within a repeated field. Corresponds to the JSON property quasiIds



2487
2488
2489
# File 'generated/google/apis/dlp_v2/classes.rb', line 2487

def quasi_ids
  @quasi_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2494
2495
2496
# File 'generated/google/apis/dlp_v2/classes.rb', line 2494

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