getById constant

Spec<GetByIdRequest, GetByIdResponse> const getById

GetById retrieves one or more devices by their unique identifiers. Supports batch retrieval for efficiency.

Implementation

static const getById = connect.Spec(
  '/$name/GetById',
  connect.StreamType.unary,
  devicev1device.GetByIdRequest.new,
  devicev1device.GetByIdResponse.new,
  idempotency: connect.Idempotency.noSideEffects,
);