Google 语音 API - POST URL 中的“位置”是什么?

Google Speech API - what is `locations` in the POST URL?

根据 Google Speech Custom 类 的文档,URL 采用 locations 参数,如下所述:

https://cloud.google.com/speech-to-text/docs/reference/rest/v1p1beta1/projects.locations.customClasses/create

我假设的projects参数只是我Google云帐户上的项目名称,但locations是什么,我在哪里可以得到它?

原则是在当地有特殊规定的情况下,能够定位到你的数据。

然而,global用于所有示例。我尝试将 anything 放在该位置,并且 anything 是一个有效位置...不确定此参数在预览中是否处于活动状态。

暂时使用global,更安全,更符合未来。并等待 GA 中的 API 获取官方列表和已实现的功能。