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.



7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 7008

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