Method: projects.locations.indexEndpoints.create

建立 IndexEndpoint。

HTTP 要求

POST https://visionai.googleapis.com/v1/{parent=projects/*/locations/*}/indexEndpoints

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

路徑參數

參數
parent

string

這是必要旗標,格式:projects/{project}/locations/{location}

查詢參數

參數
indexEndpointId

string

(非必要) 用於 IndexEndpoint 的 ID,如果使用者指定此 ID,就會成為 IndexEndpoint 資源名稱的最終元件。否則,系統會自動產生 IndexEndpoint ID。

這個值的長度應為 63 個半形字元,有效字元為 a-z、0-9 和連字號 (-)。第一個字元必須是英文字母,最後一個字元則須為英文字母或數字。

要求主體

要求主體包含 IndexEndpoint 的執行個體。

回應主體

如果成功,回應主體會包含新建立的 Operation 執行個體。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱驗證總覽一文。

IAM 權限

需要在 parent 資源上具備下列 IAM 權限:

  • visionai.indexEndpoints.create

詳情請參閱 身分與存取權管理說明文件