Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
The DeidentifyTemplates contains instructions on how to deidentify content. See https://cloud.google.com/dlp/docs/concepts-templates to learn more.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The creation timestamp of a inspectTemplate, output only field.
-
#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
The template name.
-
#update_time ⇒ String
The last update timestamp of a inspectTemplate, output only field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DeidentifyTemplate
constructor
A new instance of GooglePrivacyDlpV2DeidentifyTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DeidentifyTemplate
Returns a new instance of GooglePrivacyDlpV2DeidentifyTemplate
1595 1596 1597 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1595 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
1565 1566 1567 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1565 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
1570 1571 1572 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1570 def deidentify_config @deidentify_config end |
#description ⇒ String
Short description (max 256 chars).
Corresponds to the JSON property description
1575 1576 1577 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1575 def description @description end |
#display_name ⇒ String
Display name (max 256 chars).
Corresponds to the JSON property displayName
1580 1581 1582 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1580 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
1588 1589 1590 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1588 def name @name end |
#update_time ⇒ String
The last update timestamp of a inspectTemplate, output only field.
Corresponds to the JSON property updateTime
1593 1594 1595 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1593 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1600 1601 1602 1603 1604 1605 1606 1607 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1600 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 |