Method: tasks.patch

Full name: projects.locations.instances.tasks.patch

Updates an existing Task. Use this method to modify a task's title, content, assignee, or status (e.g., marking it as completed).

HTTP request

PATCH https://{endpoint}/v1/{task.name}

Where {endpoint} is one of the supported service endpoints .

Path parameters

Parameters
task.name

string

Identifier. The unique name(ID) of the task. Format: projects/{project}/locations/{location}/instances/{instance}/tasks/{task}

Query parameters

Parameters
updateMask

string ( FieldMask format)

Optional. The list of fields to update. If not included, all fields with a non-empty value will be overwritten.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .

Request body

The request body contains an instance of Task .

Response body

If successful, the response body contains an instance of Task .

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle
  • https://www.googleapis.com/auth/chronicle.readonly

For more information, see the Authentication Overview .

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.tasks.update

For more information, see the IAM documentation .

Create a Mobile Website
View Site in Mobile | Classic
Share by: