Class: Google::Apis::PubsubliteV1::SeekSubscriptionRequest
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::SeekSubscriptionRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/pubsublite_v1/classes.rb,
lib/google/apis/pubsublite_v1/representations.rb,
lib/google/apis/pubsublite_v1/representations.rb
Overview
Request for SeekSubscription.
Instance Attribute Summary collapse
-
#named_target ⇒ String
Seek to a named position with respect to the message backlog.
-
#time_target ⇒ Google::Apis::PubsubliteV1::TimeTarget
A target publish or event time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SeekSubscriptionRequest
constructor
A new instance of SeekSubscriptionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SeekSubscriptionRequest
Returns a new instance of SeekSubscriptionRequest.
826 827 828 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 826 def initialize(**args) update!(**args) end |
Instance Attribute Details
#named_target ⇒ String
Seek to a named position with respect to the message backlog.
Corresponds to the JSON property namedTarget
818 819 820 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 818 def named_target @named_target end |
#time_target ⇒ Google::Apis::PubsubliteV1::TimeTarget
A target publish or event time. Can be used for seeking to or retrieving the
corresponding cursor.
Corresponds to the JSON property timeTarget
824 825 826 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 824 def time_target @time_target end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
831 832 833 834 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 831 def update!(**args) @named_target = args[:named_target] if args.key?(:named_target) @time_target = args[:time_target] if args.key?(:time_target) end |