Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SkillConfig.
Skill configuration for the companion agent.
Generated from protobuf message google.cloud.dialogflow.v2.CompanionAgent.SkillConfig
Namespace
Google \ Cloud \ Dialogflow \ V2 \ CompanionAgentMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ guidance_skill_config |
GuidanceSkillConfig
Optional. Guidance skill configuration. |
↳ translation_skill_config |
TranslationSkillConfig
Optional. Translation skill configuration. |
↳ skill_triggering_event |
int
Optional. The event that should trigger the skill. |
getGuidanceSkillConfig
Optional. Guidance skill configuration.
| Returns | |
|---|---|
| Type | Description |
GuidanceSkillConfig|null |
|
hasGuidanceSkillConfig
setGuidanceSkillConfig
Optional. Guidance skill configuration.
| Parameter | |
|---|---|
| Name | Description |
var |
GuidanceSkillConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTranslationSkillConfig
Optional. Translation skill configuration.
| Returns | |
|---|---|
| Type | Description |
TranslationSkillConfig|null |
|
hasTranslationSkillConfig
setTranslationSkillConfig
Optional. Translation skill configuration.
| Parameter | |
|---|---|
| Name | Description |
var |
TranslationSkillConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSkillTriggeringEvent
Optional. The event that should trigger the skill.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SkillTriggerEvent. |
setSkillTriggeringEvent
Optional. The event that should trigger the skill.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SkillTriggerEvent. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfig
| Returns | |
|---|---|
| Type | Description |
string |
|