error

public abstract Optional<JobError> error()

Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.