public sealed class AgentInterface : IMessage<AgentInterface>, IEquatable<AgentInterface>, IDeepCloneable<AgentInterface>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class AgentInterface.
Declares a combination of a target URL, transport and protocol version for interacting with the agent. This allows agents to expose the same functionality over multiple protocol binding mechanisms.
Implements
IMessageAgentInterface, IEquatableAgentInterface, IDeepCloneableAgentInterface, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
AgentInterface()
public AgentInterface()AgentInterface(AgentInterface)
public AgentInterface(AgentInterface other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentInterface |
Properties
ProtocolBinding
public string ProtocolBinding { get; set; }Required. The protocol binding supported at this URL. This is an open form
string, to be easily extended for other protocol bindings. The core ones
officially supported are JSONRPC, GRPC and HTTP+JSON.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ProtocolVersion
public string ProtocolVersion { get; set; }Required. The version of the A2A protocol this interface exposes. Use the latest supported minor version per major version. Examples: "0.3", "1.0"
| Property Value | |
|---|---|
| Type | Description |
string |
|
Tenant
public string Tenant { get; set; }Tenant ID to be used in the request when calling the agent.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Url
public string Url { get; set; }Required. The URL where this interface is available. Must be a valid absolute HTTPS URL in production. Example: "https://api.example.com/a2a/v1", "https://grpc.example.com/a2a"
| Property Value | |
|---|---|
| Type | Description |
string |
|