17.34. Jobs ReadLogs RPC¶
Requests that logs for a job operator be downloaded.
rpc ReadLogs(JobsReadLogsRequest) returns (stream JobsReadLogsResponse);
17.34.1. Messages¶
JobsReadLogsRequest
JobsReadLogsResponse
17.35. JobsReadLogsRequest¶
message JobsReadLogsRequest { RequestHeader header = 1; Identifier job_id = 2; string operator_name = 3; }
17.35.1. Properties¶
17.35.1.2. job_id¶
type: message
A unique identifier of the job for which the operator logs are requested
Required value: If the identifier value is omitted from the request or does not match any known pipeline identifier, Clara Deploy SDK will be unable to fulfill the request.
See Identifier for details.
17.35.1.3. operator_name¶
type: string
Unique name (within the job) of the operator logs are requested for.
Required value: If the operator name is omitted from the request or does not match any known operator name in the job, Clara Deploy SDK will be unable to fulfill the request.
17.36. JobsReadLogsResponse¶
message JobsReadLogsResponse { ResponseHeader header = 1; Identifier job_id = 2; string operator_name = 3; repeated string logs = 4; }
The Clara Deploy SDK Jobs service will respond to any read-logs request with a
JobsReadLogsResponse
message. Requestors can use the response message to
determine the result of their request.
17.36.1. Properties¶
17.36.1.2. job_id¶
type: message
Unique identifier of the job associated with the requested logs.
See Identifier for details.
17.36.1.3. operator_name¶
type: string
Unique name (within the job) of the operator associated with the requested logs.