Method: legacyPublisher.legacyUpdateTaskResult

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

Legacy endpoint for updating a task result.

HTTP request


* Upload URI, for media upload requests:
POST https://chronicle.africa-south1.rep.googleapis.com/upload/v1alpha/{instance}/legacyPublisher:legacyUpdateTaskResult * Metadata URI, for metadata-only requests:
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPublisher:legacyUpdateTaskResult

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
{
  "media": {
    object (Media)
  },
  "mediaInfo": {
    object (MediaRequestInfo)
  },
  "task_id": string
}
Fields
media

object (Media)

Required. The media object to be uploaded containing the task result.

mediaInfo

object (MediaRequestInfo)

Required. The media request info.

task_id

string (int64 format)

Optional. The task id to update the result for.

Response body

Response message for legacyPublisher.legacyUpdateTaskResult.

If successful, the response body contains data with the following structure:

JSON representation
{
  "mediaInfo": {
    object (MediaResponseInfo)
  }
}
Fields
mediaInfo

object (MediaResponseInfo)

Required. Scotty properties (won't be visible in exposed API)

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.