You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating this crate! As I'm getting started, I'm noticing some errors / shortcomings in the documentation which I want to document here so it can be updated.
In READEME.md
The service account requires the permission devstorage.full_control
// create a new Bucket
let new_bucket = NewBucket { name: "mybucket", ..Default::default() }
let bucket = Bucket::create(new_bucket).await?;
// upload a file to our new bucket
let content = b"Your file is now on google cloud storage!";
bucket.upload(content, "folder/filename.txt", "application/text").await?;
no method named upload found for struct cloud_storage::Bucket
global-client -- This feature flag does not enable additional features.
However there are methods gated by this feature. Ex: Bucket::list
Missing permissions Bucket::read requires the storage.buckets.get permission which is not mentioned in the README. This permission is not included in the Service Account Token Creator or Storage Object Admin roles.
The text was updated successfully, but these errors were encountered:
Thanks for creating this crate! As I'm getting started, I'm noticing some errors / shortcomings in the documentation which I want to document here so it can be updated.
In READEME.md
It doesn't look like this is a valid permission anymore.
In READEME.md
Example
no method named
upload
found for structcloud_storage::Bucket
In the features section of docs.rs
However there are methods gated by this feature. Ex: Bucket::list
Missing permissions
Bucket::read
requires thestorage.buckets.get
permission which is not mentioned in the README. This permission is not included in theService Account Token Creator
orStorage Object Admin
roles.The text was updated successfully, but these errors were encountered: