Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.QueuesResource.TasksResource.AcknowledgeRequest

Acknowledges a pull task. The worker, that is, the entity that leased this task must call this method to indicate that the work associated with the task has finished. The worker must acknowledge a task within the lease_duration or the lease will expire and the task will become available to be leased again. After the task is acknowledged, it will not be returned by a later LeaseTasks, GetTask, or ListTasks.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Empty>
CloudTasksBaseServiceRequest<Empty>
ProjectsResource.LocationsResource.QueuesResource.TasksResource.AcknowledgeRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
CloudTasksBaseServiceRequest<Empty>.Xgafv
CloudTasksBaseServiceRequest<Empty>.AccessToken
CloudTasksBaseServiceRequest<Empty>.Alt
CloudTasksBaseServiceRequest<Empty>.Callback
CloudTasksBaseServiceRequest<Empty>.Fields
CloudTasksBaseServiceRequest<Empty>.Key
CloudTasksBaseServiceRequest<Empty>.OauthToken
CloudTasksBaseServiceRequest<Empty>.PrettyPrint
CloudTasksBaseServiceRequest<Empty>.QuotaUser
CloudTasksBaseServiceRequest<Empty>.UploadType
CloudTasksBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(bool?)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetDefaultETagAction(string)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.ApiVersion
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudTasks.v2beta2
Assembly: Google.Apis.CloudTasks.v2beta2.dll
Syntax
public class ProjectsResource.LocationsResource.QueuesResource.TasksResource.AcknowledgeRequest : CloudTasksBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

AcknowledgeRequest(IClientService, AcknowledgeTaskRequest, string)

Constructs a new Acknowledge request.

Declaration
public AcknowledgeRequest(IClientService service, AcknowledgeTaskRequest body, string name)
Parameters
Type Name Description
IClientService service
AcknowledgeTaskRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.MethodName

Name

Required. The task name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Empty>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Empty>.GetBody()

InitParameters()

Initializes Acknowledge parameter list.

Declaration
protected override void InitParameters()
Overrides
CloudTasksBaseServiceRequest<Empty>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX