code: def handle_list(args: argparse.Namespace) -> Any:
      if (
          hasattr(args, "tf_state_gcs_bucket_name")
          and args.tf_state_gcs_bucket_name
      ):
          bucket_name = args.tf_state_gcs_bucket_name
      else:
          bucket_name = args.project_id + "-determined-deploy"
  
      if args.json:
          return gcp.list_clusters(bucket_name, args.project_id, "json")
      elif args.yaml:
          return gcp.list_clusters(bucket_name, args.project_id, "yaml")
      else:
          return gcp.list_clusters(bucket_name, args.project_id)
  
file_path: determined/harness/determined/deploy/gcp/cli.py
imports: import argparse
  import os
  import sys
  from pathlib import Path
  from typing import Any, Callable, Tuple
  import pkg_resources
  from termcolor import colored
  import determined.deploy
  from determined.cli.errors import CliError
  from determined.common.declarative_argparse import Arg, ArgGroup, Cmd, Group, string_to_bool
  from determined.deploy.errors import MasterTimeoutExpired
  from determined.deploy.gcp import constants, gcp
label_desc: Use image node_id 3 for calling a global function with example usage: handle_list(args) and returns: gcp, gcp, gcp