Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfilePubSubCondition
- 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
-
#expressions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubExpressions
An expression, consisting of an operator and conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfilePubSubCondition
constructor
A new instance of GooglePrivacyDlpV2DataProfilePubSubCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfilePubSubCondition
Returns a new instance of GooglePrivacyDlpV2DataProfilePubSubCondition.
1722 1723 1724 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1722 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expressions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubExpressions
An expression, consisting of an operator and conditions.
Corresponds to the JSON property expressions
1720 1721 1722 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1720 def expressions @expressions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1727 1728 1729 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 1727 def update!(**args) @expressions = args[:expressions] if args.key?(:expressions) end |