Method: legacyPublisher.legacyUpdateTask

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

string

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

integer

Required. The id of the task.

status

string

Optional. The new status of the task.

results

string

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 (LegacyTask)
  }
}
Fields
task

object (LegacyTask)

The updated 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 instance resource:

  • chronicle.legacyPublisher.update

For more information, see the IAM documentation.