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.
249 250 251 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 249 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
247 248 249 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 247 def cursor @cursor end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
254 255 256 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 254 def update!(**args) @cursor = args[:cursor] if args.key?(:cursor) end |