Class: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition
- 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 that must match for this rule to apply.
Instance Attribute Summary collapse
-
#info_type_condition ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeCondition
A info type based condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2PolicyCondition
constructor
A new instance of GooglePrivacyDlpV2PolicyCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2PolicyCondition
Returns a new instance of GooglePrivacyDlpV2PolicyCondition.
9072 9073 9074 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9072 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_type_condition ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeCondition
A info type based condition.
Corresponds to the JSON property infoTypeCondition
9070 9071 9072 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9070 def info_type_condition @info_type_condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9077 9078 9079 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 9077 def update!(**args) @info_type_condition = args[:info_type_condition] if args.key?(:info_type_condition) end |