Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/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) ⇒ GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest

Returns a new instance of GooglePrivacyDlpV2beta2UpdateDeidentifyTemplateRequest



6024
6025
6026
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6024

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

Instance Attribute Details

#deidentify_templateGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate

The DeidentifyTemplates contains instructions on how to deidentify content. Corresponds to the JSON property deidentifyTemplate



6017
6018
6019
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6017

def deidentify_template
  @deidentify_template
end

#update_maskString

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

Returns:

  • (String)


6022
6023
6024
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6022

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6029
6030
6031
6032
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6029

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