The threat that Germany posed was to the trade routes to India of the British Empire that starts in the North Sea, where the major confrontations took place, and extends down to the Mediterranean and through Suez to India.
As I am perfectly sure you are aware, the threat by land to India was always the Russian expansionism through the Afghanistan and the North West Frontier.
I am also pretty sure you are aware that the hold the British had on India was in large part at the consent of political interests within India who saw the advantage of being part of a global Empire. It was either the British or some other imperial power, at a time when Empires where very much in fashion. The British kept other powers out of India and consolidated it as a nation, unifying the country with the railway system and introducing national institutions like an army and a civil service. Inevitably that held the seeds of its own demise. Jinnah, Gandhi, Nehru, Bose and all of those revered names of Indian Independence were from an elite educated in the UK, required to run a civil administration. They were all rather better at being lawyers than statesmen.
At most, a couple of thousand British, managed to control a subcontinent of hundreds of millions? How, if not by balancing the concerns of an imperial project, with local political interests. It sometimes went wrong, nonetheless it was a relationship that lasted a considerable time and stabilised a volatile territory.
However, if you would like to reduce the British involvement in India to a simple case of colonial exploitation. Fine, that is the standard position of chippy Indian nationalists and their struggle to find some unifying national identity. However, such a simplification hardly does them any credit. If it was so bad, why did it last?
It has more than a touch of ‘What did the Romans ever do for us?’ about it.
In the 68 years since Independence, Indian politicians have proved themselves to be far more adept at draining the wealth of India into their own pockets than the British ever did. They have mismanaged the economy and seen economic growth eclipsed by the better organised Chinese who are growing in influence.
Shashi Tharoor is a politician setting out his stall in Indian politics and the simplistic ‘it was all the Britishers fault’ sentiments are part of that.