Class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeHeadCursorRequest
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.
Inheritance
TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeHeadCursorRequest
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeHeadCursorRequest : PubsubLiteBaseServiceRequest<ComputeHeadCursorResponse>, IClientServiceRequest<ComputeHeadCursorResponse>, IClientServiceRequest
Constructors
ComputeHeadCursorRequest(IClientService, ComputeHeadCursorRequest, string)
Constructs a new ComputeHeadCursor request.
Declaration
public ComputeHeadCursorRequest(IClientService service, ComputeHeadCursorRequest body, string topic)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ComputeHeadCursorRequest | body | |
string | topic |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeHeadCursorResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeHeadCursorResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeHeadCursorResponse>.RestPath
Topic
Required. The topic for which we should compute the head cursor.
Declaration
[RequestParameter("topic", RequestParameterType.Path)]
public virtual string Topic { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.ComputeHeadCursorResponse>.GetBody()
InitParameters()
Initializes ComputeHeadCursor parameter list.
Declaration
protected override void InitParameters()