Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformation
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoTypeTransformation
- 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
A transformation to apply to text that is identified as a specific info_type.
Instance Attribute Summary collapse
-
#info_types ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType>
InfoTypes to apply the transformation to.
-
#primitive_transformation ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation
A rule for transforming a value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InfoTypeTransformation
constructor
A new instance of GooglePrivacyDlpV2beta2InfoTypeTransformation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2InfoTypeTransformation
Returns a new instance of GooglePrivacyDlpV2beta2InfoTypeTransformation
3568 3569 3570 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3568 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_types ⇒ Array<Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InfoType>
InfoTypes to apply the transformation to. Empty list will match all
available infoTypes for this transformation.
Corresponds to the JSON property infoTypes
3561 3562 3563 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3561 def info_types @info_types end |
#primitive_transformation ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PrimitiveTransformation
A rule for transforming a value.
Corresponds to the JSON property primitiveTransformation
3566 3567 3568 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3566 def primitive_transformation @primitive_transformation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3573 3574 3575 3576 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3573 def update!(**args) @info_types = args[:info_types] if args.key?(:info_types) @primitive_transformation = args[:primitive_transformation] if args.key?(:primitive_transformation) end |