class Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions

An expression, consisting or an operator and conditions.

Attributes

conditions[RW]

A collection of conditions. Corresponds to the JSON property `conditions` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions]

logical_operator[RW]

The operator to apply to the result of conditions. Default and currently only supported value is `AND`. Corresponds to the JSON property `logicalOperator` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 2312
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 2317
def update!(**args)
  @conditions = args[:conditions] if args.key?(:conditions)
  @logical_operator = args[:logical_operator] if args.key?(:logical_operator)
end