class Google::Apis::PubsubliteV1::ComputeHeadCursorRequest

Compute the current head cursor for a partition.

Attributes

partition[RW]

Required. The partition for which we should compute the head cursor. Corresponds to the JSON property `partition` @return [Fixnum]

Public Class Methods

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