Google Cloud Dialogflow v2beta1 API - Class ToolCallResult (1.0.0-beta25)
Version latestkeyboard_arrow_down
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
public ToolCallResult(ToolCallResult other)
Properties
public string Action { get; set; }
Optional. The name of the tool's action associated with this call.
Property Value
Type
Description
string
public string AnswerRecord { get; set; }
Optional. The answer record associated with this tool call result.
Property Value
Type
Description
string
Content
public string Content { get; set; }
Only populated if the response content is utf-8 encoded.
Property Value
Type
Description
string
public Timestamp CreateTime { get; set; }
Output only. Create time of the tool call result.
public ToolCallResult.Types.Error Error { get; set; }
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
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).
public ToolCallResult.ResultOneofCase ResultCase { get; }
public ToolCallResult.SourceOneofCase SourceCase { get; }
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
public ToolName ToolAsToolName { get; set; }
Property Value
Type
Description
ToolName
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-05 UTC."],[],[]]