Class TasksResource.UpdateRequest
Updates the specified task.
Inheritance
TasksResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasksResource.UpdateRequest : TasksBaseServiceRequest<Task>, IClientServiceRequest<Task>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Task, string, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Task body, string tasklist, string task)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Task | body | |
string | tasklist | |
string | task |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Update parameter list.
Declaration
protected override void InitParameters()