Google was a premium partner in the Prysm NSA program. According to the first leaks, Google along with Facebook, Skype and Apple were the first to sign up to the NSA spying programs as partners.
All along they're trying to paint themselves as victims of the spying, which is ridiculous really...but I guess they can still fool a large population.