Struct google_storage1::Notification [−][src]
pub struct Notification { pub kind: Option<String>, pub custom_attributes: Option<HashMap<String, String>>, pub id: Option<String>, pub topic: Option<String>, pub etag: Option<String>, pub event_types: Option<Vec<String>>, pub object_name_prefix: Option<String>, pub payload_format: Option<String>, pub self_link: Option<String>, }
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 Default for Notification
[src]
impl Default for Notification
fn default() -> Notification
[src]
fn default() -> Notification
Returns the "default value" for a type. Read more
impl Clone for Notification
[src]
impl Clone for Notification
fn clone(&self) -> Notification
[src]
fn clone(&self) -> Notification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Notification
[src]
impl Debug for Notification
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Notification
[src]
impl RequestValue for Notification
impl Resource for Notification
[src]
impl Resource for Notification
impl ResponseResult for Notification
[src]
impl ResponseResult for Notification
Auto Trait Implementations
impl Send for Notification
impl Send for Notification
impl Sync for Notification
impl Sync for Notification