sinergym.utils.gcloud.upload_to_bucket

sinergym.utils.gcloud.upload_to_bucket(client, src_path, dest_bucket_name, dest_path)

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

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

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

  • dest_bucket_name – Destination bucket name

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