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 PubSub should be triggered.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfilePubSubCondition

Returns a new instance of GooglePrivacyDlpV2DataProfilePubSubCondition.



1697
1698
1699
# File 'lib/google/apis/dlp_v2/classes.rb', line 1697

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



1695
1696
1697
# File 'lib/google/apis/dlp_v2/classes.rb', line 1695

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1702
1703
1704
# File 'lib/google/apis/dlp_v2/classes.rb', line 1702

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