Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Action
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Action performed by end user or Dialogflow agent in the conversation.
Instance Attribute Summary collapse
-
#agent_utterance ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance
AgentUtterance represents one message sent by the agent.
-
#flow_invocation ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation
Stores metadata of the invocation of a CX flow.
-
#playbook_invocation ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation
Stores metadata of the invocation of a child playbook.
-
#tool_use ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse
Stores metadata of the invocation of an action supported by a tool.
-
#user_utterance ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance
UserUtterance represents one message sent by the customer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Action
constructor
A new instance of GoogleCloudDialogflowCxV3beta1Action.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Action
Returns a new instance of GoogleCloudDialogflowCxV3beta1Action.
3898 3899 3900 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_utterance ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentUtterance
AgentUtterance represents one message sent by the agent.
Corresponds to the JSON property agentUtterance
3876 3877 3878 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3876 def agent_utterance @agent_utterance end |
#flow_invocation ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowInvocation
Stores metadata of the invocation of a CX flow. Next Id: 7
Corresponds to the JSON property flowInvocation
3881 3882 3883 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3881 def flow_invocation @flow_invocation end |
#playbook_invocation ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PlaybookInvocation
Stores metadata of the invocation of a child playbook. Next Id: 5
Corresponds to the JSON property playbookInvocation
3886 3887 3888 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3886 def playbook_invocation @playbook_invocation end |
#tool_use ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse
Stores metadata of the invocation of an action supported by a tool.
Corresponds to the JSON property toolUse
3891 3892 3893 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3891 def tool_use @tool_use end |
#user_utterance ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1UserUtterance
UserUtterance represents one message sent by the customer.
Corresponds to the JSON property userUtterance
3896 3897 3898 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3896 def user_utterance @user_utterance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3903 3904 3905 3906 3907 3908 3909 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 3903 def update!(**args) @agent_utterance = args[:agent_utterance] if args.key?(:agent_utterance) @flow_invocation = args[:flow_invocation] if args.key?(:flow_invocation) @playbook_invocation = args[:playbook_invocation] if args.key?(:playbook_invocation) @tool_use = args[:tool_use] if args.key?(:tool_use) @user_utterance = args[:user_utterance] if args.key?(:user_utterance) end |