Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions.
An expression, consisting of an operator and conditions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#conditions
def conditions() -> ::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>
Returns
- (::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>) — Conditions to apply to the expression.
#conditions=
def conditions=(value) -> ::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>) — Conditions to apply to the expression.
Returns
- (::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>) — Conditions to apply to the expression.
#logical_operator
def logical_operator() -> ::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator
Returns
- (::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator) — The operator to apply to the collection of conditions.
#logical_operator=
def logical_operator=(value) -> ::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator) — The operator to apply to the collection of conditions.
Returns
- (::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator) — The operator to apply to the collection of conditions.