Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class GuidanceSkillConfig.
Guidance skill configuration.
Generated from protobuf message google.cloud.dialogflow.v2.CompanionAgent.GuidanceSkillConfig
Namespace
Google \ Cloud \ Dialogflow \ V2 \ CompanionAgentMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ guidance_instructions |
array<Google\Cloud\Dialogflow\V2\GuidanceInstruction>
Optional. Customized instructions for guidance. |
↳ overarching_guidance |
string
Optional. This is specific additional guidance that can configured by the user. |
↳ knowledge_source |
KnowledgeSource
Optional. Knowledge source configuration for guidance. |
getGuidanceInstructions
Optional. Customized instructions for guidance.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Google\Cloud\Dialogflow\V2\GuidanceInstruction> |
|
setGuidanceInstructions
Optional. Customized instructions for guidance.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\Dialogflow\V2\GuidanceInstruction>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOverarchingGuidance
Optional. This is specific additional guidance that can configured by the user.
| Returns | |
|---|---|
| Type | Description |
string |
|
setOverarchingGuidance
Optional. This is specific additional guidance that can configured by the user.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKnowledgeSource
Optional. Knowledge source configuration for guidance.
| Returns | |
|---|---|
| Type | Description |
KnowledgeSource|null |
|
hasKnowledgeSource
clearKnowledgeSource
setKnowledgeSource
Optional. Knowledge source configuration for guidance.
| Parameter | |
|---|---|
| Name | Description |
var |
KnowledgeSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|