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-id options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2RequestedDeidentifyOptions

Returns a new instance of GooglePrivacyDlpV2RequestedDeidentifyOptions.



6380
6381
6382
# File 'lib/google/apis/dlp_v2/classes.rb', line 6380

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/dlp/docs/concepts-templates to learn more. Corresponds to the JSON property snapshotDeidentifyTemplate



6366
6367
6368
# File 'lib/google/apis/dlp_v2/classes.rb', line 6366

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/dlp/docs/concepts-templates to learn more. Corresponds to the JSON property snapshotImageRedactTemplate



6372
6373
6374
# File 'lib/google/apis/dlp_v2/classes.rb', line 6372

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/dlp/docs/concepts-templates to learn more. Corresponds to the JSON property snapshotStructuredDeidentifyTemplate



6378
6379
6380
# File 'lib/google/apis/dlp_v2/classes.rb', line 6378

def snapshot_structured_deidentify_template
  @snapshot_structured_deidentify_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6385
6386
6387
6388
6389
# File 'lib/google/apis/dlp_v2/classes.rb', line 6385

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