code: def _create_bucket_gcp(project_name: str, bucket_name: str):
      """
      Creates a bucket on Google Cloud Platform if it does not exists already
  
      Example
      -------
      >>> _create_bucket_gcp(project_name='GCP-Essentials', bucket_name='test-pycaret-gcp')
  
      Parameters
      ----------
      project_name : str
          A Project name on GCP Platform (Must have been created from console).
  
      bucket_name : str
          Name of the storage bucket to be created if does not exists already.
  
      Returns
      -------
      None
      """
  
      logger = get_logger()
  
      # bucket_name = "your-new-bucket-name"
      import google.auth.exceptions
      from google.cloud import storage
  
      try:
          storage_client = storage.Client(project_name)
      except google.auth.exceptions.DefaultCredentialsError:
          logger.error(
              "Environment variable GOOGLE_APPLICATION_CREDENTIALS not set. For more information,"
              " please see https://cloud.google.com/docs/authentication/getting-started"
          )
          raise ValueError(
              "Environment variable GOOGLE_APPLICATION_CREDENTIALS not set. For more information,"
              " please see https://cloud.google.com/docs/authentication/getting-started"
          )
  
      buckets = storage_client.list_buckets()
  
      if bucket_name not in buckets:
          bucket = storage_client.create_bucket(bucket_name)
          logger.info("Bucket {} created".format(bucket.name))
      else:
          raise FileExistsError("{} already exists".format(bucket_name))
  
file_path: pycaret/pycaret/internal/persistence.py
imports: import gc
  import os
  from typing import Dict, Optional
  import joblib
  from sklearn.pipeline import Pipeline
  from pycaret.utils._dependencies import _check_soft_dependencies
  from pycaret.utils.generic import MLUsecase, get_logger
label_desc: Use image node_id 4 for calling a global function with example usage: _create_bucket_gcp(project_name, bucket_name) without return types