Dialogflow v3 API - Class ToolCallResult (3.0.0)

public sealed class ToolCallResult : IMessage<ToolCallResult>, IEquatable<ToolCallResult>, IDeepCloneable<ToolCallResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class ToolCallResult.

The result of calling a tool's action that has been executed by the client.

Inheritance

object > ToolCallResult

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ToolCallResult()

public ToolCallResult()

ToolCallResult(ToolCallResult)

public ToolCallResult(ToolCallResult other)
Parameter
Name Description
other ToolCallResult

Properties

Action

public string Action { get; set; }

Required. The name of the tool's action associated with this call.

Property Value
Type Description
string

Error

public ToolCallResult.Types.Error Error { get; set; }

The tool call's error.

Property Value
Type Description
ToolCallResultTypesError

OutputParameters

public Struct OutputParameters { get; set; }

The tool call's output parameters.

Property Value
Type Description
Struct

ResultCase

public ToolCallResult.ResultOneofCase ResultCase { get; }
Property Value
Type Description
ToolCallResultResultOneofCase

Tool

public string Tool { get; set; }

Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.

Property Value
Type Description
string

ToolAsToolName

public ToolName ToolAsToolName { get; set; }

ToolName-typed view over the Tool resource name property.

Property Value
Type Description
ToolName