v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1362267343.4 KB
projects

Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.

get/v1/{+name}:searchStageAttemptTasks

Path parameters

namestring required

Required. The fully qualified name of the session to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID"

Query parameters

pageSizeinteger

Optional. Maximum number of tasks to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.

pageTokenstring

Optional. A page token received from a previous SearchSessionSparkApplicationStageAttemptTasks call. Provide this token to retrieve the subsequent page.

parentstring

Required. Parent (Session) resource reference.

sortRuntimeboolean

Optional. Sort the tasks by runtime.

stageAttemptIdinteger

Optional. Stage Attempt ID

stageIdstring

Optional. Stage ID

taskStatus'TASK_STATUS_UNSPECIFIED' | 'TASK_STATUS_RUNNING' | 'TASK_STATUS_SUCCESS' | 'TASK_STATUS_FAILED' | 'TASK_STATUS_KILLED' | 'TASK_STATUS_PENDING'

Optional. List only tasks in the state.

Response

Successful response