[−][src]Struct google_storagetransfer1::NotificationConfig
Specification to configure notifications published to Cloud Pub/Sub.
Notifications will be published to the customer-provided topic using the
following PubsubMessage.attributes
:
"eventType"
: one of the EventType values"payloadFormat"
: one of the PayloadFormat values"projectId"
: the project_id of theTransferOperation
"transferJobName"
: the transfer_job_name of theTransferOperation
"transferOperationName"
: the name of theTransferOperation
The PubsubMessage.data
will contain a TransferOperation resource
formatted according to the specified PayloadFormat
.
This type is not used in any activity, and only used as part of another schema.
Fields
event_types: Option<Vec<String>>
Event types for which a notification is desired. If empty, send notifications for all event types.
payload_format: Option<String>
Required. The desired format of the notification message payloads.
pubsub_topic: Option<String>
Required. The Topic.name
of the Cloud Pub/Sub topic to which to publish
notifications. Must be of the format: projects/{project}/topics/{topic}
.
Not matching this format will result in an
INVALID_ARGUMENT error.
Trait Implementations
impl Clone for NotificationConfig
[src]
fn clone(&self) -> NotificationConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NotificationConfig
[src]
impl Default for NotificationConfig
[src]
fn default() -> NotificationConfig
[src]
impl<'de> Deserialize<'de> for NotificationConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for NotificationConfig
[src]
impl Serialize for NotificationConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for NotificationConfig
impl Send for NotificationConfig
impl Sync for NotificationConfig
impl Unpin for NotificationConfig
impl UnwindSafe for NotificationConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,