class Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest
Request message for CreateDeidentifyTemplate.
Attributes
deidentify_template[RW]
DeidentifyTemplates contains instructions on how to de-identify content. See cloud.google.com/dlp/docs/concepts-templates to learn more. Corresponds to the JSON property `deidentifyTemplate` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
location_id[RW]
Deprecated. This field has no effect. Corresponds to the JSON property `locationId` @return [String]
template_id[RW]
The template id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Zd-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one. Corresponds to the JSON property `templateId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1125 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 1130 def update!(**args) @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template) @location_id = args[:location_id] if args.key?(:location_id) @template_id = args[:template_id] if args.key?(:template_id) end