Googly.CloudStorage.Model.Notification (googly_cloud_storage v0.1.0)

Copy Markdown View Source

A subscription to receive Google PubSub notifications.

Attributes

  • custom_attributes (type: map()) - An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
  • etag (type: String.t()) - HTTP 1.1 Entity tag for this subscription notification.
  • event_types (type: list(String.t())) - If present, only send notifications about listed event types. If empty, sent notifications for all event types.
  • id (type: String.t()) - The ID of the notification.
  • kind (type: String.t()) - The kind of item this is. For notifications, this is always storage#notification.
  • object_name_prefix (type: String.t()) - If present, only apply this notification configuration to object names that begin with this prefix.
  • payload_format (type: String.t()) - The desired content of the Payload.
  • self_link (type: String.t()) - The canonical URL of this notification.
  • topic (type: String.t()) - The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

Summary

Types

t()

@type t() :: %Googly.CloudStorage.Model.Notification{
  custom_attributes: map() | nil,
  etag: String.t() | nil,
  event_types: [String.t()] | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  object_name_prefix: String.t() | nil,
  payload_format: String.t() | nil,
  self_link: String.t() | nil,
  topic: String.t() | nil
}