class Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
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.
Attributes
Output only. The creation timestamp of an inspectTemplate. Corresponds to the JSON property `createTime` @return [String]
Short description (max 256 chars). Corresponds to the JSON property `description` @return [String]
Display name (max 256 chars). Corresponds to the JSON property `displayName` @return [String]
Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used. Corresponds to the JSON property `inspectConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR `organizations/ ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`; Corresponds to the JSON property `name` @return [String]
Output only. The last update timestamp of an inspectTemplate. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/dlp_v2/classes.rb, line 3370 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 3375 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @inspect_config = args[:inspect_config] if args.key?(:inspect_config) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end