sparse-carpet-6378302/04/2022, 5:47 PM
prehistoric-activity-6102302/05/2022, 9:54 AM
gcp.storage.BucketObject( "empty-folder", bucket=my_bucket_name, name='example_folder/', content='IT-DOES-NOT-MATTER', )
field is required but it will be ignored in case object has trailing slash in name. Just a reminder, GCS (and basically most of object storage solutions) uses a flat filesystem. That means, you don’t have to actually create empty folders in order to store things within them. You can directly upload file
and it will “create” parent directories automatically (cause in fact, it’s just a long name with slashes and not a real tree-like structure).
green-school-9591002/07/2022, 11:12 AM
somewhere including the empty folder if I'm not mistaken
sparse-carpet-6378302/07/2022, 7:06 PM