Class: Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb

Overview

A condition consisting of a value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2PubSubCondition

Returns a new instance of GooglePrivacyDlpV2PubSubCondition.



7979
7980
7981
# File 'lib/google/apis/dlp_v2/classes.rb', line 7979

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#minimum_risk_scoreString

The minimum data risk score that triggers the condition. Corresponds to the JSON property minimumRiskScore

Returns:

  • (String)


7972
7973
7974
# File 'lib/google/apis/dlp_v2/classes.rb', line 7972

def minimum_risk_score
  @minimum_risk_score
end

#minimum_sensitivity_scoreString

The minimum sensitivity level that triggers the condition. Corresponds to the JSON property minimumSensitivityScore

Returns:

  • (String)


7977
7978
7979
# File 'lib/google/apis/dlp_v2/classes.rb', line 7977

def minimum_sensitivity_score
  @minimum_sensitivity_score
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7984
7985
7986
7987
# File 'lib/google/apis/dlp_v2/classes.rb', line 7984

def update!(**args)
  @minimum_risk_score = args[:minimum_risk_score] if args.key?(:minimum_risk_score)
  @minimum_sensitivity_score = args[:minimum_sensitivity_score] if args.key?(:minimum_sensitivity_score)
end