Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class FunctionTool.
A Function tool describes the functions to be invoked on the client side.
Generated from protobuf message google.cloud.dialogflow.v2.Tool.FunctionTool
Namespace
Google \ Cloud \ Dialogflow \ V2 \ 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.
↳ method_type
int
Optional. The method type of the function. If not specified, the default value is GET.
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
getMethodType
Optional. The method type of the function. If not specified, the default value is GET.
setMethodType
Optional. The method type of the function. If not specified, the default value is GET.
$this

