Google.Pubsub.V1.PubsubMessage (BroadwayCloudPubSub v2.0.0-rc.0)

Copy Markdown View Source

A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding client library documentation for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.

Summary

Types

t()

@type t() :: %Google.Pubsub.V1.PubsubMessage{
  __protobuf__: true,
  __unknown_fields__: [Protobuf.unknown_field()],
  attributes: %{optional(String.t()) => String.t() | nil},
  data: binary(),
  message_id: String.t(),
  ordering_key: String.t(),
  publish_time: Google.Protobuf.Timestamp.t() | nil
}