Method: selection.v1.projects.selectedRoutes.batchDelete

刪除指定專案的多個 SelectedRoute 資源。

HTTP 要求

POST https://roads.googleapis.com/selection/v1/{parent=projects/*}/selectedRoutes:batchDelete

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

路徑參數

參數
parent

string

必填。所有選取要刪除的路徑共用的專案資源。這是必要條件,因為批次要求僅支援單一 parent。格式:projects/{project}

要求主體

要求主體會包含結構如下的資料:

JSON 表示法
{
  "names": [
    string
  ]
}
欄位
names[]

string

必填。要刪除的所選路線名稱。最多可一次刪除 1,000 條選取的路線。格式:projects/{project}/selectedRoutes/{selectedRoute}

回應主體

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

授權範圍

需要下列 OAuth 範圍:

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

IAM 權限

需要 parent 資源的下列 IAM 權限:

  • roads.selectedRoutes.batchDelete

詳情請參閱 IAM 說明文件