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

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 not guaranteed to be non-decreasing. The timestamp will be unset if there are no messages.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.