pub struct GooglePrivacyDlpV2beta1KAnonymityConfig {
pub entity_id: Option<GooglePrivacyDlpV2beta1EntityId>,
pub quasi_ids: Option<Vec<GooglePrivacyDlpV2beta1FieldId>>,
}
Expand description
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§
§entity_id: Option<GooglePrivacyDlpV2beta1EntityId>
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”.
quasi_ids: Option<Vec<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.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1KAnonymityConfig
impl Clone for GooglePrivacyDlpV2beta1KAnonymityConfig
source§fn clone(&self) -> GooglePrivacyDlpV2beta1KAnonymityConfig
fn clone(&self) -> GooglePrivacyDlpV2beta1KAnonymityConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more