1.1.0 (latest) 1.0.0

    public sealed class AgentInterface : IMessage<AgentInterface>, IEquatable<AgentInterface>, IDeepCloneable<AgentInterface>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AgentInterface

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AgentInterface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentInterface.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AgentInterface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentInterface.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AgentInterface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.AgentInterface.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.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` |   |