[][src]Struct gcp_client::google::storage::v1::Notification

pub struct Notification {
    pub topic: String,
    pub event_types: Vec<String>,
    pub custom_attributes: HashMap<String, String>,
    pub etag: String,
    pub object_name_prefix: String,
    pub payload_format: String,
    pub id: String,
}

A subscription to receive Google PubSub notifications.

Fields

topic: String

The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

event_types: Vec<String>

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

custom_attributes: HashMap<String, String>

An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.

etag: String

HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3][Entity tag] for this subscription notification.

object_name_prefix: String

If present, only apply this notification configuration to object names that begin with this prefix.

payload_format: String

The desired content of the Payload.

id: String

The ID of the notification.

Trait Implementations

impl Clone for Notification[src]

impl Debug for Notification[src]

impl Default for Notification[src]

impl Message for Notification[src]

impl PartialEq<Notification> for Notification[src]

impl StructuralPartialEq for Notification[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> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]