Returns the cursors Resource.
Close httplib2 connections.
commitCursor(subscription, body=None, x__xgafv=None)
Updates the committed cursor.
close()
Close httplib2 connections.
commitCursor(subscription, body=None, x__xgafv=None)
Updates the committed cursor.
Args:
subscription: string, The subscription for which to update the cursor. (required)
body: object, The request body.
The object takes the form of:
{ # Request for CommitCursor.
"cursor": { # A cursor that describes the position of a message within a topic partition. # The new value for the committed cursor.
"offset": "A String", # The offset of a message within a topic partition. Must be greater than or equal 0.
},
"partition": "A String", # The partition for which to update the cursor. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response for CommitCursor.
}