NAME

Google::Cloud::Ces::V1beta::ClientFunction - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/client_function.proto

SYNOPSIS

use Google::Cloud::Ces::V1beta::ClientFunction;

my $msg = Google::Cloud::Ces::V1beta::ClientFunction::ClientFunction->new({
    name => $name,
    description => $description,
    parameters => $parameters,
    response => $response,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::ClientFunction::ClientFunction->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/client_function.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Ces::V1beta::ClientFunction::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][google.cloud.ces.v1beta.ToolResponse] to continue the interaction with the agent.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The function name.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. The function description.

  • $msg->parameters() / $msg->parameters($value)

    Type: Message (Google::Cloud::Ces::V1beta::Schema::Schema)

    Optional. The schema of the function parameters.

  • $msg->response() / $msg->response($value)

    Type: Message (Google::Cloud::Ces::V1beta::Schema::Schema)

    Optional. The schema of the function response.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::ClientFunction::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.