- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- CannedQueryUserView
Lists the CannedQueryUserView
s for all active CannedQuery
s.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*/assistants/*}/cannedQueries:listActiveCannedQueryUserViews
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the parent assistant. Format: |
Query parameters
Parameters | |
---|---|
languageCode |
Optional. The language code the canned queries should be returned in. If not specified here or corresponding translation is not found, the default texts will be returned. |
pageSize |
Maximum number of |
pageToken |
A page token When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for CannedQueryService.ListActiveCannedQueryUserViews
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"cannedQueryUserViews": [
{
object ( |
Fields | |
---|---|
cannedQueryUserViews[] |
The |
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.
CannedQueryUserView
Limited information about a CannedQuery
that is sufficient for the end users.
JSON representation |
---|
{ "cannedQuery": string, "localizedTexts": { object ( |
Fields | |
---|---|
cannedQuery |
The resource name of the Format: |
localizedTexts |
The localized texts for the canned query. |
activationBehavior |
The behaviour when this canned query is activated. |
icon |
The name of the icon from the Google Symbols library for the canned query. |