Class TimeTarget
A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor.
Implements
Inherited Members
Namespace: Google.Apis.PubsubLite.v1.Data
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class TimeTarget : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EventTime
object representation of EventTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EventTimeDateTimeOffset instead.")]
public virtual object EventTime { get; set; }
Property Value
Type | Description |
---|---|
object |
EventTimeDateTimeOffset
DateTimeOffset representation of EventTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EventTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
EventTimeRaw
Request the cursor of the first message with event time greater than or equal to event_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 than event_time
and should be filtered by the client, if
necessary.
Declaration
[JsonProperty("eventTime")]
public virtual string EventTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
PublishTime
object representation of PublishTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use PublishTimeDateTimeOffset instead.")]
public virtual object PublishTime { get; set; }
Property Value
Type | Description |
---|---|
object |
PublishTimeDateTimeOffset
DateTimeOffset representation of PublishTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? PublishTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
PublishTimeRaw
Request the cursor of the first message with publish time greater than or equal to publish_time
. All
messages thereafter are guaranteed to have publish times >= publish_time
.
Declaration
[JsonProperty("publishTime")]
public virtual string PublishTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |