Class: Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdField
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2QuasiIdField
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A quasi-identifier column has a custom_tag, used to know which column in the data corresponds to which column in the statistical model.
Instance Attribute Summary collapse
-
#custom_tag ⇒ String
A auxiliary field.
-
#field ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2QuasiIdField
constructor
A new instance of GooglePrivacyDlpV2QuasiIdField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2QuasiIdField
Returns a new instance of GooglePrivacyDlpV2QuasiIdField.
8228 8229 8230 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_tag ⇒ String
A auxiliary field.
Corresponds to the JSON property customTag
8221 8222 8223 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8221 def custom_tag @custom_tag end |
#field ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property field
8226 8227 8228 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8226 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8233 8234 8235 8236 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8233 def update!(**args) @custom_tag = args[:custom_tag] if args.key?(:custom_tag) @field = args[:field] if args.key?(:field) end |