Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::ToolUse (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::ToolUse.

Stores metadata of the invocation of an action supported by a tool.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::String
Returns
  • (::String) — Optional. Name of the action to be called during the tool use.

#action=

def action=(value) -> ::String
Parameter
  • value (::String) — Optional. Name of the action to be called during the tool use.
Returns
  • (::String) — Optional. Name of the action to be called during the tool use.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Output only. The display name of the tool.

#input_action_parameters

def input_action_parameters() -> ::Google::Protobuf::Struct
Returns

#input_action_parameters=

def input_action_parameters=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#output_action_parameters

def output_action_parameters() -> ::Google::Protobuf::Struct
Returns

#output_action_parameters=

def output_action_parameters=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#tool

def tool() -> ::String
Returns
  • (::String) — Required. The tool that should be used. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.

#tool=

def tool=(value) -> ::String
Parameter
  • value (::String) — Required. The tool that should be used. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
Returns
  • (::String) — Required. The tool that should be used. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.