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.



2641
2642
2643
# File 'lib/google/apis/dlp_v2/classes.rb', line 2641

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



2639
2640
2641
# File 'lib/google/apis/dlp_v2/classes.rb', line 2639

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2646
2647
2648
# File 'lib/google/apis/dlp_v2/classes.rb', line 2646

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