Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Publish the results of a DlpJob to a pub sub channel. Compatible with: Inpect, Risk
Instance Attribute Summary collapse
-
#topic ⇒ String
Cloud Pub/Sub topic to send notifications to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2PublishToPubSub
constructor
A new instance of GooglePrivacyDlpV2beta2PublishToPubSub.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2PublishToPubSub
Returns a new instance of GooglePrivacyDlpV2beta2PublishToPubSub
5044 5045 5046 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5044 def initialize(**args) update!(**args) end |
Instance Attribute Details
#topic ⇒ String
Cloud Pub/Sub topic to send notifications to. The topic must have given
publishing access rights to the DLP API service account executing
the long running DlpJob sending the notifications.
Format is projects/project
/topics/topic
.
Corresponds to the JSON property topic
5042 5043 5044 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5042 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5049 5050 5051 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5049 def update!(**args) @topic = args[:topic] if args.key?(:topic) end |