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

Compute statistics about a range of messages in a given topic and partition.

Attributes

  • endCursor (type: GoogleApi.PubSubLite.V1.Model.Cursor.t, default: nil) - The exclusive end of the range. The range is empty if end_cursor <= start_cursor. Specifying a start_cursor before the first message and an end_cursor after the last message will retrieve all messages.
  • partition (type: String.t, default: nil) - Required. The partition for which we should compute message stats.
  • startCursor (type: GoogleApi.PubSubLite.V1.Model.Cursor.t, default: nil) - The inclusive start of the range.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSubLite.V1.Model.ComputeMessageStatsRequest{
  endCursor: GoogleApi.PubSubLite.V1.Model.Cursor.t() | nil,
  partition: String.t() | nil,
  startCursor: GoogleApi.PubSubLite.V1.Model.Cursor.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.