Lists all CannedQuerys under an Assistant.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*/assistants/*}/cannedQueries
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource name. Format: |
Query parameters
| Parameters | |
|---|---|
filter |
Optional. The filter expression. Supported fields:
Examples:
|
pageSize |
Maximum number of canned queries to return. If unspecified, defaults to 100. The maximum allowed value is 1000; anything above that will be coerced down to 1000. |
pageToken |
A page token received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for the CannedQueryService.ListCannedQueries method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"cannedQueries": [
{
object ( |
| Fields | |
|---|---|
cannedQueries[] |
The list of |
nextPageToken |
A token that can be sent as |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/discoveryengine.readwritehttps://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.