Method: legacySdk.legacyGetFailedJobs

Full name: projects.locations.instances.legacySdk.legacyGetFailedJobs

Legacy RPC for getting failed jobs.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetFailedJobs request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:getFailedJobs

Query parameters

Parameters
numberOfHours

integer

Required. The number of hours to get the failed jobs for.

Request body

The request body must be empty.

Response body

The GetFailedJobsResponse message.

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

JSON representation
{
  "payload": [
    {
      object (ApiJobHistory)
    }
  ]
}
Fields
payload[]

object (ApiJobHistory)

The failed jobs.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.