code: def parse_gcp_project(beam_pipeline_args: List[str]) -> str:
      # Try to parse the GCP project ID from the beam pipeline options.
      pipeline_options = beam.options.pipeline_options.PipelineOptions(
          beam_pipeline_args
      )
      project = pipeline_options.view_as(
          beam.options.pipeline_options.GoogleCloudOptions
      ).project
      if isinstance(project, value_provider.ValueProvider):
          project = project.get()
      return project
  
file_path: tfx/tfx/extensions/google_cloud_big_query/utils.py
imports: from typing import Any, Dict, List, Optional
  import apache_beam
  from apache_beam.io.gcp import bigquery
  from apache_beam.options import value_provider
  import tensorflow
  from tfx.utils import telemetry_utils
label_desc: Use image node_id 3 for calling a global function with example usage: parse_gcp_project(beam_pipeline_args) and returns: project