Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
 
 
- 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
DeidentifyTemplates contains instructions on how to de-identify content. See https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to learn more.
Instance Attribute Summary collapse
- 
  
    
      #create_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #deidentify_config  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The configuration that controls how the data will change.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Short description (max 256 chars).
 - 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Display name (max 256 chars).
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #update_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2DeidentifyTemplate 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2DeidentifyTemplate.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DeidentifyTemplate
Returns a new instance of GooglePrivacyDlpV2DeidentifyTemplate.
      3102 3103 3104  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3102 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#create_time ⇒ String
Output only. The creation timestamp of an inspectTemplate.
Corresponds to the JSON property createTime
      3073 3074 3075  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3073 def create_time @create_time end  | 
  
#deidentify_config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyConfig
The configuration that controls how the data will change.
Corresponds to the JSON property deidentifyConfig
      3078 3079 3080  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3078 def deidentify_config @deidentify_config end  | 
  
#description ⇒ String
Short description (max 256 chars).
Corresponds to the JSON property description
      3083 3084 3085  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3083 def description @description end  | 
  
#display_name ⇒ String
Display name (max 256 chars).
Corresponds to the JSON property displayName
      3088 3089 3090  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3088 def display_name @display_name end  | 
  
#name ⇒ String
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
      3095 3096 3097  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3095 def name @name end  | 
  
#update_time ⇒ String
Output only. The last update timestamp of an inspectTemplate.
Corresponds to the JSON property updateTime
      3100 3101 3102  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3100 def update_time @update_time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3107 3108 3109 3110 3111 3112 3113 3114  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 3107 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  |