code: def get_version() -> Tuple[int, int, int]:
      """Get gcloud version as a tuple."""
      version_output = (
          subprocess.check_output(
              ["gcloud", "version", "--format=json"],
              stderr=subprocess.DEVNULL,
          )
          .decode()
          .strip()
      )
      version_info = json.loads(version_output)
      v = version_info["Google Cloud SDK"].split(".")
      version = (int(v[0]), int(v[1]), int(v[2]))
      return version
  
imports: from typing import Tuple, List, Optional
  import json
  import subprocess
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: get_version() and returns: version