我正在try 使用命令firebase deploy --only functions
部署FiRestore第二代功能,但收到错误:
There was an issue deploying your functions. Verify that your project has a Google App Engine instance setup at https://console.cloud.google.com/appengine and try again. If this issue persists, please contact support.
⚠ functions: Upload Error: HTTP Error: 400, Could not create bucket gcf-v2-uploads-758827227995-us-central1. 'us-central1' violates constraint 'constraints/gcp.resourceLocations'
Error: HTTP Error: 400, Could not create bucket gcf-v2-uploads-758827227995-us-central1. 'us-central1' violates constraint 'constraints/gcp.resourceLocations'
根据[文件](https://firebase.google.com/docs/functions/locations#best_practices_for_changing_region),只需使用:
exports.myStorageFunction = functions
.region('europe-west1')
.storage
.object()
.onFinalize((object) => {
// ...
});
我怎样才能用Python语言呢?我的函数是用Python语言编写的.