Show / Hide Table of Contents

Class TasksResource.DeleteRequest

Deletes the specified task from the task list. If the task is assigned, both the assigned task and the original task (in Docs, Chat Spaces) are deleted. To delete the assigned task only, navigate to the assignment surface and unassign the task from there.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<string>
TasksBaseServiceRequest<string>
TasksResource.DeleteRequest
Implements
IClientServiceRequest<string>
IClientServiceRequest
Inherited Members
TasksBaseServiceRequest<string>.Xgafv
TasksBaseServiceRequest<string>.AccessToken
TasksBaseServiceRequest<string>.Alt
TasksBaseServiceRequest<string>.Callback
TasksBaseServiceRequest<string>.Fields
TasksBaseServiceRequest<string>.Key
TasksBaseServiceRequest<string>.OauthToken
TasksBaseServiceRequest<string>.PrettyPrint
TasksBaseServiceRequest<string>.QuotaUser
TasksBaseServiceRequest<string>.UploadType
TasksBaseServiceRequest<string>.UploadProtocol
ClientServiceRequest<string>.Execute()
ClientServiceRequest<string>.ExecuteAsStream()
ClientServiceRequest<string>.ExecuteAsync()
ClientServiceRequest<string>.ExecuteAsync(CancellationToken)
ClientServiceRequest<string>.ExecuteAsStreamAsync()
ClientServiceRequest<string>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<string>.CreateRequest(bool?)
ClientServiceRequest<string>.GenerateRequestUri()
ClientServiceRequest<string>.GetBody()
ClientServiceRequest<string>.GetDefaultETagAction(string)
ClientServiceRequest<string>.ETagAction
ClientServiceRequest<string>.ModifyRequest
ClientServiceRequest<string>.ValidateParameters
ClientServiceRequest<string>.ApiVersion
ClientServiceRequest<string>.RequestParameters
ClientServiceRequest<string>.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.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasksResource.DeleteRequest : TasksBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, string, string)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string tasklist, string task)
Parameters
Type Name Description
IClientService service
string tasklist
string task

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

RestPath

Gets the REST path.

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

Task

Task identifier.

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

Tasklist

Task list identifier.

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

Methods

InitParameters()

Initializes Delete parameter list.

Declaration
protected override void InitParameters()
Overrides
TasksBaseServiceRequest<string>.InitParameters()

Implements

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