Class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeTimeCursorRequest
Compute the corresponding cursor for a publish or event time in a topic partition.
Inheritance
TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeTimeCursorRequest
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class TopicStatsResource.ProjectsResource.LocationsResource.TopicsResource.ComputeTimeCursorRequest : PubsubLiteBaseServiceRequest<ComputeTimeCursorResponse>, IClientServiceRequest<ComputeTimeCursorResponse>, IClientServiceRequest
Constructors
ComputeTimeCursorRequest(IClientService, ComputeTimeCursorRequest, string)
Constructs a new ComputeTimeCursor request.
Declaration
public ComputeTimeCursorRequest(IClientService service, ComputeTimeCursorRequest body, string topic)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ComputeTimeCursorRequest | 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.ComputeTimeCursorResponse>.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.ComputeTimeCursorResponse>.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.ComputeTimeCursorResponse>.RestPath
Topic
Required. The topic for which we should compute the 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.ComputeTimeCursorResponse>.GetBody()
InitParameters()
Initializes ComputeTimeCursor parameter list.
Declaration
protected override void InitParameters()