Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CompanionSuggestion.
Represents a companion suggestion answer.
Generated from protobuf message google.cloud.dialogflow.v2.CompanionSuggestion
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ guidances |
array<CompanionSuggestion\Guidance>
List of guidances generated by the Companion Agent. |
getGuidances
List of guidances generated by the Companion Agent.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<CompanionSuggestion\Guidance> |
|
setGuidances
List of guidances generated by the Companion Agent.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CompanionSuggestion\Guidance>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|