Method: projects.locations.customClasses.delete

刪除自訂類別。

HTTP 要求

DELETE https://speech.googleapis.com/v1p1beta1/{name=projects/*/locations/*/customClasses/*}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
name

string

這是必要旗標,要刪除的自訂類別名稱。格式:

projects/{project}/locations/{location}/customClasses/{customClass}

Speech-to-Text 支援三個位置:globalus (北美洲美國) 和 eu (歐洲)。如果您要呼叫 speech.googleapis.com 端點,請使用 global 位置。如要指定區域,請使用相符的 useu 位置值搭配區域端點

授權需要指定資源 name 的下列 IAM 權限:

  • speech.customClasses.delete

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會是空白的 JSON 物件。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

詳情請參閱Authentication Overview