sinergym.utils.gcloud.upload_to_bucket

sinergym.utils.gcloud.upload_to_bucket(client: google.cloud.storage.Client, src_path: str, dest_bucket_name: str, dest_path: str)

Upload a file or a directory (recursively) from local file system to specified bucket.

Parameters:
  • client (storage.Client) – Google Cloud storage client object to ask resources.

  • src_path (str) – Path to the local file or directory you want to send

  • dest_bucket_name (str) – Destination bucket name

  • dest_path (str) – Path where you want to store data inner the bucket