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.



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

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



8739
8740
8741
# File 'lib/google/apis/dlp_v2/classes.rb', line 8739

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



8746
8747
8748
# File 'lib/google/apis/dlp_v2/classes.rb', line 8746

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



8753
8754
8755
# File 'lib/google/apis/dlp_v2/classes.rb', line 8753

def snapshot_structured_deidentify_template
  @snapshot_structured_deidentify_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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