1. Contact service you want result from
2. If 1 fails, THEN contact Google
3. if 2 fails, internet is down, otherwise, service is down
1. Run script / snippet
2. If 1 fails, it failed, like any other *nix tool.
... there is zero need to get Google involved.
1. Contact service you want result from
2. If 1 fails, THEN contact Google
3. if 2 fails, internet is down, otherwise, service is down