class_docstr: GCP Environment.
  
  Attributes:
      region: The GCP region.
class_docstr_tok: ["GCP","Environment",".","Attributes",":","region",":","The","GCP","region","."]
docstr: Initialize the GCP environment.
  
  Arguments:
      region: The GCP region.
      verify: Whether to verify the credentials, region, and project.
  
  Raises:
      LaunchError: If verify is True and the environment is not properly
          configured.
docstr_tok: ["Initialize","the","GCP","environment",".","Arguments",":","region",":","The","GCP","region",".","verify",":","Whether","to","verify","the","credentials",",","region",",","and","project",".","Raises",":","LaunchError",":","If","verify","is","True","and","the","environment","is","not","properly","configured","."]
code: def __init__(
      self,
      region: str,
  ) -> None:
      """Initialize the GCP environment.
  
      Arguments:
          region: The GCP region.
          verify: Whether to verify the credentials, region, and project.
  
      Raises:
          LaunchError: If verify is True and the environment is not properly
              configured.
      """
      super().__init__()
      _logger.info(f"Initializing GcpEnvironment in region {region}")
      self.region: str = region
      self._project = ""
  
file_path: wandb/wandb/sdk/launch/environment/gcp_environment.py
imports: import logging
  import os
  import subprocess
  from typing import Optional
  from wandb.sdk.launch.errors import LaunchError
  from wandb.util import get_module
  from ..utils import GCS_URI_RE, event_loop_thread_exec
  from .abstract import AbstractEnvironment
label_desc: Use image node_id 1 to create a new GcpEnvironment object from inherited base classes: AbstractEnvironment with example: obj = GcpEnvironment(region)