Struct google_dlp2_beta1::GooglePrivacyDlpV2beta1KAnonymityConfig[][src]

pub struct GooglePrivacyDlpV2beta1KAnonymityConfig {
    pub entity_id: Option<GooglePrivacyDlpV2beta1EntityId>,
    pub quasi_ids: Option<Vec<GooglePrivacyDlpV2beta1FieldId>>,
}

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

This type is not used in any activity, and only used as part of another schema.

Fields

Optional message indicating that each distinct entity_id should not contribute to the k-anonymity count more than once per equivalence class. If an entity_id appears on several rows with different quasi-identifier tuples, it will contribute to each count exactly once.

This can lead to unexpected results. Consider a table where ID 1 is associated to quasi-identifier "foo", ID 2 to "bar", and ID 3 to both quasi-identifiers "foo" and "bar" (on separate rows), and where this ID is used as entity_id. Then, the anonymity value associated to ID 3 will be 2, even if it is the only ID to be associated to both values "foo" and "bar".

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.

Trait Implementations

impl Default for GooglePrivacyDlpV2beta1KAnonymityConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for GooglePrivacyDlpV2beta1KAnonymityConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GooglePrivacyDlpV2beta1KAnonymityConfig
[src]

Formats the value using the given formatter. Read more

impl Part for GooglePrivacyDlpV2beta1KAnonymityConfig
[src]

Auto Trait Implementations