Method: projects.locations.collections.engines.list

列出与项目关联的所有 Engine

HTTP 请求

GET https://discoveryengine.googleapis.com/v1beta/{parent=projects/*/locations/*/collections/*}/engines

网址采用 gRPC 转码语法。

路径参数

参数
parent

string

必需。父级资源名称,例如 projects/{project}/locations/{location}/collections/{collectionId}

查询参数

参数
pageSize

integer

可选。不受支持。

pageToken

string

可选。不受支持。

filter

string

可选。按解决方案类型过滤。例如:solutionType=SOLUTION_TYPE_SEARCH

请求正文

请求正文必须为空。

响应正文

EngineService.ListEngines 方法的响应消息。

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "engines": [
    {
      object (Engine)
    }
  ],
  "nextPageToken": string
}
字段
engines[]

object (Engine)

客户的所有 Engine

nextPageToken

string

不受支持。

授权范围

需要以下 OAuth 范围之一:

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

如需了解详情,请参阅 Authentication Overview

IAM 权限

需要拥有 parent 资源的以下 IAM 权限:

  • discoveryengine.engines.list

如需了解详情,请参阅 IAM 文档