Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Action.
Action performed by end user or Dialogflow agent in the conversation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_utterance
def agent_utterance() -> ::Google::Cloud::Dialogflow::CX::V3::AgentUtterance-
(::Google::Cloud::Dialogflow::CX::V3::AgentUtterance) — Optional. Action performed by the agent as a message.
Note: The following fields are mutually exclusive:
agent_utterance,user_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#agent_utterance=
def agent_utterance=(value) -> ::Google::Cloud::Dialogflow::CX::V3::AgentUtterance-
value (::Google::Cloud::Dialogflow::CX::V3::AgentUtterance) — Optional. Action performed by the agent as a message.
Note: The following fields are mutually exclusive:
agent_utterance,user_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::AgentUtterance) — Optional. Action performed by the agent as a message.
Note: The following fields are mutually exclusive:
agent_utterance,user_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#flow_invocation
def flow_invocation() -> ::Google::Cloud::Dialogflow::CX::V3::FlowInvocation-
(::Google::Cloud::Dialogflow::CX::V3::FlowInvocation) — Optional. Action performed on behalf of the agent by invoking a CX flow.
Note: The following fields are mutually exclusive:
flow_invocation,user_utterance,agent_utterance,tool_use,playbook_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#flow_invocation=
def flow_invocation=(value) -> ::Google::Cloud::Dialogflow::CX::V3::FlowInvocation-
value (::Google::Cloud::Dialogflow::CX::V3::FlowInvocation) — Optional. Action performed on behalf of the agent by invoking a CX flow.
Note: The following fields are mutually exclusive:
flow_invocation,user_utterance,agent_utterance,tool_use,playbook_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::FlowInvocation) — Optional. Action performed on behalf of the agent by invoking a CX flow.
Note: The following fields are mutually exclusive:
flow_invocation,user_utterance,agent_utterance,tool_use,playbook_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#flow_transition
def flow_transition() -> ::Google::Cloud::Dialogflow::CX::V3::FlowTransition-
(::Google::Cloud::Dialogflow::CX::V3::FlowTransition) — Optional. Action performed on behalf of the agent by transitioning to a
target CX flow.
Note: The following fields are mutually exclusive:
flow_transition,user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#flow_transition=
def flow_transition=(value) -> ::Google::Cloud::Dialogflow::CX::V3::FlowTransition-
value (::Google::Cloud::Dialogflow::CX::V3::FlowTransition) — Optional. Action performed on behalf of the agent by transitioning to a
target CX flow.
Note: The following fields are mutually exclusive:
flow_transition,user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::FlowTransition) — Optional. Action performed on behalf of the agent by transitioning to a
target CX flow.
Note: The following fields are mutually exclusive:
flow_transition,user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#playbook_invocation
def playbook_invocation() -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookInvocation-
(::Google::Cloud::Dialogflow::CX::V3::PlaybookInvocation) — Optional. Action performed on behalf of the agent by invoking a child
playbook.
Note: The following fields are mutually exclusive:
playbook_invocation,user_utterance,agent_utterance,tool_use,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#playbook_invocation=
def playbook_invocation=(value) -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookInvocation-
value (::Google::Cloud::Dialogflow::CX::V3::PlaybookInvocation) — Optional. Action performed on behalf of the agent by invoking a child
playbook.
Note: The following fields are mutually exclusive:
playbook_invocation,user_utterance,agent_utterance,tool_use,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::PlaybookInvocation) — Optional. Action performed on behalf of the agent by invoking a child
playbook.
Note: The following fields are mutually exclusive:
playbook_invocation,user_utterance,agent_utterance,tool_use,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#playbook_transition
def playbook_transition() -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookTransition-
(::Google::Cloud::Dialogflow::CX::V3::PlaybookTransition) — Optional. Action performed on behalf of the agent by transitioning to a
target playbook.
Note: The following fields are mutually exclusive:
playbook_transition,user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#playbook_transition=
def playbook_transition=(value) -> ::Google::Cloud::Dialogflow::CX::V3::PlaybookTransition-
value (::Google::Cloud::Dialogflow::CX::V3::PlaybookTransition) — Optional. Action performed on behalf of the agent by transitioning to a
target playbook.
Note: The following fields are mutually exclusive:
playbook_transition,user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::PlaybookTransition) — Optional. Action performed on behalf of the agent by transitioning to a
target playbook.
Note: The following fields are mutually exclusive:
playbook_transition,user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool_use
def tool_use() -> ::Google::Cloud::Dialogflow::CX::V3::ToolUse-
(::Google::Cloud::Dialogflow::CX::V3::ToolUse) — Optional. Action performed on behalf of the agent by calling a plugin
tool.
Note: The following fields are mutually exclusive:
tool_use,user_utterance,agent_utterance,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool_use=
def tool_use=(value) -> ::Google::Cloud::Dialogflow::CX::V3::ToolUse-
value (::Google::Cloud::Dialogflow::CX::V3::ToolUse) — Optional. Action performed on behalf of the agent by calling a plugin
tool.
Note: The following fields are mutually exclusive:
tool_use,user_utterance,agent_utterance,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::ToolUse) — Optional. Action performed on behalf of the agent by calling a plugin
tool.
Note: The following fields are mutually exclusive:
tool_use,user_utterance,agent_utterance,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user_utterance
def user_utterance() -> ::Google::Cloud::Dialogflow::CX::V3::UserUtterance-
(::Google::Cloud::Dialogflow::CX::V3::UserUtterance) — Optional. Agent obtained a message from the customer.
Note: The following fields are mutually exclusive:
user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
#user_utterance=
def user_utterance=(value) -> ::Google::Cloud::Dialogflow::CX::V3::UserUtterance-
value (::Google::Cloud::Dialogflow::CX::V3::UserUtterance) — Optional. Agent obtained a message from the customer.
Note: The following fields are mutually exclusive:
user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dialogflow::CX::V3::UserUtterance) — Optional. Agent obtained a message from the customer.
Note: The following fields are mutually exclusive:
user_utterance,agent_utterance,tool_use,playbook_invocation,flow_invocation,playbook_transition,flow_transition. If a field in that set is populated, all other fields in the set will automatically be cleared.