code: def _gcr_list_tags(project_id: str, image_id: str):
      """Returns a sequence of metadata for all tags of the supplied image_id in the
      supplied project.
  
      """
      image_tag = _image_tag_for_project(
          project_id, image_id, include_tag=False
      )
      cmd = [
          "gcloud",
          "container",
          "images",
          "list-tags",
          f"--project={project_id}",
          "--format=json",
          image_tag,
      ]
      return json.loads(subprocess.check_output(cmd))
  
imports: import json
  import subprocess
  from absl import logging
label_desc: Use image node_id 2 for calling a global function with example usage: _gcr_list_tags(project_id, image_id) and returns: json