topics_partitions
Creates, updates, deletes, gets or lists a topics_partitions
resource.
Overview
Name | topics_partitions |
Type | Resource |
Id | google.pubsublite.topics_partitions |
Fields
Name | Datatype | Description |
---|---|---|
partitionCount | string | The number of partitions in the topic. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
admin_projects_locations_topics_get_partitions | SELECT | locationsId, projectsId, topicsId | Returns the partition information for the requested topic. |
SELECT
examples
Returns the partition information for the requested topic.
SELECT
partitionCount
FROM google.pubsublite.topics_partitions
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND topicsId = '{{ topicsId }}';