public sealed class Agent : IMessage<Agent>, IEquatable<Agent>, IDeepCloneable<Agent>, IBufferMessage, IMessageReference documentation and code samples for the Agent Registry v1 API class Agent.
Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
Namespace
Google.Cloud.AgentRegistry.V1Assembly
Google.Cloud.AgentRegistry.V1.dll
Constructors
Agent()
public Agent()Agent(Agent)
public Agent(Agent other)| Parameter | |
|---|---|
| Name | Description |
other |
Agent |
Properties
AgentId
public string AgentId { get; set; }Output only. A stable, globally unique identifier for agents.
| Property Value | |
|---|---|
| Type | Description |
string |
|
AgentName
public AgentName AgentName { get; set; }| Property Value | |
|---|---|
| Type | Description |
AgentName |
|
Attributes
public MapField<string, Struct> Attributes { get; }Output only. Attributes of the Agent. Valid values:
agentregistry.googleapis.com/system/Framework: {"framework": "google-adk"} - the agent framework used to develop the Agent. Example values: "google-adk", "langchain", "custom".agentregistry.googleapis.com/system/RuntimeIdentity: {"principal": "principal://..."} - the runtime identity associated with the Agent.agentregistry.googleapis.com/system/RuntimeReference: {"uri": "//..."}- the URI of the underlying resource hosting the Agent, for example, the Reasoning Engine URI.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringStruct |
|
Card
public Agent.Types.Card Card { get; set; }Output only. Full Agent Card payload, when available.
| Property Value | |
|---|---|
| Type | Description |
AgentTypesCard |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. Create time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }Output only. The display name of the agent, often obtained from the A2A Agent Card.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Location
public string Location { get; set; }Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Identifier. The resource name of an Agent.
Format: projects/{project}/locations/{location}/agents/{agent}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Protocols
public RepeatedField<Agent.Types.Protocol> Protocols { get; }Output only. The connection details for the Agent.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAgentTypesProtocol |
|
Skills
public RepeatedField<Agent.Types.Skill> Skills { get; }Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAgentTypesSkill |
|
Uid
public string Uid { get; set; }Output only. A universally unique identifier for the Agent.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. Update time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Version
public string Version { get; set; }Output only. The version of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no version or agent is not an A2A Agent.
| Property Value | |
|---|---|
| Type | Description |
string |
|