Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
Request message for UpdateDeidentifyTemplate.
Instance Attribute Summary collapse
-
#deidentify_template ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
The DeidentifyTemplates contains instructions on how to deidentify content.
-
#update_mask ⇒ String
Mask to control which fields get updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
constructor
A new instance of GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
Returns a new instance of GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest
5568 5569 5570 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#deidentify_template ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
The DeidentifyTemplates contains instructions on how to deidentify content.
See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
Corresponds to the JSON property deidentifyTemplate
5561 5562 5563 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5561 def deidentify_template @deidentify_template end |
#update_mask ⇒ String
Mask to control which fields get updated.
Corresponds to the JSON property updateMask
5566 5567 5568 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5566 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5573 5574 5575 5576 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5573 def update!(**args) @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template) @update_mask = args[:update_mask] if args.key?(:update_mask) end |