Lists all CannedQuery
s 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 the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.