列出 Assistant 下的所有 CannedQuery。
HTTP 请求
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*/assistants/*}/cannedQueries
网址采用 gRPC 转码语法。
路径参数
| 参数 | |
|---|---|
parent |
必需。父级资源名称。格式: |
查询参数
| 参数 | |
|---|---|
filter |
可选。过滤表达式。 支持的字段:
示例:
|
pageSize |
要返回的预设查询数量上限。如果未指定,则默认为 100。允许的最大值为 1000;任何高于该值的值都会强制转换为 1000。 |
pageToken |
从之前的 进行分页时,提供给 |
请求正文
请求正文必须为空。
响应正文
CannedQueryService.ListCannedQueries 方法的响应消息。
如果成功,响应正文将包含结构如下的数据:
| JSON 表示法 |
|---|
{
"cannedQueries": [
{
object ( |
| 字段 | |
|---|---|
cannedQueries[] |
与请求匹配的 |
nextPageToken |
可作为 |
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
如需了解详情,请参阅 Authentication Overview。