- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Gets recommended questions for the given session.
HTTP request
GET https://discoveryengine.googleapis.com/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/sessions/*}:recommendQuestions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The resource name of the Session. Format:  | 
Query parameters
| Parameters | |
|---|---|
| assistant | 
 Optional. The name of the  Format:  | 
Request body
The request body must be empty.
Response body
Response for the AssistantService.RecommendQuestions method.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "questions": [ string ] } | 
| Fields | |
|---|---|
| questions[] | 
 The recommended questions. | 
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/discoveryengine.readwrite
- https://www.googleapis.com/auth/discoveryengine.assist.readwrite
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
- discoveryengine.sessions.recommendQuestions
For more information, see the IAM documentation.