列出 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-platform
- https://www.googleapis.com/auth/discoveryengine.readwrite
- https://www.googleapis.com/auth/discoveryengine.assist.readwrite
詳情請參閱Authentication Overview。