Class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource
The "topics" collection of methods.
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource
Constructors
TopicsResource(IClientService)
Constructs a new resource.
Declaration
public TopicsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
ComputeHeadCursor(ComputeHeadCursorRequest, string)
Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.
Declaration
public virtual TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeHeadCursorRequest ComputeHeadCursor(ComputeHeadCursorRequest body, string topic)
Parameters
Type | Name | Description |
---|---|---|
ComputeHeadCursorRequest | body | The body of the request. |
string | topic | Required. The topic for which we should compute the head cursor. |
Returns
Type | Description |
---|---|
TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeHeadCursorRequest |
ComputeMessageStats(ComputeMessageStatsRequest, string)
Compute statistics about a range of messages in a given topic and partition.
Declaration
public virtual TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeMessageStatsRequest ComputeMessageStats(ComputeMessageStatsRequest body, string topic)
Parameters
Type | Name | Description |
---|---|---|
ComputeMessageStatsRequest | body | The body of the request. |
string | topic | Required. The topic for which we should compute message stats. |
Returns
Type | Description |
---|---|
TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeMessageStatsRequest |
ComputeTimeCursor(ComputeTimeCursorRequest, string)
Compute the corresponding cursor for a publish or event time in a topic partition.
Declaration
public virtual TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeTimeCursorRequest ComputeTimeCursor(ComputeTimeCursorRequest body, string topic)
Parameters
Type | Name | Description |
---|---|---|
ComputeTimeCursorRequest | body | The body of the request. |
string | topic | Required. The topic for which we should compute the cursor. |
Returns
Type | Description |
---|---|
TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeTimeCursorRequest |