Google Cloud Dialogflow v2beta1 API - Class Tool.Types.FunctionTool (1.0.0-beta24)

public sealed class Tool.Types.FunctionTool : IMessage<Tool.Types.FunctionTool>, IEquatable<Tool.Types.FunctionTool>, IDeepCloneable<Tool.Types.FunctionTool>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > Tool.Types.FunctionTool

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

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