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.



6154
6155
6156
# File 'lib/google/apis/dlp_v2/classes.rb', line 6154

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



6140
6141
6142
# File 'lib/google/apis/dlp_v2/classes.rb', line 6140

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



6146
6147
6148
# File 'lib/google/apis/dlp_v2/classes.rb', line 6146

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



6152
6153
6154
# File 'lib/google/apis/dlp_v2/classes.rb', line 6152

def snapshot_structured_deidentify_template
  @snapshot_structured_deidentify_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6159
6160
6161
6162
6163
# File 'lib/google/apis/dlp_v2/classes.rb', line 6159

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