Method: legacyPublisher.legacyUpdateTask

Full name: projects.locations.instances.legacyPublisher.legacyUpdateTask

Legacy endpoint for updating task status.

HTTP request


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 the following OAuth scope:

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

For more information, see the Authentication Overview.