The question is whether Google is a career. Places like Google, Microsoft Research (and, perhaps Facebook) allow for the freedom that academics crave, but that's only three places. If research-style engineering goes out of fashion in favor of enterprise middle-management hell, you're going to be left high and dry if you don't have a publishing record to fall back on when you try going back to the Ivory Tower.
Fortunately, those places have enough cachet that you can say "I worked at Google" and no publishing record for those years are forgiven, but if you don't have one (say, you went half way through your PhD), coming back is going to be hard. That's why the decision is so difficult: you're taking a bet on whether the benefits taken for granted in academia are going to continue in industry. A broader shift would have to show more companies than those three, in order to provide (for want of a better word) "safety" that your worklife goals aren't in jeopardy.