Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex API Gateway
  • Начало работы
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • Send
        • Disconnect
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • История изменений
  • Вопросы и ответы
  • Обучающие курсы

В этой статье:

  • gRPC request
  • GetConnectionRequest
  • Connection
  • Identity
  1. Справочник API Websocket
  2. gRPC (англ.)
  3. Connection
  4. Get

API Gateway WebSocket Connection Service, gRPC: ConnectionService.Get

Статья создана
Yandex Cloud
Обновлена 26 ноября 2024 г.
  • gRPC request
  • GetConnectionRequest
  • Connection
  • Identity

Returns the specified connection info.

gRPC requestgRPC request

rpc Get (GetConnectionRequest) returns (Connection)

GetConnectionRequestGetConnectionRequest

{
  "connection_id": "string"
}

Field

Description

connection_id

string

Required field. ID of the connection to get.

ConnectionConnection

{
  "id": "string",
  "gateway_id": "string",
  "identity": {
    "source_ip": "string",
    "user_agent": "string"
  },
  "connected_at": "google.protobuf.Timestamp",
  "last_active_at": "google.protobuf.Timestamp"
}

Field

Description

id

string

ID of the connection.

gateway_id

string

ID of the API Gateway.

identity

Identity

The information about the caller making the request to API Gateway.

connected_at

google.protobuf.Timestamp

The timestamp at which connection was established.

last_active_at

google.protobuf.Timestamp

The timestamp at which connection was last accessed.

IdentityIdentity

Field

Description

source_ip

string

The source IP address of the caller making the request to API Gateway.

user_agent

string

The User Agent of the caller making the request to API Gateway.

Была ли статья полезна?

Предыдущая
Overview
Следующая
Send
Проект Яндекса
© 2025 ООО «Яндекс.Облако»