Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate
- 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 inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The creation timestamp of a inspectTemplate, output only field.
-
#description ⇒ String
Short description (max 256 chars).
-
#display_name ⇒ String
Display name (max 256 chars).
-
#inspect_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig
Configuration description of the scanning process.
-
#name ⇒ String
The template name.
-
#update_time ⇒ String
The last update timestamp of a inspectTemplate, output only field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InspectTemplate
constructor
A new instance of GooglePrivacyDlpV2beta2InspectTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InspectTemplate
Returns a new instance of GooglePrivacyDlpV2beta2InspectTemplate
3890 3891 3892 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3890 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
3858 3859 3860 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3858 def create_time @create_time end |
#description ⇒ String
Short description (max 256 chars).
Corresponds to the JSON property description
3863 3864 3865 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3863 def description @description end |
#display_name ⇒ String
Display name (max 256 chars).
Corresponds to the JSON property displayName
3868 3869 3870 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3868 def display_name @display_name end |
#inspect_config ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig
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
3875 3876 3877 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3875 def inspect_config @inspect_config end |
#name ⇒ String
The template name. Output only.
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
3883 3884 3885 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3883 def name @name end |
#update_time ⇒ String
The last update timestamp of a inspectTemplate, output only field.
Corresponds to the JSON property updateTime
3888 3889 3890 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3888 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3895 3896 3897 3898 3899 3900 3901 3902 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3895 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 |