Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions
- 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
An expression, consisting or an operator and conditions.
Instance Attribute Summary collapse
-
#conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions
A collection of conditions.
-
#logical_operator ⇒ String
The operator to apply to the result of conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Expressions
constructor
A new instance of GooglePrivacyDlpV2Expressions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Expressions
Returns a new instance of GooglePrivacyDlpV2Expressions
1913 1914 1915 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions
A collection of conditions.
Corresponds to the JSON property conditions
1905 1906 1907 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1905 def conditions @conditions end |
#logical_operator ⇒ String
The operator to apply to the result of conditions. Default and currently
only supported value is AND
.
Corresponds to the JSON property logicalOperator
1911 1912 1913 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1911 def logical_operator @logical_operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1918 1919 1920 1921 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1918 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @logical_operator = args[:logical_operator] if args.key?(:logical_operator) end |