- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacyPublisher.legacyUpdateTask
Legacy endpoint for updating task status.
HTTP request
Path parameters
| Parameters | |
|---|---|
| instance | 
 Required. The instance of the legacy publisher. Format: projects/{project}/locations/{location}/instances/{instance}/legacyPublisher | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "task_id": integer, "status": string, "results": string } | 
| Fields | |
|---|---|
| task_id | 
 Required. The id of the task. | 
| status | 
 Optional. The new status of the task. | 
| results | 
 Optional. The results of the task. | 
Response body
Response message for legacyPublisher.legacyUpdateTask.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "task": {
    object ( | 
| Fields | |
|---|---|
| task | 
 The updated task. | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the instance resource:
- chronicle.legacyPublisher.update
For more information, see the IAM documentation.