Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class FunctionTool.
A Function tool describes the functions to be invoked on the client side.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Tool.FunctionTool
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ ToolMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ input_schema
Google\Protobuf\Struct
Optional. The JSON schema is encapsulated in a 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.
↳ output_schema
Google\Protobuf\Struct
Optional. The JSON schema is encapsulated in a 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.
getInputSchema
Optional. The JSON schema is encapsulated in a 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.
hasInputSchema
clearInputSchema
setInputSchema
Optional. The JSON schema is encapsulated in a 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.
$this
getOutputSchema
Optional. The JSON schema is encapsulated in a 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.
hasOutputSchema
clearOutputSchema
setOutputSchema
Optional. The JSON schema is encapsulated in a 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.
$this

