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

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

Request message for UpdateDeidentifyTemplate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest

Returns a new instance of GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest.



10438
10439
10440
# File 'lib/google/apis/dlp_v2/classes.rb', line 10438

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

Instance Attribute Details

#deidentify_templateGoogle::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate

DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more. Corresponds to the JSON property deidentifyTemplate



10431
10432
10433
# File 'lib/google/apis/dlp_v2/classes.rb', line 10431

def deidentify_template
  @deidentify_template
end

#update_maskString

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

Returns:

  • (String)


10436
10437
10438
# File 'lib/google/apis/dlp_v2/classes.rb', line 10436

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10443
10444
10445
10446
# File 'lib/google/apis/dlp_v2/classes.rb', line 10443

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