【发布时间】:2021-09-11 17:00:18
【问题描述】:
我想停止上传文件 这是我的代码:
const uploadFile = async ({ bucketName, filePath, destFileName }) => {
const storage = new Storage();
await storage.bucket(bucketName).upload(filePath, {
destination: destFileName,
});
};
【问题讨论】:
标签: javascript node.js google-cloud-platform google-cloud-functions google-cloud-storage