-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Storage Bucket - Symfony 5 #226
Labels
Comments
This seems to be a documentation issue. Let me check. |
thanks, 👍 |
try this: services:
acme.google_storage_client:
class: Google\Cloud\Storage\StorageClient
arguments:
- projectId: "your-project-id"
keyFilePath: '/path/to/service-account.json' # optional
acme.google_storage_bucket:
class: Google\Cloud\Storage\Bucket
factory: ['@acme.google_storage_client', 'bucket']
arguments:
- 'your-bucket-name' Does this work in your case? |
yes, auto wiring is working now. cheers |
bytehead
added a commit
that referenced
this issue
Jan 15, 2021
I've updated the documentation 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Following documentation to integrate with Google Storage Bucket, everything is ok but i am unable to register filesystem Please see below.
acme.google_storage_client:
class: Google\Cloud\Storage\StorageClient
arguments:
- projectId: "xxxxxxxx"
keyFilePath: '../xxxxxx.json' # optional
Error:
Invalid service "acme.google_storage_bucket": function "acme.google_storage_client:bucket" does not exist.
The text was updated successfully, but these errors were encountered: