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:



1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1609

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:



1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1609

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