# Agent Registry V1 API - Class Google::Cloud::AgentRegistry::V1::Interface (v0.1.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::Interface.

Represents the connection details for an Agent or MCP Server.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #protocol_binding

    def protocol_binding() -> ::Google::Cloud::AgentRegistry::V1::Interface::ProtocolBinding

**Returns**

- ([::Google::Cloud::AgentRegistry::V1::Interface::ProtocolBinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Cloud-AgentRegistry-V1-Interface-ProtocolBinding)) --- Required. The protocol binding of the interface.

### #protocol_binding=

    def protocol_binding=(value) -> ::Google::Cloud::AgentRegistry::V1::Interface::ProtocolBinding

**Parameter**

- **value** ([::Google::Cloud::AgentRegistry::V1::Interface::ProtocolBinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Cloud-AgentRegistry-V1-Interface-ProtocolBinding)) --- Required. The protocol binding of the interface.
**Returns**

- ([::Google::Cloud::AgentRegistry::V1::Interface::ProtocolBinding](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Cloud-AgentRegistry-V1-Interface-ProtocolBinding)) --- Required. The protocol binding of the interface.

### #url

    def url() -> ::String

**Returns**

- (::String) --- Required. The destination URL.

### #url=

    def url=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The destination URL.
**Returns**

- (::String) --- Required. The destination URL.