Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyTemplate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
The DeidentifyTemplates contains instructions on how to deidentify content.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The creation timestamp of a inspectTemplate, output only field.
-
#deidentify_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig
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
The template name.
-
#update_time ⇒ String
The last update timestamp of a inspectTemplate, output only field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2DeidentifyTemplate
constructor
A new instance of GooglePrivacyDlpV2beta2DeidentifyTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2DeidentifyTemplate
Returns a new instance of GooglePrivacyDlpV2beta2DeidentifyTemplate
2642 2643 2644 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2642 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The creation timestamp of a inspectTemplate, output only field.
Corresponds to the JSON property createTime
2612 2613 2614 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2612 def create_time @create_time end |
#deidentify_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2DeidentifyConfig
The configuration that controls how the data will change.
Corresponds to the JSON property deidentifyConfig
2617 2618 2619 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2617 def deidentify_config @deidentify_config end |
#description ⇒ String
Short description (max 256 chars).
Corresponds to the JSON property description
2622 2623 2624 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2622 def description @description end |
#display_name ⇒ String
Display name (max 256 chars).
Corresponds to the JSON property displayName
2627 2628 2629 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2627 def display_name @display_name end |
#name ⇒ String
The template name. Output only.
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
2635 2636 2637 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2635 def name @name end |
#update_time ⇒ String
The last update timestamp of a inspectTemplate, output only field.
Corresponds to the JSON property updateTime
2640 2641 2642 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2640 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2647 2648 2649 2650 2651 2652 2653 2654 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 2647 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 |