Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall
- 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
Overview
Represents a call of a specific tool's action with the specified inputs.
Instance Attribute Summary collapse
-
#action ⇒ String
Required.
-
#input_parameters ⇒ Hash<String,Object>
Optional.
-
#tool ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCall
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolCall.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCall
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolCall.
11992 11993 11994 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
Required. The name of the tool's action associated with this call.
Corresponds to the JSON property action
11979 11980 11981 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11979 def action @action end |
#input_parameters ⇒ Hash<String,Object>
Optional. The action's input parameters.
Corresponds to the JSON property inputParameters
11984 11985 11986 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11984 def input_parameters @input_parameters end |
#tool ⇒ String
Required. The tool associated with this call. Format: projects//locations//
agents//tools/.
Corresponds to the JSON property tool
11990 11991 11992 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11990 def tool @tool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11997 11998 11999 12000 12001 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11997 def update!(**args) @action = args[:action] if args.key?(:action) @input_parameters = args[:input_parameters] if args.key?(:input_parameters) @tool = args[:tool] if args.key?(:tool) end |