code: def get_image_id(cuda: bool) -> str:
      if not cuda:
          image_name = f"dstack-{version.base_image}"
      else:
          image_name = f"dstack-cuda-{version.base_image}"
      image_name = image_name.replace(".", "-")
  
      return f"projects/dstack/global/images/{image_name}"
  
file_path: dstack/src/dstack/_internal/core/backends/gcp/resources.py
imports: from typing import Dict, List, Optional
  import google.api_core.exceptions
  import google.cloud.compute_v1
  from google.api_core.extended_operation import ExtendedOperation
  import dstack.version
  from dstack._internal.core.models.instances import Gpu
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 2 for calling a global function with example usage: get_image_id(cuda) and returns: str, image_name