NAME

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

SYNOPSIS

use Google::Cloud::Ces::V1beta::Agent;

my $msg = Google::Cloud::Ces::V1beta::Agent::Agent->new({
    llm_agent => $llm_agent,
    remote_dialogflow_agent => $remote_dialogflow_agent,
    remote_a2a_agent => $remote_a2a_agent,
    name => $name,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/agent.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::Agent::Agent

An agent acts as the fundamental building block that provides instructions to the Large Language Model (LLM) for executing specific tasks.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Ces::V1beta::Agent::Agent::LlmAgent)

    Optional. The default agent type.

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

    Type: Message (Google::Cloud::Ces::V1beta::Agent::Agent::RemoteDialogflowAgent)

    Optional. The remote [Dialogflow](https://cloud.google.com/dialogflow/cx/docs/concept/console-conversational-agents) agent to be used for the agent execution. If this field is set, all other agent level properties will be ignored.

    Note: If the Dialogflow agent is in a different project from the app, you should grant `roles/dialogflow.client` to the CES service agent `service-<PROJECT-NUMBER>@gcp-sa-ces.iam.gserviceaccount.com`.

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

    Type: Message (Google::Cloud::Ces::V1beta::Agent::Agent::RemoteA2aAgent)

    Optional. The remote [A2A](https://github.com/a2aproject/A2A) agent to be used for the agent execution.

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

    Type: String

    Identifier. The unique identifier of the agent. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`

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

    Type: String

    Required. Display name of the agent.

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

    Type: String

    Optional. Human-readable description of the agent.

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::ModelSettings)

    Optional. Configurations for the LLM model.

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

    Type: String

    Optional. Instructions for the LLM model to guide the agent's behavior.

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

    Type: String

    Optional. List of available tools for the agent. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`

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

    Type: String

    Optional. List of child agents in the agent tree. Format: `projects/{project}/locations/{location}/apps/{app}/agents/{agent}`

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::Callback)

    Optional. The callbacks to execute before the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::Callback)

    Optional. The callbacks to execute after the agent is called. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::Callback)

    Optional. The callbacks to execute before the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::Callback)

    Optional. The callbacks to execute after the model is called. If there are multiple calls to the model, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::Callback)

    Optional. The callbacks to execute before the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.

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

    Type: Message (Google::Cloud::Ces::V1beta::Common::Callback)

    Optional. The callbacks to execute after the tool is invoked. If there are multiple tool invocations, the callback will be executed multiple times. The provided callbacks are executed sequentially in the exact order they are given in the list. If a callback returns an overridden response, execution stops and any remaining callbacks are skipped.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the agent was created.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp when the agent was last updated.

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

    Type: String

    Optional. List of guardrails for the agent. Format: `projects/{project}/locations/{location}/apps/{app}/guardrails/{guardrail}`

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

    Type: String

    Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

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

    Type: Message (Google::Cloud::Ces::V1beta::Agent::Agent::AgentToolset)

    Optional. List of toolsets for the agent.

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

    Type: String

    Output only. If the agent is generated by the LLM assistant, this field contains a descriptive summary of the generation.

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

    Type: Message (Google::Cloud::Ces::V1beta::AgentTransfers::TransferRule)

    Optional. Agent transfer rules. If multiple rules match, the first one in the list will be used.

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

    Type: String

    Output only. Misconfigurations or errors in the agent that may affect agent quality.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.