Closed vladimirdotk closed 6 years ago
If you use this example:
acme.google_storage_bucket: class: Google\Cloud\Storage\Bucket factory: 'acme.google_storage_client:bucket' arguments: name: 'your-bucket-name'
than name string will be added to url, so it will look like this: https://storage.googleapis.com/storage/v1/b/name,your-bucket-name/o/file.txt
name
https://storage.googleapis.com/storage/v1/b/name,your-bucket-name/o/file.txt
That's why bucket part of config should look like this:
acme.google_storage_bucket: class: Google\Cloud\Storage\Bucket factory: 'acme.google_storage_client:bucket' arguments: - 'your-bucket-name'
Fixed in #171.
If you use this example:
than
name
string will be added to url, so it will look like this:https://storage.googleapis.com/storage/v1/b/name,your-bucket-name/o/file.txt
That's why bucket part of config should look like this: