'Constructor.
Args:
request: A LogReadRequest object that will be used for Read calls.
timeout: Maximum number of seconds to wait for results before raising
a TimeoutError.'

def __init__(self, request, timeout=None):

    self._request = request
    self._logs = []
    self._read_called = False
    self._last_end_time = None
    self._end_time = None
    if (timeout is not None):
        self._end_time = (time.time() + timeout)
