class Google::Apis::PubsubliteV1::ComputeHeadCursorResponse
Response containing the head cursor for the requested topic and partition.
Attributes
head_cursor[RW]
A cursor that describes the position of a message within a topic partition. Corresponds to the JSON property `headCursor` @return [Google::Apis::PubsubliteV1::Cursor]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsublite_v1/classes.rb, line 130 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 135 def update!(**args) @head_cursor = args[:head_cursor] if args.key?(:head_cursor) end