Class: Google::Apis::ConnectorsV2::ExecuteToolRequest
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV2::ExecuteToolRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v2/classes.rb,
lib/google/apis/connectors_v2/representations.rb,
lib/google/apis/connectors_v2/representations.rb
Overview
Request message for ConnectorAgentService.ExecuteTool
Instance Attribute Summary collapse
-
#execution_config ⇒ Google::Apis::ConnectorsV2::ExecutionConfig
execution config for the request.
-
#parameters ⇒ Hash<String,Object>
Input parameters for the tool.
-
#tool_definition ⇒ Hash<String,Object>
Tool definition for the tool to be executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecuteToolRequest
constructor
A new instance of ExecuteToolRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteToolRequest
Returns a new instance of ExecuteToolRequest.
602 603 604 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#execution_config ⇒ Google::Apis::ConnectorsV2::ExecutionConfig
execution config for the request.
Corresponds to the JSON property executionConfig
590 591 592 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 590 def execution_config @execution_config end |
#parameters ⇒ Hash<String,Object>
Input parameters for the tool.
Corresponds to the JSON property parameters
595 596 597 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 595 def parameters @parameters end |
#tool_definition ⇒ Hash<String,Object>
Tool definition for the tool to be executed.
Corresponds to the JSON property toolDefinition
600 601 602 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 600 def tool_definition @tool_definition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
607 608 609 610 611 |
# File 'lib/google/apis/connectors_v2/classes.rb', line 607 def update!(**args) @execution_config = args[:execution_config] if args.key?(:execution_config) @parameters = args[:parameters] if args.key?(:parameters) @tool_definition = args[:tool_definition] if args.key?(:tool_definition) end |