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.



8757
8758
8759
# File 'lib/google/apis/dlp_v2/classes.rb', line 8757

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



8741
8742
8743
# File 'lib/google/apis/dlp_v2/classes.rb', line 8741

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



8748
8749
8750
# File 'lib/google/apis/dlp_v2/classes.rb', line 8748

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



8755
8756
8757
# File 'lib/google/apis/dlp_v2/classes.rb', line 8755

def snapshot_structured_deidentify_template
  @snapshot_structured_deidentify_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8762
8763
8764
8765
8766
# File 'lib/google/apis/dlp_v2/classes.rb', line 8762

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