Home | History | Annotate | Download | only in v1

Lines Matching defs:Notification

875 // Channel: An notification channel used to watch for resource changes.
881 // Expiration: Date and time of notification channel expiration,
888 // Kind: Identifies this as a notification channel used to watch for
908 // notification delivered over this channel. Optional.
1044 // Notification: A subscription to receive Google PubSub notifications.
1045 type Notification struct {
1047 // to each Cloud PubSub message published for this notification
1051 // Etag: HTTP 1.1 Entity tag for this subscription notification.
1058 // Id: The ID of the notification.
1062 // storage#notification.
1065 // ObjectNamePrefix: If present, only apply this notification
1072 // SelfLink: The canonical URL of this notification.
1103 func (s *Notification) MarshalJSON() ([]byte, error) {
1104 type noMethod Notification
1109 // Notifications: A list of notification subscriptions.
1112 Items []*Notification `json:"items,omitempty"`
1732 // EmailAddress: The ID of the notification.
1736 // storage#notification.
5554 notification string
5560 // Delete: Permanently deletes a notification subscription.
5561 func (r *NotificationsService) Delete(bucket string, notification string) *NotificationsDeleteCall {
5564 c.notification = notification
5608 urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs/{notification}")
5614 "notification": c.notification,
5632 // "description": "Permanently deletes a notification subscription.",
5637 // "notification"
5641 // "description": "The parent bucket of the notification.",
5646 // "notification": {
5647 // "description": "ID of the notification to delete.",
5658 // "path": "b/{bucket}/notificationConfigs/{notification}",
5673 notification string
5680 // Get: View a notification configuration.
5681 func (r *NotificationsService) Get(bucket string, notification string) *NotificationsGetCall {
5684 c.notification = notification
5741 urls := googleapi.ResolveRelative(c.s.BasePath, "b/{bucket}/notificationConfigs/{notification}")
5747 "notification": c.notification,
5753 // Exactly one of *Notification or error will be non-nil. Any non-2xx
5755 // *Notification.ServerResponse.Header or (if a response was returned at
5759 func (c *NotificationsGetCall) Do(opts ...googleapi.CallOption) (*Notification, error) {
5778 ret := &Notification{
5790 // "description": "View a notification configuration.",
5795 // "notification"
5799 // "description": "The parent bucket of the notification.",
5804 // "notification": {
5805 // "description": "Notification ID",
5816 // "path": "b/{bucket}/notificationConfigs/{notification}",
5818 // "$ref": "Notification"
5836 notification *Notification
5842 // Insert: Creates a notification subscription for a given bucket.
5843 func (r *NotificationsService) Insert(bucket string, notification *Notification) *NotificationsInsertCall {
5846 c.notification = notification
5889 body, err := googleapi.WithoutDataWrapper.JSONReader(c.notification)
5906 // Exactly one of *Notification or error will be non-nil. Any non-2xx
5908 // *Notification.ServerResponse.Header or (if a response was returned at
5912 func (c *NotificationsInsertCall) Do(opts ...googleapi.CallOption) (*Notification, error) {
5931 ret := &Notification{
5943 // "description": "Creates a notification subscription for a given bucket.",
5951 // "description": "The parent bucket of the notification.",
5964 // "$ref": "Notification"
5967 // "$ref": "Notification"
5989 // List: Retrieves a list of notification subscriptions for a given
6098 // "description": "Retrieves a list of notification subscriptions for a given bucket.",