class Google::Apis::PubsubliteV1::SeekSubscriptionRequest

Request for SeekSubscription.

Attributes

named_target[RW]

Seek to a named position with respect to the message backlog. Corresponds to the JSON property `namedTarget` @return [String]

time_target[RW]

A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor. Corresponds to the JSON property `timeTarget` @return [Google::Apis::PubsubliteV1::TimeTarget]

Public Class Methods

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