public sealed class Tool.Types.FunctionTool : IMessage<Tool.Types.FunctionTool>, IEquatable<Tool.Types.FunctionTool>, IDeepCloneable<Tool.Types.FunctionTool>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Tool.Types.FunctionTool.
A Function tool describes the functions to be invoked on the client side.
Implements
IMessageToolTypesFunctionTool, IEquatableToolTypesFunctionTool, IDeepCloneableToolTypesFunctionTool, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
FunctionTool()
public FunctionTool()FunctionTool(FunctionTool)
public FunctionTool(Tool.Types.FunctionTool other)| Parameter | |
|---|---|
| Name | Description |
other |
ToolTypesFunctionTool |
Properties
InputSchema
public Struct InputSchema { get; set; }Optional. The JSON schema is encapsulated in a [google.protobuf.Struct][google.protobuf.Struct] to describe the input of the function. This input is a JSON object that contains the function's parameters as properties of the object.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|
MethodType
public Tool.Types.MethodType MethodType { get; set; }Optional. The method type of the function. If not specified, the default value is GET.
| Property Value | |
|---|---|
| Type | Description |
ToolTypesMethodType |
|
OutputSchema
public Struct OutputSchema { get; set; }Optional. The JSON schema is encapsulated in a [google.protobuf.Struct][google.protobuf.Struct] to describe the output of the function. This output is a JSON object that contains the function's parameters as properties of the object.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|