Class: Google::Privacy::Dlp::V2::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb

Overview

A task to execute on the completion of a job.

Defined Under Namespace

Classes: PublishToPubSub, SaveFindings

Instance Attribute Summary collapse

Instance Attribute Details

#pub_subGoogle::Privacy::Dlp::V2::Action::PublishToPubSub

Returns Publish a notification to a pubsub topic.

Returns:



1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1630

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Compatible with: Inspect
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish the results of a DlpJob to a pub sub channel.
  # Compatible with: Inpect, Risk
  # @!attribute [rw] topic
  #   @return [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}.
  class PublishToPubSub; end
end

#save_findingsGoogle::Privacy::Dlp::V2::Action::SaveFindings

Returns Save resulting findings in a provided location.

Returns:



1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1630

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Compatible with: Inspect
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish the results of a DlpJob to a pub sub channel.
  # Compatible with: Inpect, Risk
  # @!attribute [rw] topic
  #   @return [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}.
  class PublishToPubSub; end
end