Class: Google::Cloud::Dialogflow::CX::V3::Tool::FunctionTool

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/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.



208
209
210
211
# File 'proto_docs/google/cloud/dialogflow/cx/v3/tool.rb', line 208

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.



208
209
210
211
# File 'proto_docs/google/cloud/dialogflow/cx/v3/tool.rb', line 208

class FunctionTool
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end