Managed Spark API, gRPC: JobService.ListLog
Returns a log for Spark job.
gRPC request
rpc ListLog (ListJobLogRequest) returns (ListJobLogResponse)
ListJobLogRequest
{
"cluster_id": "string",
"job_id": "string",
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
cluster_id |
string Required field. ID of the Spark cluster. The maximum string length in characters is 50. |
|
job_id |
string Required field. ID of the Spark job to return. The maximum string length in characters is 50. |
|
page_size |
int64 The maximum length of job output per papge that should be returned. The maximum value is 1048576. |
|
page_token |
string Page token. Set The maximum string length in characters is 200. |
ListJobLogResponse
{
"content": "string",
"next_page_token": "string"
}
|
Field |
Description |
|
content |
string Requested part of Spark Job log. |
|
next_page_token |
string This token allows you to get the next page of results for ListLog requests, The maximum string length in characters is 200. |