Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::Action.
A task to execute on the completion of a job. See https://cloud.google.com/dlp/docs/concepts-actions to learn more.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#job_notification_emails
def job_notification_emails() -> ::Google::Cloud::Dlp::V2::Action::JobNotificationEmails
Returns
- (::Google::Cloud::Dlp::V2::Action::JobNotificationEmails) — Enable email notification for project owners and editors on job's completion/failure.
#job_notification_emails=
def job_notification_emails=(value) -> ::Google::Cloud::Dlp::V2::Action::JobNotificationEmails
Parameter
- value (::Google::Cloud::Dlp::V2::Action::JobNotificationEmails) — Enable email notification for project owners and editors on job's completion/failure.
Returns
- (::Google::Cloud::Dlp::V2::Action::JobNotificationEmails) — Enable email notification for project owners and editors on job's completion/failure.
#pub_sub
def pub_sub() -> ::Google::Cloud::Dlp::V2::Action::PublishToPubSub
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishToPubSub) — Publish a notification to a pubsub topic.
#pub_sub=
def pub_sub=(value) -> ::Google::Cloud::Dlp::V2::Action::PublishToPubSub
Parameter
- value (::Google::Cloud::Dlp::V2::Action::PublishToPubSub) — Publish a notification to a pubsub topic.
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishToPubSub) — Publish a notification to a pubsub topic.
#publish_findings_to_cloud_data_catalog
def publish_findings_to_cloud_data_catalog() -> ::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog) — Publish findings to Cloud Datahub.
#publish_findings_to_cloud_data_catalog=
def publish_findings_to_cloud_data_catalog=(value) -> ::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog
Parameter
- value (::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog) — Publish findings to Cloud Datahub.
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishFindingsToCloudDataCatalog) — Publish findings to Cloud Datahub.
#publish_summary_to_cscc
def publish_summary_to_cscc() -> ::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc) — Publish summary to Cloud Security Command Center (Alpha).
#publish_summary_to_cscc=
def publish_summary_to_cscc=(value) -> ::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc
Parameter
- value (::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc) — Publish summary to Cloud Security Command Center (Alpha).
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishSummaryToCscc) — Publish summary to Cloud Security Command Center (Alpha).
#publish_to_stackdriver
def publish_to_stackdriver() -> ::Google::Cloud::Dlp::V2::Action::PublishToStackdriver
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishToStackdriver) — Enable Stackdriver metric dlp.googleapis.com/finding_count.
#publish_to_stackdriver=
def publish_to_stackdriver=(value) -> ::Google::Cloud::Dlp::V2::Action::PublishToStackdriver
Parameter
- value (::Google::Cloud::Dlp::V2::Action::PublishToStackdriver) — Enable Stackdriver metric dlp.googleapis.com/finding_count.
Returns
- (::Google::Cloud::Dlp::V2::Action::PublishToStackdriver) — Enable Stackdriver metric dlp.googleapis.com/finding_count.
#save_findings
def save_findings() -> ::Google::Cloud::Dlp::V2::Action::SaveFindings
Returns
- (::Google::Cloud::Dlp::V2::Action::SaveFindings) — Save resulting findings in a provided location.
#save_findings=
def save_findings=(value) -> ::Google::Cloud::Dlp::V2::Action::SaveFindings
Parameter
- value (::Google::Cloud::Dlp::V2::Action::SaveFindings) — Save resulting findings in a provided location.
Returns
- (::Google::Cloud::Dlp::V2::Action::SaveFindings) — Save resulting findings in a provided location.