code: def from_global_config(global_config):
      regions: Set[str] = set(
          json.loads(global_config["batch_gcp_regions"])
      )
      region = global_config["gcp_region"]
      regions.add(region)
      return GCPConfig(
          global_config["gcp_project"],
          region,
          global_config["gcp_zone"],
          regions,
      )
  
file_path: hail/gear/gear/cloud_config.py
imports: import json
  import os
  from typing import Dict, Set
label_desc: Use image node_id 1 for calling the GCPConfig obj's underlying member method code with example usage: obj.from_global_config(global_config) and returns: GCPConfig