Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations
- 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
A type of transformation that will scan unstructured text and apply various
PrimitiveTransformation
s to each finding, where the transformation is applied
to only values that were identified as a specific info_type.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeTransformations
constructor
A new instance of GooglePrivacyDlpV2InfoTypeTransformations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2InfoTypeTransformations
Returns a new instance of GooglePrivacyDlpV2InfoTypeTransformations.
3078 3079 3080 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3078 def initialize(**args) update!(**args) end |
Instance Attribute Details
#transformations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation>
Required. Transformation for each infoType. Cannot specify more than one for a
given infoType.
Corresponds to the JSON property transformations
3076 3077 3078 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3076 def transformations @transformations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3083 3084 3085 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 3083 def update!(**args) @transformations = args[:transformations] if args.key?(:transformations) end |