To be fair they did give ten months notice so people had time to manage the change, and what we are talking about here isn't "correct" use for that service anyway (it was for source and issue management, not library hosting or a more general CDN).
Doesn't help the fact that Google repeatedly shut down services that are in use. It is getting harder and harder to use Google services in business because it has become a liability.
"it" being "The idea they might shut down a free service with only 10 months notice".
If your company relies on Google to this extent, and does not have the staff to fix the issues inside 10 months then you need to reconsider your business plan.