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.
8226 8227 8228 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8226 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_tag ⇒ String
A auxiliary field.
Corresponds to the JSON property customTag
8219 8220 8221 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8219 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
8224 8225 8226 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8224 def field @field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8231 8232 8233 8234 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8231 def update!(**args) @custom_tag = args[:custom_tag] if args.key?(:custom_tag) @field = args[:field] if args.key?(:field) end |