code: def convert_job_id(
      job_id: str | list[str], project_id: str, location: str | None
  ) -> Any:
      """
      Helper method that converts to path: project_id:location:job_id.
  
      :param project_id: Required. The ID of the Google Cloud project where workspace located.
      :param location: Optional. The ID of the Google Cloud region where workspace located.
      :param job_id: Required. The ID of the job.
      :return: str or list[str] of project_id:location:job_id.
      """
      location = location or "US"
      if isinstance(job_id, list):
          return [f"{project_id}:{location}:{i}" for i in job_id]
      else:
          return f"{project_id}:{location}:{job_id}"
  
imports: from __future__ import annotations
  from typing import Any
label_desc: Use image node_id 2 for calling a global function with example usage: convert_job_id(job_id, project_id, location) and returns: unknown, project_id, str, location, str, job_id