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 文档