Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Action
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Action
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#agent_utterance ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentUtterance
Corresponds to the JSON property
agentUtterance. -
#flow_invocation ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowInvocation
Corresponds to the JSON property
flowInvocation. -
#flow_transition ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowTransition
Corresponds to the JSON property
flowTransition. -
#playbook_invocation ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInvocation
Corresponds to the JSON property
playbookInvocation. -
#playbook_transition ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookTransition
Corresponds to the JSON property
playbookTransition. -
#tool_use ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolUse
Corresponds to the JSON property
toolUse. -
#user_utterance ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3UserUtterance
Corresponds to the JSON property
userUtterance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Action
constructor
A new instance of GoogleCloudDialogflowCxV3Action.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Action
Returns a new instance of GoogleCloudDialogflowCxV3Action.
64 65 66 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 64 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_utterance ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentUtterance
Corresponds to the JSON property agentUtterance
32 33 34 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 32 def agent_utterance @agent_utterance end |
#flow_invocation ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowInvocation
Corresponds to the JSON property flowInvocation
37 38 39 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 37 def flow_invocation @flow_invocation end |
#flow_transition ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowTransition
Corresponds to the JSON property flowTransition
42 43 44 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 42 def flow_transition @flow_transition end |
#playbook_invocation ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInvocation
Corresponds to the JSON property playbookInvocation
47 48 49 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 47 def playbook_invocation @playbook_invocation end |
#playbook_transition ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookTransition
Corresponds to the JSON property playbookTransition
52 53 54 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 52 def playbook_transition @playbook_transition end |
#tool_use ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolUse
Corresponds to the JSON property toolUse
57 58 59 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 57 def tool_use @tool_use end |
#user_utterance ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3UserUtterance
Corresponds to the JSON property userUtterance
62 63 64 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 62 def user_utterance @user_utterance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
69 70 71 72 73 74 75 76 77 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 69 def update!(**args) @agent_utterance = args[:agent_utterance] if args.key?(:agent_utterance) @flow_invocation = args[:flow_invocation] if args.key?(:flow_invocation) @flow_transition = args[:flow_transition] if args.key?(:flow_transition) @playbook_invocation = args[:playbook_invocation] if args.key?(:playbook_invocation) @playbook_transition = args[:playbook_transition] if args.key?(:playbook_transition) @tool_use = args[:tool_use] if args.key?(:tool_use) @user_utterance = args[:user_utterance] if args.key?(:user_utterance) end |