See changes proposed in https://github.com/google/google-api-php-client/pull/106/files
See changes proposed in https://github.com/google/google-api-php-client/pull/106/files