Google Cloud Dialogflow v2beta1 API - Class ToolCallResult (1.0.0-beta29)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ToolCallResult.

The result of calling a tool's action.

Inheritance

object > ToolCallResult

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

ToolCallResult()

public ToolCallResult()

ToolCallResult(ToolCallResult)

public ToolCallResult(ToolCallResult other)
Parameter
Name Description
other ToolCallResult

Properties

Action

public string Action { get; set; }

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

Property Value
Type Description
string

AnswerRecord

public string AnswerRecord { get; set; }

Optional. The answer record associated with this tool call result.

Property Value
Type Description
string

CesApp

public string CesApp { get; set; }

Optional. CES app name for this call. Format: projects/<ProjectID>/locations/<LocationID>/apps/<AppID>.

Property Value
Type Description
string

CesAppAsAppName

public AppName CesAppAsAppName { get; set; }

AppName-typed view over the CesApp resource name property.

Property Value
Type Description
AppName

CesTool

public string CesTool { get; set; }

Optional. CES tool name for this call. Format: projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/tools/<ToolID>.

Property Value
Type Description
string

CesToolAsCesToolName

public CesToolName CesToolAsCesToolName { get; set; }

CesToolName-typed view over the CesTool resource name property.

Property Value
Type Description
CesToolName

CesToolset

public string CesToolset { get; set; }

Optional. CES toolset name for this call. Format: projects/<ProjectID>/locations/<LocationID>/apps/<AppID>/toolsets/ToolsetID>.

Property Value
Type Description
string

CesToolsetAsToolsetName

public ToolsetName CesToolsetAsToolsetName { get; set; }

ToolsetName-typed view over the CesToolset resource name property.

Property Value
Type Description
ToolsetName

Content

public string Content { get; set; }

Only populated if the response content is utf-8 encoded.

Property Value
Type Description
string

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create time of the tool call result.

Property Value
Type Description
Timestamp

Error

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

The tool call's error.

Property Value
Type Description
ToolCallResultTypesError

HasCesApp

public bool HasCesApp { get; }

Gets whether the "ces_app" field is set

Property Value
Type Description
bool

HasCesTool

public bool HasCesTool { get; }

Gets whether the "ces_tool" field is set

Property Value
Type Description
bool

HasCesToolset

public bool HasCesToolset { get; }

Gets whether the "ces_toolset" field is set

Property Value
Type Description
bool

HasContent

public bool HasContent { get; }

Gets whether the "content" field is set

Property Value
Type Description
bool

HasRawContent

public bool HasRawContent { get; }

Gets whether the "raw_content" field is set

Property Value
Type Description
bool

HasTool

public bool HasTool { get; }

Gets whether the "tool" field is set

Property Value
Type Description
bool

RawContent

public ByteString RawContent { get; set; }

Only populated if the response content is not utf-8 encoded. (by definition byte fields are base64 encoded).

Property Value
Type Description
ByteString

ResultCase

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

SourceCase

public ToolCallResult.SourceOneofCase SourceCase { get; }
Property Value
Type Description
ToolCallResultSourceOneofCase

Tool

public string Tool { get; set; }

Optional. The [tool][google.cloud.dialogflow.v2beta1.Tool] associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/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