Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedDeidentifyOptions

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

De-identification options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2RequestedDeidentifyOptions

Returns a new instance of GooglePrivacyDlpV2RequestedDeidentifyOptions.



8278
8279
8280
# File 'lib/google/apis/dlp_v2/classes.rb', line 8278

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

Instance Attribute Details

#snapshot_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 snapshotDeidentifyTemplate



8262
8263
8264
# File 'lib/google/apis/dlp_v2/classes.rb', line 8262

def snapshot_deidentify_template
  @snapshot_deidentify_template
end

#snapshot_image_redact_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 snapshotImageRedactTemplate



8269
8270
8271
# File 'lib/google/apis/dlp_v2/classes.rb', line 8269

def snapshot_image_redact_template
  @snapshot_image_redact_template
end

#snapshot_structured_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 snapshotStructuredDeidentifyTemplate



8276
8277
8278
# File 'lib/google/apis/dlp_v2/classes.rb', line 8276

def snapshot_structured_deidentify_template
  @snapshot_structured_deidentify_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8283
8284
8285
8286
8287
# File 'lib/google/apis/dlp_v2/classes.rb', line 8283

def update!(**args)
  @snapshot_deidentify_template = args[:snapshot_deidentify_template] if args.key?(:snapshot_deidentify_template)
  @snapshot_image_redact_template = args[:snapshot_image_redact_template] if args.key?(:snapshot_image_redact_template)
  @snapshot_structured_deidentify_template = args[:snapshot_structured_deidentify_template] if args.key?(:snapshot_structured_deidentify_template)
end