'Initializer.
Args:
call: Method name to call, as a string
request: The request object
response: The response object
deadline: Deadline for RPC call in seconds; if None use the default.
get_result_hook: Required result hook. Must be a function that takes
no arguments. Its return value is returned by get_result().'

def __init__(self, call, request, response, deadline, get_result_hook):

    _ValidateDeadline(deadline)
    self._get_result_hook = get_result_hook
    self._rpc = apiproxy_stub_map.UserRPC('search', deadline=deadline)
    self._rpc.make_call(call, request, response)
