我试图在澳大利亚地区创建我的作曲家环境。但我不断收到以下错误:
" INVALID_ARGUMENT:意外地点:澳大利亚 - 东南1"
使用以下命令:
// Type assertion on call
type OnViewFood = ((food: Fruit) => void) | ((food: Vegetable) => void);
let viewFruit: OnViewFood = (fruit: Fruit) => `This is ${fruit}`;
(viewFruit as any as ((food: Vegetable) => void))(Vegetable.Cucumber);
// Type assertion on declaration
type OnViewFood = (food: Food) => void
let viewFruit: OnViewFood = ((fruit: Fruit) => `This is ${fruit}`) as (food: Food) => void;
viewFruit(Vegetable.Cucumber);
在美国展开它可以正常工作。
对于我在某个地方的文档中错过的Composer可能会旋转的区域是否存在限制?
答案 0 :(得分:2)
是的,location
可能只设置为us-central1
或europe-west1
。现在只支持这两个。