def request_object(request_method, params = {})
      desc = rpc_desc(request_method)
      desc&.input ? desc.input.new(params) : nil
    end
def request_object(request_method, params = {})
      desc = rpc_desc(request_method)
      desc&.input ? desc.input.new(params) : nil
    end
def request_object ( request_method , params = { } ) desc = rpc_desc ( request_method ) desc &. input ? desc . input . new ( params ) : nil end
Get the appropriate protobuf request message for the given request method on the service being called

 @param [Symbol] request_method The method name being called on the remote service
 @param [Hash] params (Optional) A hash of parameters that will populate the request object
 @return [Class] The request object that corresponds to the method being called
Get the appropriate protobuf request message for the given request method on the service being called