Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Action.
Action performed by end user or Dialogflow agent in the conversation.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Action
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ user_utterance
↳ agent_utterance
↳ tool_use
↳ playbook_invocation
↳ flow_invocation
↳ playbook_transition
PlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
↳ flow_transition
FlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
getUserUtterance
Optional. Agent obtained a message from the customer.
hasUserUtterance
setUserUtterance
Optional. Agent obtained a message from the customer.
$this
getAgentUtterance
Optional. Action performed by the agent as a message.
hasAgentUtterance
setAgentUtterance
Optional. Action performed by the agent as a message.
$this
getToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
hasToolUse
setToolUse
Optional. Action performed on behalf of the agent by calling a plugin tool.
$this
getPlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
hasPlaybookInvocation
setPlaybookInvocation
Optional. Action performed on behalf of the agent by invoking a child playbook.
$this
getFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
hasFlowInvocation
setFlowInvocation
Optional. Action performed on behalf of the agent by invoking a CX flow.
$this
getPlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
hasPlaybookTransition
setPlaybookTransition
Optional. Action performed on behalf of the agent by transitioning to a target playbook.
$this
getFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
hasFlowTransition
setFlowTransition
Optional. Action performed on behalf of the agent by transitioning to a target CX flow.
$this
getAction
string

