async function callGetJob() {
    // Construct request
    const request = {
      name:
        `projects/${projectId}/locations/${region}/jobs/${jobName}` +
        `/taskGroups/${groupName}/tasks/${taskNumber}`,
    };

    // Run request
    const response = await batchClient.getTask(request);
    console.log(response);
  }
The number of the task you want to look up.