code: def get_config(setting: str) -> Optional[str]:
      """Get a gcloud configuration value."""
      try:
          return (
              subprocess.check_output(
                  ["gcloud", "config", "get-value", setting],
                  stderr=subprocess.DEVNULL,
              )
              .decode()
              .strip()
          )
      except subprocess.CalledProcessError as e:
          print(
              f"Warning: could not run 'gcloud config get-value {setting}': {e.output.decode}",
              file=sys.stderr,
          )
          return None
  
imports: from typing import Tuple, List, Optional
  import json
  import subprocess
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: get_config(setting) and returns: subprocess, None