Class CursorResource.ProjectsResource.LocationsResource.SubscriptionsResource.CommitCursorRequest
Updates the committed cursor.
Inheritance
CursorResource.ProjectsResource.LocationsResource.SubscriptionsResource.CommitCursorRequest
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class CursorResource.ProjectsResource.LocationsResource.SubscriptionsResource.CommitCursorRequest : PubsubLiteBaseServiceRequest<CommitCursorResponse>, IClientServiceRequest<CommitCursorResponse>, IClientServiceRequest
Constructors
CommitCursorRequest(IClientService, CommitCursorRequest, string)
Constructs a new CommitCursor request.
Declaration
public CommitCursorRequest(IClientService service, CommitCursorRequest body, string subscription)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CommitCursorRequest | body | |
string | subscription |
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.CommitCursorResponse>.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.CommitCursorResponse>.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.CommitCursorResponse>.RestPath
Subscription
The subscription for which to update the cursor.
Declaration
[RequestParameter("subscription", RequestParameterType.Path)]
public virtual string Subscription { 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.CommitCursorResponse>.GetBody()
InitParameters()
Initializes CommitCursor parameter list.
Declaration
protected override void InitParameters()