GoogleApi.PubSubLite.V1.Model.ComputeMessageStatsResponse (google_api_pub_sub_lite v0.3.0) View Source

Response containing stats for messages in the requested topic and partition.

Attributes

  • messageBytes (type: String.t, default: nil) - The number of quota bytes accounted to these messages.
  • messageCount (type: String.t, default: nil) - The count of messages.
  • minimumEventTime (type: DateTime.t, default: nil) - The minimum event timestamp across these messages. For the purposes of this computation, if a message does not have an event time, we use the publish time. The timestamp will be unset if there are no messages.
  • minimumPublishTime (type: DateTime.t, default: nil) - The minimum publish timestamp across these messages. Note that publish timestamps within a partition are non-decreasing. The timestamp will be unset if there are no messages.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PubSubLite.V1.Model.ComputeMessageStatsResponse{
  messageBytes: String.t(),
  messageCount: String.t(),
  minimumEventTime: DateTime.t(),
  minimumPublishTime: DateTime.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.