Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::RecordCondition::Expressions.
An expression, consisting of an operator and conditions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#conditions
def conditions() -> ::Google::Cloud::Dlp::V2::RecordCondition::Conditions
Returns
- (::Google::Cloud::Dlp::V2::RecordCondition::Conditions) — Conditions to apply to the expression.
#conditions=
def conditions=(value) -> ::Google::Cloud::Dlp::V2::RecordCondition::Conditions
Parameter
- value (::Google::Cloud::Dlp::V2::RecordCondition::Conditions) — Conditions to apply to the expression.
Returns
- (::Google::Cloud::Dlp::V2::RecordCondition::Conditions) — Conditions to apply to the expression.
#logical_operator
def logical_operator() -> ::Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator
Returns
-
(::Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator) — The operator to apply to the result of conditions. Default and currently
only supported value is
AND
.
#logical_operator=
def logical_operator=(value) -> ::Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator
Parameter
-
value (::Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator) — The operator to apply to the result of conditions. Default and currently
only supported value is
AND
.
Returns
-
(::Google::Cloud::Dlp::V2::RecordCondition::Expressions::LogicalOperator) — The operator to apply to the result of conditions. Default and currently
only supported value is
AND
.