fetchRecords method

Stream<LogRecord> fetchRecords({
  1. String? cloudProjectId,
  2. String? cloudCapsuleId,
  3. DateTime? beforeTime,
  4. DateTime? afterTime,
  5. int? limit,
})

Fetches log records from the specified capsule.

Implementation

_i2.Stream<_i28.LogRecord> fetchRecords({
  String? cloudProjectId,
  String? cloudCapsuleId,
  DateTime? beforeTime,
  DateTime? afterTime,
  int? limit,
}) => caller
    .callStreamingServerEndpoint<_i2.Stream<_i28.LogRecord>, _i28.LogRecord>(
      'logs',
      'fetchRecords',
      {
        'cloudProjectId': cloudProjectId,
        'cloudCapsuleId': cloudCapsuleId,
        'beforeTime': beforeTime,
        'afterTime': afterTime,
        'limit': limit,
      },
      {},
    );