Class: Google::Cloud::Dialogflow::V2::Tool::FunctionTool
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Tool::FunctionTool
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/tool.rb
Overview
A Function tool describes the functions to be invoked on the client side.
Instance Attribute Summary collapse
-
#input_schema ⇒ ::Google::Protobuf::Struct
Optional.
-
#method_type ⇒ ::Google::Cloud::Dialogflow::V2::Tool::MethodType
Optional.
-
#output_schema ⇒ ::Google::Protobuf::Struct
Optional.
Instance Attribute Details
#input_schema ⇒ ::Google::Protobuf::Struct
Returns 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.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 204 class FunctionTool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#method_type ⇒ ::Google::Cloud::Dialogflow::V2::Tool::MethodType
Returns Optional. The method type of the function. If not specified, the default value is GET.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 204 class FunctionTool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#output_schema ⇒ ::Google::Protobuf::Struct
Returns 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.
204 205 206 207 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 204 class FunctionTool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |