Class: Google::Apis::ConnectorsV2::ExecuteToolRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_configGoogle::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

#parametersHash<String,Object>

Input parameters for the tool. Corresponds to the JSON property parameters

Returns:

  • (Hash<String,Object>)


595
596
597
# File 'lib/google/apis/connectors_v2/classes.rb', line 595

def parameters
  @parameters
end

#tool_definitionHash<String,Object>

Tool definition for the tool to be executed. Corresponds to the JSON property toolDefinition

Returns:

  • (Hash<String,Object>)


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