Yandex Cloud
Поиск
Связаться с намиПопробовать бесплатно
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Serverless Integrations
  • Сопоставление с другими сервисами Yandex Cloud
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • Start
        • Stop
        • ListAccessBindings
        • SetAccessBindings
        • UpdateAccessBindings
        • ListOperations
  • Метрики Monitoring
  • Публичные материалы
  • История изменений

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

  • gRPC request
  • GetConnectorRequest
  • Connector
  • Source
  • DataStream
  • MessageQueue
  • Timer
  • EventServiceSource
  • AuditTrails
  1. Справочник API EventRouter
  2. gRPC (англ.)
  3. Connector
  4. Get

EventRouter Service, gRPC: ConnectorService.Get

Статья создана
Yandex Cloud
Обновлена 9 декабря 2025 г.
  • gRPC request
  • GetConnectorRequest
  • Connector
  • Source
  • DataStream
  • MessageQueue
  • Timer
  • EventServiceSource
  • AuditTrails

Returns the specified bus.
To get the list of all available connectors, make a List request.

gRPC requestgRPC request

rpc Get (GetConnectorRequest) returns (Connector)

GetConnectorRequestGetConnectorRequest

{
  "connector_id": "string"
}

Field

Description

connector_id

string

Required field. ID of the connector to return.

ConnectorConnector

{
  "id": "string",
  "bus_id": "string",
  "folder_id": "string",
  "cloud_id": "string",
  "created_at": "google.protobuf.Timestamp",
  "name": "string",
  "description": "string",
  "labels": "map<string, string>",
  "source": {
    // Includes only one of the fields `data_stream`, `message_queue`, `timer`, `event_service_source`, `audit_trails`
    "data_stream": {
      "database": "string",
      "stream_name": "string",
      "consumer": "string",
      "service_account_id": "string"
    },
    "message_queue": {
      "queue_arn": "string",
      "service_account_id": "string",
      "visibility_timeout": "google.protobuf.Duration",
      "batch_size": "int64",
      "polling_timeout": "google.protobuf.Duration"
    },
    "timer": {
      "cron_expression": "string",
      "time_zone": "string",
      "payload": "string"
    },
    "event_service_source": "EventServiceSource",
    "audit_trails": "AuditTrails"
    // end of the list of possible fields
  },
  "deletion_protection": "bool",
  "status": "Status"
}

Field

Description

id

string

ID of the connector.

bus_id

string

ID of the bus that the connector belongs to.

folder_id

string

ID of the folder that the connector resides in.

cloud_id

string

ID of the cloud that the connector resides in.

created_at

google.protobuf.Timestamp

Creation timestamp.

name

string

Name of the connector.

description

string

Description of the connector.

labels

object (map<string, string>)

Resource labels as key:value pairs.

source

Source

Source of the connector.

deletion_protection

bool

Deletion protection.

status

enum Status

Status of the connector.

  • RUNNING
  • STOPPED: disabled by user
  • RESOURCE_NOT_FOUND: source does not exist
  • PERMISSION_DENIED: service account does not have read permission on source
  • SUBJECT_NOT_FOUND: service account not found
  • DELETING: deletion in progress
  • CREATING: creation in progress

SourceSource

Field

Description

data_stream

DataStream

Includes only one of the fields data_stream, message_queue, timer, event_service_source, audit_trails.

message_queue

MessageQueue

Includes only one of the fields data_stream, message_queue, timer, event_service_source, audit_trails.

timer

Timer

Includes only one of the fields data_stream, message_queue, timer, event_service_source, audit_trails.

event_service_source

EventServiceSource

Includes only one of the fields data_stream, message_queue, timer, event_service_source, audit_trails.

audit_trails

AuditTrails

Includes only one of the fields data_stream, message_queue, timer, event_service_source, audit_trails.

DataStreamDataStream

Field

Description

database

string

Required field. Stream database.
example: /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********

stream_name

string

Required field. Stream name, absolute or relative.

consumer

string

Required field. Consumer name.

service_account_id

string

Required field. Service account which has read permission on the stream.

MessageQueueMessageQueue

Field

Description

queue_arn

string

Required field. Queue ARN.
Example: yrn:yc:ymq:ru-central1:aoe***:test

service_account_id

string

Required field. Service account which has read access to the queue.

The maximum string length in characters is 50.

visibility_timeout

google.protobuf.Duration

Queue visibility timeout override.

batch_size

int64

Batch size for polling.

The maximum value is 10.

polling_timeout

google.protobuf.Duration

Queue polling timeout.

TimerTimer

Field

Description

cron_expression

string

Required field. cron expression, with second precision

The maximum string length in characters is 100.

time_zone

string

time zone, e.g. Europe/Moscow

payload

string

payload to send to target

The maximum string length in characters is 4096.

EventServiceSourceEventServiceSource

Field

Description

Empty

AuditTrailsAuditTrails

Field

Description

Empty

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

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