Full name: projects.locations.instances.legacyPublisher.upload
Legacy endpoint for updating a task result.
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 |
---|
{ "media": { object ( |
Fields | |
---|---|
media |
Required. The media object to be uploaded containing the task result. |
mediaInfo |
Required. The media request info. |
task_id |
Optional. The task id to update the result for. |
Response body
Response message for legacyPublisher.upload.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"mediaInfo": {
object ( |
Fields | |
---|---|
mediaInfo |
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.