Class Agent
Represents an Agent. "A2A" below refers to the Agent-to-Agent protocol.
Implements
Inherited Members
Namespace: Google.Apis.AgentRegistry.v1alpha.Data
Assembly: Google.Apis.AgentRegistry.v1alpha.dll
Syntax
public class Agent : IDirectResponseSchema
Properties
AgentId
Output only. A stable, globally unique identifier for agents.
Declaration
[JsonProperty("agentId")]
public virtual string AgentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Attributes
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.
Declaration
[JsonProperty("attributes")]
public virtual IDictionary<string, IDictionary<string, object>> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, IDictionary<string, object>> |
Card
Output only. Full Agent Card payload, when available.
Declaration
[JsonProperty("card")]
public virtual Card Card { get; set; }
Property Value
| Type | Description |
|---|---|
| Card |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. Create time.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Description
Output only. The description of the Agent, often obtained from the A2A Agent Card. Empty if Agent Card has no description.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Output only. The display name of the agent, often obtained from the A2A Agent Card.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Location
Output only. The location where agent is hosted. The value is defined by the hosting environment (i.e. cloud provider).
Declaration
[JsonProperty("location")]
public virtual string Location { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Identifier. The resource name of an Agent. Format: projects/{project}/locations/{location}/agents/{agent}.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Protocols
Output only. The connection details for the Agent.
Declaration
[JsonProperty("protocols")]
public virtual IList<Protocol> Protocols { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Protocol> |
Skills
Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
Declaration
[JsonProperty("skills")]
public virtual IList<Skill> Skills { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<Skill> |
Uid
Output only. A universally unique identifier for the Agent.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. Update time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Version
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.
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
| Type | Description |
|---|---|
| string |