public sealed class ToolCall : IMessage<ToolCall>, IEquatable<ToolCall>, IDeepCloneable<ToolCall>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ToolCall.
Represents a call of a specific tool's action with the specified inputs.
Namespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
ToolCall()
public ToolCall()ToolCall(ToolCall)
public ToolCall(ToolCall other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolCall |
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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Create time of the tool call.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
HasTool
public bool HasTool { get; }Gets whether the "tool" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
InputParameters
public Struct InputParameters { get; set; }Optional. The action's input parameters.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
SourceCase
public ToolCall.SourceOneofCase SourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
ToolCallSourceOneofCase |
|
State
public ToolCall.Types.State State { get; set; }Output only. State of the tool call
| Property Value | |
|---|---|
| Type | Description |
ToolCallTypesState |
|
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; }| Property Value | |
|---|---|
| Type | Description |
ToolName |
|
ToolDisplayDetails
public string ToolDisplayDetails { get; set; }Optional. A human readable description of the tool.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolDisplayName
public string ToolDisplayName { get; set; }Optional. A human readable short name of the tool, to be shown on the UI.
| Property Value | |
|---|---|
| Type | Description |
string |
|