Class: Google::Apis::PubsubliteV1::ComputeTimeCursorResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::ComputeTimeCursorResponse
- 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
Response containing the cursor corresponding to a publish or event time in a topic partition.
Instance Attribute Summary collapse
-
#cursor ⇒ Google::Apis::PubsubliteV1::Cursor
A cursor that describes the position of a message within a topic partition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComputeTimeCursorResponse
constructor
A new instance of ComputeTimeCursorResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComputeTimeCursorResponse
Returns a new instance of ComputeTimeCursorResponse.
236 237 238 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cursor ⇒ Google::Apis::PubsubliteV1::Cursor
A cursor that describes the position of a message within a topic partition.
Corresponds to the JSON property cursor
234 235 236 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 234 def cursor @cursor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
241 242 243 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 241 def update!(**args) @cursor = args[:cursor] if args.key?(:cursor) end |