Class: Google::Cloud::Dialogflow::V2::Tool::FunctionTool

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::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.



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.

Returns:



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.

Returns:

  • (::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.



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