Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/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
-
#transformations ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformation>
Transformation for each info type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeTransformations
constructor
A new instance of GooglePrivacyDlpV2beta1InfoTypeTransformations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeTransformations
Returns a new instance of GooglePrivacyDlpV2beta1InfoTypeTransformations
1654 1655 1656 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1654 def initialize(**args) update!(**args) end |
Instance Attribute Details
#transformations ⇒ Array<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformation>
Transformation for each info type. Cannot specify more than one
for a given info type. [required]
Corresponds to the JSON property transformations
1652 1653 1654 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1652 def transformations @transformations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1659 1660 1661 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1659 def update!(**args) @transformations = args[:transformations] if args.key?(:transformations) end |