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.
7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7473 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 |