-
Notifications
You must be signed in to change notification settings - Fork 2k
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
can not connect google @ google-cloud / storage to the project. #385
Comments
Delete a single file in a bucket Delete all files in a bucket: const Storage = require('@google-cloud/storage');
// Instantiates a client
const storageClient = Storage({ projectId: 'example-example7' });
// References an existing bucket, e.g. "my-bucket"
const bucket = storageClient.bucket('my-bucket');
// Deletes all files in the bucket
bucket.deleteFiles()
.then(() => {
console.log('All files deleted.');
})
.catch((err) => {
console.error('ERROR:', err);
}); |
Closing due to staleness; @alexsanderkhitev feel free to reopen if you're still having trouble. Thanks! |
yoshi-automation
added
triage me
I really want to be triaged.
🚨
This issue needs some love.
labels
Apr 6, 2020
ahrarmonsur
pushed a commit
that referenced
this issue
Nov 8, 2022
First attempt did not work out. Console output wasn't captured in the logs because `execSync` threw. Hoping it's better this time 🤞
ace-n
pushed a commit
that referenced
this issue
Nov 10, 2022
First attempt did not work out. Console output wasn't captured in the logs because `execSync` threw. Hoping it's better this time 🤞
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
ace-n
pushed a commit
that referenced
this issue
Nov 17, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! I tried to connect google cloud storage to the project as follows.
I wrote the following code in index.js
When I open this file through the Visual Studio Code, and when I try to interact with the storage client, nothing happens. My case is the following, I need to delete photos of user cards from Firebase Storage when it deleted my account. Please tell me how it can be done?
The text was updated successfully, but these errors were encountered: