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.



5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5472

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