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.
7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7851 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 |