- [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SCHEMA_REPRESENTATION)
- [FreeFormSuggestion](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#FreeFormSuggestion)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#FreeFormSuggestion.SCHEMA_REPRESENTATION)
- [SummarySuggestion](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SummarySuggestion)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SummarySuggestion.SCHEMA_REPRESENTATION)
- [AgentCoachingSuggestion](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentCoachingSuggestion)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentCoachingSuggestion.SCHEMA_REPRESENTATION)
- [AgentActionSuggestion](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentActionSuggestion)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentActionSuggestion.SCHEMA_REPRESENTATION)
- [Sources](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources.SCHEMA_REPRESENTATION)
- [DuplicateCheckResult](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateCheckResult)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateCheckResult.SCHEMA_REPRESENTATION)
- [DuplicateSuggestion](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateSuggestion)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateSuggestion.SCHEMA_REPRESENTATION)
- [SampleResponse](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SampleResponse)
  - [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SampleResponse.SCHEMA_REPRESENTATION)

Suggestion generated using a Generator.

| JSON representation |
|---|
| ``` { "toolCallInfo": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ToolCallInfo`) } ], // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "freeFormSuggestion": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#FreeFormSuggestion`) }, "summarySuggestion": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SummarySuggestion`) }, "agentCoachingSuggestion": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentCoachingSuggestion`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `toolCallInfo[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ToolCallInfo`)`` Optional. List of request and response for tool calls executed. |
| The suggestion could be one of the many types The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `freeFormSuggestion` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#FreeFormSuggestion`)`` Optional. Free form suggestion. |
| `summarySuggestion` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SummarySuggestion`)`` Optional. Suggested summary. |
| `agentCoachingSuggestion` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentCoachingSuggestion`)`` Optional. Suggestion to coach the agent. |
| End of mutually exclusive fields. ||

## FreeFormSuggestion

Suggestion generated using free form generator.

| JSON representation |
|---|
| ``` { "response": string } ``` |

| Fields ||
|---|---|
| `response` | `string` Required. Free form suggestion. |

## SummarySuggestion

Suggested summary of the conversation.

| JSON representation |
|---|
| ``` { "summarySections": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/SummarySection`) } ] } ``` |

| Fields ||
|---|---|
| `summarySections[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/SummarySection`)`` Required. All the parts of generated summary. |

## AgentCoachingSuggestion

Suggestion for coaching agents.

| JSON representation |
|---|
| ``` { "applicableInstructions": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/AgentCoachingInstruction`) } ], "agentActionSuggestions": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentActionSuggestion`) } ], "sampleResponses": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SampleResponse`) } ] } ``` |

| Fields ||
|---|---|
| `applicableInstructions[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/AgentCoachingInstruction`)`` Optional. Instructions applicable based on the current context. |
| `agentActionSuggestions[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#AgentActionSuggestion`)`` Optional. Suggested actions for the agent to take. |
| `sampleResponses[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#SampleResponse`)`` Optional. Sample response for the Agent. |

## AgentActionSuggestion

Actions suggested for the agent. This is based on applicable instructions.

| JSON representation |
|---|
| ``` { "agentAction": string, "sources": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources`) }, "duplicateCheckResult": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateCheckResult`) } } ``` |

| Fields ||
|---|---|
| `agentAction` | `string` Optional. The suggested action for the agent. |
| `sources` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources`)`` Output only. Sources for the agent action suggestion. |
| `duplicateCheckResult` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateCheckResult`)`` Output only. Duplicate check result for the agent action suggestion. |

## Sources

Sources for the suggestion.

| JSON representation |
|---|
| ``` { "instructionIndexes": [ integer ] } ``` |

| Fields ||
|---|---|
| `instructionIndexes[]` | `integer` Output only. Source instruction indexes for the suggestion. This is the index of the applicableInstructions field. |

## DuplicateCheckResult

Duplication check for the suggestion.

| JSON representation |
|---|
| ``` { "duplicateSuggestions": [ { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateSuggestion`) } ] } ``` |

| Fields ||
|---|---|
| `duplicateSuggestions[]` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateSuggestion`)`` Output only. The duplicate suggestions. |

## DuplicateSuggestion

The duplicate suggestion details. Keeping answerRecord and sources together as they are identifiers for duplicate suggestions.

| JSON representation |
|---|
| ``` { "answerRecord": string, "sources": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources`) }, "suggestionIndex": integer, "similarityScore": number } ``` |

| Fields ||
|---|---|
| `answerRecord` | `string` Output only. The answer record id of the past duplicate suggestion. |
| `sources` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources`)`` Output only. Sources for the suggestion. |
| `suggestionIndex` | `integer` Output only. The index of the duplicate suggestion in the past suggestion list. |
| `similarityScore` | `number` Output only. The similarity score of between the past and current suggestion. |

## SampleResponse

Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.

| JSON representation |
|---|
| ``` { "responseText": string, "sources": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources`) }, "duplicateCheckResult": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateCheckResult`) } } ``` |

| Fields ||
|---|---|
| `responseText` | `string` Optional. Sample response for Agent in text. |
| `sources` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#Sources`)`` Output only. Sources for the Sample Response. |
| `duplicateCheckResult` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/GeneratorSuggestion#DuplicateCheckResult`)`` Output only. Duplicate check result for the sample response. |