code: def _delete_gs_fn(self, key: str, recursive: bool = False):
      if recursive:
          blobs = self.gs_client.list_blobs(
              self.bucket,
              prefix=key,
          )
          for blob in blobs:
              blob.delete()
      else:
          blob = self.gs_client.bucket(self.bucket).blob(key)
          blob.delete()
  
imports: import os
  import shutil
  import sys
  import tempfile
  from typing import Optional
  import boto3
  from google.cloud import storage
  from ray_release.aws import RELEASE_AWS_BUCKET
  from ray_release.cluster_manager.cluster_manager import ClusterManager
  from ray_release.exception import FileDownloadError, FileUploadError
  from ray_release.file_manager.file_manager import FileManager
  from ray_release.job_manager import JobManager
  from ray_release.logger import logger
  from ray_release.util import exponential_backoff_retry, generate_tmp_cloud_storage_path, S3_CLOUD_STORAGE, GS_CLOUD_STORAGE, GS_BUCKET
label_desc: Use image node_id 8 for calling the JobFileManager obj's underlying member method code with example usage: obj._delete_gs_fn(key, recursive) without return types