class Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate

DeidentifyTemplates contains instructions on how to de-identify content. See cloud.google.com/dlp/docs/concepts-templates to learn more.

Attributes

create_time[RW]

Output only. The creation timestamp of an inspectTemplate. Corresponds to the JSON property `createTime` @return [String]

deidentify_config[RW]

The configuration that controls how the data will change. Corresponds to the JSON property `deidentifyConfig` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig]

description[RW]

Short description (max 256 chars). Corresponds to the JSON property `description` @return [String]

display_name[RW]

Display name (max 256 chars). Corresponds to the JSON property `displayName` @return [String]

name[RW]

Output only. The template name. The template will have one of the following formats: `projects/PROJECT_ID/deidentifyTemplates/TEMPLATE_ID` OR ` organizations/ORGANIZATION_ID/deidentifyTemplates/TEMPLATE_ID` Corresponds to the JSON property `name` @return [String]

update_time[RW]

Output only. The last update timestamp of an inspectTemplate. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1845
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 1850
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @deidentify_config = args[:deidentify_config] if args.key?(:deidentify_config)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end