[][src]Struct google_dlp2::GooglePrivacyDlpV2PublishToPubSub

pub struct GooglePrivacyDlpV2PublishToPubSub {
    pub topic: Option<String>,
}

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. Compatible with: Inspect, Risk

This type is not used in any activity, and only used as part of another schema.

Fields

topic: Option<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}.

Trait Implementations

impl Clone for GooglePrivacyDlpV2PublishToPubSub[src]

impl Debug for GooglePrivacyDlpV2PublishToPubSub[src]

impl Default for GooglePrivacyDlpV2PublishToPubSub[src]

impl<'de> Deserialize<'de> for GooglePrivacyDlpV2PublishToPubSub[src]

impl Part for GooglePrivacyDlpV2PublishToPubSub[src]

impl Serialize for GooglePrivacyDlpV2PublishToPubSub[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any