View Source GoogleApi.PubSubLite.V1.Model.TimeTarget (google_api_pub_sub_lite v0.9.0)
A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor.
Attributes
-
eventTime
(type:DateTime.t
, default:nil
) - Request the cursor of the first message with event time greater than or equal toevent_time
. If messages are missing an event time, the publish time is used as a fallback. As event times are user supplied, subsequent messages may have event times less thanevent_time
and should be filtered by the client, if necessary. -
publishTime
(type:DateTime.t
, default:nil
) - Request the cursor of the first message with publish time greater than or equal topublish_time
. All messages thereafter are guaranteed to have publish times >=publish_time
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.PubSubLite.V1.Model.TimeTarget{ eventTime: DateTime.t() | nil, publishTime: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.