Sai Cheemalapati
Sai Cheemalapati
Can you try using [`google-auth-library-ruby`](https://github.com/google/google-auth-library-ruby)? For service account auth, you can use the application default credentials flow by pointing the env var `GOOGLE_APPLICATION_CREDENTIALS` to the path of your JSON key....
So the auth library raises this error if credentials could not be found in the default locations. The library checks your env vars, a well known path, and a system...
And are you using a `json` file as your key? I see in your first comment you loaded a `p12` format key, can you try downloading a `json` service account...
So I've tried this on my machine: Gemfile: ``` source 'https://rubygems.org' gem 'google-api-client', '~> 0.10' ``` sample.rb: ```ruby require 'google/apis/calendar_v3' scopes = 'https://www.googleapis.com/auth/calendar' authorization = Google::Auth.get_application_default(scopes) cal = Google::Apis::CalendarV3::CalendarService.new cal.authorization...
Give me another minute and I'll find the right call for the other env vars
Actually I would just recommend having some process to securely deliver the key to your service on deployment, it's not particularly different form using an env var, given that the...
Ah yes, I had https://github.com/google/google-api-ruby-client/pull/541 out for that but forgot to update, will do. Thanks for the issue
That would be a huge help!
It seems the People API owners changed the canonical name of their API from "People" to "People Service". That's forced the Ruby code generator to produce [`Google::Apis::PeopleV1::PeopleServiceService`](https://github.com/google/google-api-ruby-client/blob/master/generated/google/apis/people_v1/service.rb#L34). That's a pretty...
This is my fault, and related to #590 I plan to release v0.13.0 to revert this to the past behavior (`get_spreadsheet_values`).