Full name: projects.locations.instances.legacyPublisher.legacyUpdateTask
Updates the execution status and results of an assigned task on a remote agent.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPublisher:legacyUpdateTask 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 one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
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.