Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ToolCall (v1.13.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ToolCall.

Represents a call of a specific tool's action with the specified inputs.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::String
Returns
  • (::String) — Optional. The name of the tool's action associated with this call.

#action=

def action=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the tool's action associated with this call.
Returns
  • (::String) — Optional. The name of the tool's action associated with this call.

#answer_record

def answer_record() -> ::String
Returns
  • (::String) — Optional. The answer record associated with this tool call.

#answer_record=

def answer_record=(value) -> ::String
Parameter
  • value (::String) — Optional. The answer record associated with this tool call.
Returns
  • (::String) — Optional. The answer record associated with this tool call.

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#input_parameters

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

#input_parameters=

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

#state

def state() -> ::Google::Cloud::Dialogflow::V2::ToolCall::State
Returns

#tool

def tool() -> ::String
Returns
  • (::String) — Optional. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>.

#tool=

def tool=(value) -> ::String
Parameter
  • value (::String) — Optional. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>.
Returns
  • (::String) — Optional. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>.

#tool_display_details

def tool_display_details() -> ::String
Returns
  • (::String) — Optional. A human readable description of the tool.

#tool_display_details=

def tool_display_details=(value) -> ::String
Parameter
  • value (::String) — Optional. A human readable description of the tool.
Returns
  • (::String) — Optional. A human readable description of the tool.

#tool_display_name

def tool_display_name() -> ::String
Returns
  • (::String) — Optional. A human readable short name of the tool, to be shown on the UI.

#tool_display_name=

def tool_display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. A human readable short name of the tool, to be shown on the UI.
Returns
  • (::String) — Optional. A human readable short name of the tool, to be shown on the UI.