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

Compute the corresponding cursor for a publish or event time in a topic partition.

Attributes

  • partition (type: String.t, default: nil) - Required. The partition for which we should compute the cursor.
  • target (type: GoogleApi.PubSubLite.V1.Model.TimeTarget.t, default: nil) - Required. The target publish or event time. Specifying a future time will return an unset cursor.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSubLite.V1.Model.ComputeTimeCursorRequest{
  partition: String.t() | nil,
  target: GoogleApi.PubSubLite.V1.Model.TimeTarget.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.