class Google::Apis::PubsubliteV1::Cursor

A cursor that describes the position of a message within a topic partition.

Attributes

offset[RW]

The offset of a message within a topic partition. Must be greater than or equal 0. Corresponds to the JSON property `offset` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsublite_v1/classes.rb, line 269
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 274
def update!(**args)
  @offset = args[:offset] if args.key?(:offset)
end