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. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.

Defined Under Namespace

Classes: JobNotificationEmails, PublishFindingsToCloudDataCatalog, PublishSummaryToCscc, PublishToPubSub, SaveFindings

Instance Attribute Summary collapse

Instance Attribute Details

#job_notification_emailsGoogle::Privacy::Dlp::V2::Action::JobNotificationEmails

Returns Enable email notification to project owners and editors on job's completion/failure.

Returns:



1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1949

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Only a single instance of this action can be
  # specified.
  # Compatible with: Inspect, Risk
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
  # message contains a single field, `DlpJobName`, which is equal to the
  # finished job's
  # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
  # Compatible with: Inspect, 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

  # Publish the result summary of a DlpJob to the Cloud Security
  # Command Center (CSCC Alpha).
  # This action is only available for projects which are parts of
  # an organization and whitelisted for the alpha Cloud Security Command
  # Center.
  # The action will publish count of finding instances and their info types.
  # The summary of findings will be persisted in CSCC and are governed by CSCC
  # service-specific policy, see https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified.
  # Compatible with: Inspect
  class PublishSummaryToCscc; end

  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
  # results of the DlpJob will be applied to the entry for the resource scanned
  # in Cloud Data Catalog. Any labels previously written by another DlpJob will
  # be deleted. InfoType naming patterns are strictly enforced when using this
  # feature. Note that the findings will be persisted in Cloud Data Catalog
  # storage and are governed by Data Catalog service-specific policy, see
  # https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified and only allowed if
  # all resources being scanned are BigQuery tables.
  # Compatible with: Inspect
  class PublishFindingsToCloudDataCatalog; end

  # Enable email notification to project owners and editors on jobs's
  # completion/failure.
  class JobNotificationEmails; end
end

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

Returns Publish a notification to a pubsub topic.

Returns:



1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1949

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Only a single instance of this action can be
  # specified.
  # Compatible with: Inspect, Risk
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
  # message contains a single field, `DlpJobName`, which is equal to the
  # finished job's
  # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
  # Compatible with: Inspect, 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

  # Publish the result summary of a DlpJob to the Cloud Security
  # Command Center (CSCC Alpha).
  # This action is only available for projects which are parts of
  # an organization and whitelisted for the alpha Cloud Security Command
  # Center.
  # The action will publish count of finding instances and their info types.
  # The summary of findings will be persisted in CSCC and are governed by CSCC
  # service-specific policy, see https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified.
  # Compatible with: Inspect
  class PublishSummaryToCscc; end

  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
  # results of the DlpJob will be applied to the entry for the resource scanned
  # in Cloud Data Catalog. Any labels previously written by another DlpJob will
  # be deleted. InfoType naming patterns are strictly enforced when using this
  # feature. Note that the findings will be persisted in Cloud Data Catalog
  # storage and are governed by Data Catalog service-specific policy, see
  # https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified and only allowed if
  # all resources being scanned are BigQuery tables.
  # Compatible with: Inspect
  class PublishFindingsToCloudDataCatalog; end

  # Enable email notification to project owners and editors on jobs's
  # completion/failure.
  class JobNotificationEmails; end
end

#publish_findings_to_cloud_data_catalogGoogle::Privacy::Dlp::V2::Action::PublishFindingsToCloudDataCatalog

Returns Publish findings to Cloud Datahub.

Returns:



