Method: projects.locations.notebooks.sources.batchDelete

刪除多個來源

HTTP 要求

POST https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/notebooks/*}/sources:batchDelete

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

路徑參數

參數
parent

string

這是必要旗標,要刪除來源的父項資源。格式:projects/{project}/locations/{location}/notebooks/{notebook}

要求主體

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

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

string

這是必要旗標,要刪除的來源名稱。格式:projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source}

回應主體

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

授權範圍

需要下列其中一種 OAuth 範圍:

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

詳情請參閱Authentication Overview

IAM 權限

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

  • discoveryengine.sources.delete

詳情請參閱 IAM 說明文件