Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest

Returns a new instance of GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest



5760
5761
5762
# File 'generated/google/apis/dlp_v2/classes.rb', line 5760

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#deidentify_templateGoogle::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



5753
5754
5755
# File 'generated/google/apis/dlp_v2/classes.rb', line 5753

def deidentify_template
  @deidentify_template
end

#update_maskString

Mask to control which fields get updated. Corresponds to the JSON property updateMask

Returns:

  • (String)


5758
5759
5760
# File 'generated/google/apis/dlp_v2/classes.rb', line 5758

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5765
5766
5767
5768
# File 'generated/google/apis/dlp_v2/classes.rb', line 5765

def update!(**args)
  @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end