Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::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::V1beta::Schema
Returns
- (::Google::Cloud::Ces::V1beta::Schema) — Optional. The schema of the function parameters.
#parameters=
def parameters=(value) -> ::Google::Cloud::Ces::V1beta::Schema
Parameter
- value (::Google::Cloud::Ces::V1beta::Schema) — Optional. The schema of the function parameters.
Returns
- (::Google::Cloud::Ces::V1beta::Schema) — Optional. The schema of the function parameters.
#response
def response() -> ::Google::Cloud::Ces::V1beta::Schema
Returns
- (::Google::Cloud::Ces::V1beta::Schema) — Optional. The schema of the function response.
#response=
def response=(value) -> ::Google::Cloud::Ces::V1beta::Schema
Parameter
- value (::Google::Cloud::Ces::V1beta::Schema) — Optional. The schema of the function response.
Returns
- (::Google::Cloud::Ces::V1beta::Schema) — Optional. The schema of the function response.