【问题标题】:Google Speech API - what is `locations` in the POST URL?Google Speech API - POST URL 中的“位置”是什么?
【发布时间】:2021-04-11 16:34:07
【问题描述】:

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

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

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

【问题讨论】:

    标签: google-cloud-platform google-speech-api


    【解决方案1】:

    原则是在特定地方法规的情况下能够定位您的数据。

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-04-25
      • 1970-01-01
      • 2016-12-06
      • 1970-01-01
      • 2015-12-07
      • 1970-01-01
      • 2016-10-12
      相关资源
      最近更新 更多