Class: Google::Cloud::Dlp::V2::DataProfilePubSubCondition

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#expressions::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions

Returns An expression.



4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4762

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.
  # @!attribute [rw] minimum_sensitivity_score
  #   @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket]
  #     The minimum sensitivity level that triggers the condition.
  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