Gemini Enterprise for Customer Experience V1 API - Class Google::Cloud::Ces::V1::ClientFunction (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::ClientFunction.

Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client. The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — Optional. The function description.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The function description.
Returns
  • (::String) — Optional. The function description.

#name

def name() -> ::String
Returns
  • (::String) — Required. The function name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The function name.
Returns
  • (::String) — Required. The function name.

#parameters

def parameters() -> ::Google::Cloud::Ces::V1::Schema
Returns

#parameters=

def parameters=(value) -> ::Google::Cloud::Ces::V1::Schema
Parameter
Returns

#response

def response() -> ::Google::Cloud::Ces::V1::Schema
Returns

#response=

def response=(value) -> ::Google::Cloud::Ces::V1::Schema
Parameter
Returns