class Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest
Request message for CreateInspectTemplate.
Attributes
The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. See cloud.google.com/dlp/docs/concepts-templates to learn more. Corresponds to the JSON property `inspectTemplate` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
Deprecated. This field has no effect. Corresponds to the JSON property `locationId` @return [String]
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
# File lib/google/apis/dlp_v2/classes.rb, line 1203 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 1208 def update!(**args) @inspect_template = args[:inspect_template] if args.key?(:inspect_template) @location_id = args[:location_id] if args.key?(:location_id) @template_id = args[:template_id] if args.key?(:template_id) end