View Source GoogleApi.PubSub.V1.Model.PullResponse (google_api_pub_sub v0.38.0)

Response for the Pull method.

Attributes

  • receivedMessages (type: list(GoogleApi.PubSub.V1.Model.ReceivedMessage.t), default: nil) - Optional. Received Pub/Sub messages. The list will be empty if there are no more messages available in the backlog, or if no messages could be returned before the request timeout. For JSON, the response can be entirely empty. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PubSub.V1.Model.PullResponse{
  receivedMessages: [GoogleApi.PubSub.V1.Model.ReceivedMessage.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.