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.



6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 6068

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