Class: Google::Cloud::Dlp::V2::DataProfilePubSubCondition
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::DataProfilePubSubCondition
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
A condition for determining whether a Pub/Sub should be triggered.
Defined Under Namespace
Modules: ProfileScoreBucket Classes: PubSubCondition, PubSubExpressions
Instance Attribute Summary collapse
-
#expressions ⇒ ::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions
An expression.
Instance Attribute Details
#expressions ⇒ ::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions
Returns An expression.
7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7669 class DataProfilePubSubCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A condition consisting of a value. # @!attribute [rw] minimum_risk_score # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket] # The minimum data risk score that triggers the condition. # # Note: The following fields are mutually exclusive: `minimum_risk_score`, `minimum_sensitivity_score`. If a field in that set is populated, all other fields in the set will automatically be cleared. # @!attribute [rw] minimum_sensitivity_score # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket] # The minimum sensitivity level that triggers the condition. # # Note: The following fields are mutually exclusive: `minimum_sensitivity_score`, `minimum_risk_score`. If a field in that set is populated, all other fields in the set will automatically be cleared. class PubSubCondition include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # An expression, consisting of an operator and conditions. # @!attribute [rw] logical_operator # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator] # The operator to apply to the collection of conditions. # @!attribute [rw] conditions # @return [::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>] # Conditions to apply to the expression. class PubSubExpressions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Logical operators for conditional checks. module PubSubLogicalOperator # Unused. LOGICAL_OPERATOR_UNSPECIFIED = 0 # Conditional OR. OR = 1 # Conditional AND. AND = 2 end end # Various score levels for resources. module ProfileScoreBucket # Unused. PROFILE_SCORE_BUCKET_UNSPECIFIED = 0 # High risk/sensitivity detected. HIGH = 1 # Medium or high risk/sensitivity detected. MEDIUM_OR_HIGH = 2 end end |