Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition

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 for determining whether a Pub/Sub should be triggered.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfilePubSubCondition

Returns a new instance of GooglePrivacyDlpV2DataProfilePubSubCondition.



3046
3047
3048
# File 'lib/google/apis/dlp_v2/classes.rb', line 3046

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

Instance Attribute Details

#expressionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2PubSubExpressions

An expression, consisting of an operator and conditions. Corresponds to the JSON property expressions



3044
3045
3046
# File 'lib/google/apis/dlp_v2/classes.rb', line 3044

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3051
3052
3053
# File 'lib/google/apis/dlp_v2/classes.rb', line 3051

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