Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1KAnonymityConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
k-anonymity metric, used for analysis of reidentification risk.
Instance Attribute Summary collapse
-
#entity_id ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1EntityId
An entity in a dataset is a field or set of fields that correspond to a single person.
-
#quasi_ids ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId>
Set of fields to compute k-anonymity over.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1KAnonymityConfig
constructor
A new instance of GooglePrivacyDlpV2beta1KAnonymityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1KAnonymityConfig
Returns a new instance of GooglePrivacyDlpV2beta1KAnonymityConfig
1695 1696 1697 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_id ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1EntityId
An entity in a dataset is a field or set of fields that correspond to a
single person. For example, in medical records the EntityId
might be
a patient identifier, or for financial records it might be an account
identifier. This message is used when generalizations or analysis must be
consistent across multiple rows pertaining to the same entity.
Corresponds to the JSON property entityId
1684 1685 1686 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1684 def entity_id @entity_id end |
#quasi_ids ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId>
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
1693 1694 1695 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1693 def quasi_ids @quasi_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1700 1701 1702 1703 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1700 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) @quasi_ids = args[:quasi_ids] if args.key?(:quasi_ids) end |