[−][src]Struct google_storage1::Notification
A subscription to receive Google PubSub notifications.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- insert notifications (request|response)
- list notifications (none)
- delete notifications (none)
- get notifications (response)
Fields
kind: Option<String>
The kind of item this is. For notifications, this is always storage#notification.
custom_attributes: Option<HashMap<String, String>>
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
id: Option<String>
The ID of the notification.
topic: Option<String>
The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
etag: Option<String>
HTTP 1.1 Entity tag for this subscription notification.
event_types: Option<Vec<String>>
If present, only send notifications about listed event types. If empty, sent notifications for all event types.
object_name_prefix: Option<String>
If present, only apply this notification configuration to object names that begin with this prefix.
payload_format: Option<String>
The desired content of the Payload.
self_link: Option<String>
The canonical URL of this notification.
Trait Implementations
impl Clone for Notification
[src]
fn clone(&self) -> Notification
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Notification
[src]
impl Default for Notification
[src]
fn default() -> Notification
[src]
impl<'de> Deserialize<'de> for Notification
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Notification
[src]
impl Resource for Notification
[src]
impl ResponseResult for Notification
[src]
impl Serialize for Notification
[src]
Auto Trait Implementations
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
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,