class Google::Apis::PubsubliteV1::ComputeTimeCursorResponse

Response containing the cursor corresponding to a publish or event time in a topic partition.

Attributes

cursor[RW]

A cursor that describes the position of a message within a topic partition. Corresponds to the JSON property `cursor` @return [Google::Apis::PubsubliteV1::Cursor]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsublite_v1/classes.rb, line 249
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/pubsublite_v1/classes.rb, line 254
def update!(**args)
  @cursor = args[:cursor] if args.key?(:cursor)
end