1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Agent Registry v1 API class Interface.

Represents the connection details for an Agent or MCP Server.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Interface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.Interface.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Interface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.Interface.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Interface](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.Interface.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.AgentRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AgentRegistry.V1/latest/Google.Cloud.AgentRegistry.V1.md.txt)

## Assembly

Google.Cloud.AgentRegistry.V1.dll

## Constructors

### Interface()

    public Interface()

### Interface(Interface)

    public Interface(Interface other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Interface` |

## Properties

### ProtocolBinding

    public Interface.Types.ProtocolBinding ProtocolBinding { get; set; }

Required. The protocol binding of the interface.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `InterfaceTypesProtocolBinding` |   |

### Url

    public string Url { get; set; }

Required. The destination URL.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |