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.



2466
2467
2468
# File 'lib/google/apis/dlp_v2/classes.rb', line 2466

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



2464
2465
2466
# File 'lib/google/apis/dlp_v2/classes.rb', line 2464

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2471
2472
2473
# File 'lib/google/apis/dlp_v2/classes.rb', line 2471

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