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

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

Represents the protocol of an Agent.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #interfaces

    def interfaces() -> ::Array<::Google::Cloud::AgentRegistry::V1::Interface>

**Returns**

- (::Array\<[::Google::Cloud::AgentRegistry::V1::Interface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Cloud-AgentRegistry-V1-Interface)\>) --- Output only. The connection details for the Agent.

### #protocol_version

    def protocol_version() -> ::String

**Returns**

- (::String) --- Output only. The version of the protocol, for example, the A2A Agent Card version.

### #type

    def type() -> ::Google::Cloud::AgentRegistry::V1::Agent::Protocol::Type

**Returns**

- ([::Google::Cloud::AgentRegistry::V1::Agent::Protocol::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Cloud-AgentRegistry-V1-Agent-Protocol-Type)) --- Output only. The type of the protocol.