Class: Google::Apis::DlpV2::GooglePrivacyDlpV2PolicyCondition

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 that must match for this rule to apply.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_conditionGoogle::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