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.



9083
9084
9085
# File 'lib/google/apis/dlp_v2/classes.rb', line 9083

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



9081
9082
9083
# File 'lib/google/apis/dlp_v2/classes.rb', line 9081

def info_type_condition
  @info_type_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9088
9089
9090
# File 'lib/google/apis/dlp_v2/classes.rb', line 9088

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