1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1949

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Only a single instance of this action can be
  # specified.
  # Compatible with: Inspect, Risk
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
  # message contains a single field, `DlpJobName`, which is equal to the
  # finished job's
  # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
  # Compatible with: Inspect, 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

  # Publish the result summary of a DlpJob to the Cloud Security
  # Command Center (CSCC Alpha).
  # This action is only available for projects which are parts of
  # an organization and whitelisted for the alpha Cloud Security Command
  # Center.
  # The action will publish count of finding instances and their info types.
  # The summary of findings will be persisted in CSCC and are governed by CSCC
  # service-specific policy, see https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified.
  # Compatible with: Inspect
  class PublishSummaryToCscc; end

  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
  # results of the DlpJob will be applied to the entry for the resource scanned
  # in Cloud Data Catalog. Any labels previously written by another DlpJob will
  # be deleted. InfoType naming patterns are strictly enforced when using this
  # feature. Note that the findings will be persisted in Cloud Data Catalog
  # storage and are governed by Data Catalog service-specific policy, see
  # https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified and only allowed if
  # all resources being scanned are BigQuery tables.
  # Compatible with: Inspect
  class PublishFindingsToCloudDataCatalog; end

  # Enable email notification to project owners and editors on jobs's
  # completion/failure.
  class JobNotificationEmails; end
end

#publish_summary_to_csccGoogle::Privacy::Dlp::V2::Action::PublishSummaryToCscc

Returns Publish summary to Cloud Security Command Center (Alpha).

Returns:



1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1949

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Only a single instance of this action can be
  # specified.
  # Compatible with: Inspect, Risk
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
  # message contains a single field, `DlpJobName`, which is equal to the
  # finished job's
  # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
  # Compatible with: Inspect, 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

  # Publish the result summary of a DlpJob to the Cloud Security
  # Command Center (CSCC Alpha).
  # This action is only available for projects which are parts of
  # an organization and whitelisted for the alpha Cloud Security Command
  # Center.
  # The action will publish count of finding instances and their info types.
  # The summary of findings will be persisted in CSCC and are governed by CSCC
  # service-specific policy, see https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified.
  # Compatible with: Inspect
  class PublishSummaryToCscc; end

  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
  # results of the DlpJob will be applied to the entry for the resource scanned
  # in Cloud Data Catalog. Any labels previously written by another DlpJob will
  # be deleted. InfoType naming patterns are strictly enforced when using this
  # feature. Note that the findings will be persisted in Cloud Data Catalog
  # storage and are governed by Data Catalog service-specific policy, see
  # https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified and only allowed if
  # all resources being scanned are BigQuery tables.
  # Compatible with: Inspect
  class PublishFindingsToCloudDataCatalog; end

  # Enable email notification to project owners and editors on jobs's
  # completion/failure.
  class JobNotificationEmails; end
end

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

Returns Save resulting findings in a provided location.

Returns:



1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 1949

class Action
  # If set, the detailed findings will be persisted to the specified
  # OutputStorageConfig. Only a single instance of this action can be
  # specified.
  # Compatible with: Inspect, Risk
  # @!attribute [rw] output_config
  #   @return [Google::Privacy::Dlp::V2::OutputStorageConfig]
  class SaveFindings; end

  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
  # message contains a single field, `DlpJobName`, which is equal to the
  # finished job's
  # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
  # Compatible with: Inspect, 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

  # Publish the result summary of a DlpJob to the Cloud Security
  # Command Center (CSCC Alpha).
  # This action is only available for projects which are parts of
  # an organization and whitelisted for the alpha Cloud Security Command
  # Center.
  # The action will publish count of finding instances and their info types.
  # The summary of findings will be persisted in CSCC and are governed by CSCC
  # service-specific policy, see https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified.
  # Compatible with: Inspect
  class PublishSummaryToCscc; end

  # Publish findings of a DlpJob to Cloud Data Catalog. Labels summarizing the
  # results of the DlpJob will be applied to the entry for the resource scanned
  # in Cloud Data Catalog. Any labels previously written by another DlpJob will
  # be deleted. InfoType naming patterns are strictly enforced when using this
  # feature. Note that the findings will be persisted in Cloud Data Catalog
  # storage and are governed by Data Catalog service-specific policy, see
  # https://cloud.google.com/terms/service-terms
  # Only a single instance of this action can be specified and only allowed if
  # all resources being scanned are BigQuery tables.
  # Compatible with: Inspect
  class PublishFindingsToCloudDataCatalog; end

  # Enable email notification to project owners and editors on jobs's
  # completion/failure.
  class JobNotificationEmails; end
end