pub struct GooglePrivacyDlpV2PubSubNotification {
pub detail_of_message: Option<String>,
pub event: Option<String>,
pub pubsub_condition: Option<GooglePrivacyDlpV2DataProfilePubSubCondition>,
pub topic: Option<String>,
}
Expand description
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage
.
This type is not used in any activity, and only used as part of another schema.
Fields§
§detail_of_message: Option<String>
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
event: Option<String>
The type of event that triggers a Pub/Sub. At most one PubSubNotification
per EventType is permitted.
pubsub_condition: Option<GooglePrivacyDlpV2DataProfilePubSubCondition>
Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
topic: Option<String>
Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2PubSubNotification
impl Clone for GooglePrivacyDlpV2PubSubNotification
source§fn clone(&self) -> GooglePrivacyDlpV2PubSubNotification
fn clone(&self) -> GooglePrivacyDlpV2PubSubNotification
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GooglePrivacyDlpV2PubSubNotification
impl Default for GooglePrivacyDlpV2PubSubNotification
source§fn default() -> GooglePrivacyDlpV2PubSubNotification
fn default() -> GooglePrivacyDlpV2PubSubNotification
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GooglePrivacyDlpV2PubSubNotification
impl<'de> Deserialize<'de> for GooglePrivacyDlpV2PubSubNotification
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GooglePrivacyDlpV2PubSubNotification
Auto Trait Implementations§
impl RefUnwindSafe for GooglePrivacyDlpV2PubSubNotification
impl Send for GooglePrivacyDlpV2PubSubNotification
impl Sync for GooglePrivacyDlpV2PubSubNotification
impl Unpin for GooglePrivacyDlpV2PubSubNotification
impl UnwindSafe for GooglePrivacyDlpV2PubSubNotification
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more