cursors
Creates, updates, deletes, gets or lists a cursors
resource.
Overview
Name | cursors |
Type | Resource |
Id | google.pubsublite.cursors |
Fields
Name | Datatype | Description |
---|---|---|
cursor | object | A cursor that describes the position of a message within a topic partition. |
partition | string | The partition this is for. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
cursor_projects_locations_subscriptions_cursors_list | SELECT | locationsId, projectsId, subscriptionsId | Returns all committed cursor information for a subscription. |
SELECT
examples
Returns all committed cursor information for a subscription.
SELECT
cursor,
partition
FROM google.pubsublite.cursors
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND subscriptionsId = '{{ subscriptionsId }}';