Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A condition for determining whether a transformation should be applied to a field.
Instance Attribute Summary collapse
-
#expressions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions
An expression, consisting of an operator and conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordCondition
constructor
A new instance of GooglePrivacyDlpV2RecordCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordCondition
Returns a new instance of GooglePrivacyDlpV2RecordCondition.
8321 8322 8323 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8321 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expressions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions
An expression, consisting of an operator and conditions.
Corresponds to the JSON property expressions
8319 8320 8321 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8319 def expressions @expressions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8326 8327 8328 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8326 def update!(**args) @expressions = args[:expressions] if args.key?(:expressions) end |