Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GeneratorSuggestion.
Suggestion generated using a Generator.
Generated from protobuf message google.cloud.dialogflow.v2.GeneratorSuggestion
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ free_form_suggestion |
FreeFormSuggestion
Optional. Free form suggestion. |
↳ summary_suggestion |
SummarySuggestion
Optional. Suggested summary. |
getFreeFormSuggestion
Optional. Free form suggestion.
| Returns | |
|---|---|
| Type | Description |
FreeFormSuggestion|null |
|
hasFreeFormSuggestion
setFreeFormSuggestion
Optional. Free form suggestion.
| Parameter | |
|---|---|
| Name | Description |
var |
FreeFormSuggestion
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSummarySuggestion
Optional. Suggested summary.
| Returns | |
|---|---|
| Type | Description |
SummarySuggestion|null |
|
hasSummarySuggestion
setSummarySuggestion
Optional. Suggested summary.
| Parameter | |
|---|---|
| Name | Description |
var |
SummarySuggestion
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSuggestion
| Returns | |
|---|---|
| Type | Description |
string |
|