{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1355","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1355/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1355/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1355/events","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1355","id":158126171,"number":1355,"title":"authClient error after updating to 0.30 or higher","user":{"login":"richardkazuomiller","id":1243814,"avatar_url":"https://avatars.githubusercontent.com/u/1243814?v=3","gravatar_id":"","url":"https://api.github.com/users/richardkazuomiller","html_url":"https://github.com/richardkazuomiller","followers_url":"https://api.github.com/users/richardkazuomiller/followers","following_url":"https://api.github.com/users/richardkazuomiller/following{/other_user}","gists_url":"https://api.github.com/users/richardkazuomiller/gists{/gist_id}","starred_url":"https://api.github.com/users/richardkazuomiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardkazuomiller/subscriptions","organizations_url":"https://api.github.com/users/richardkazuomiller/orgs","repos_url":"https://api.github.com/users/richardkazuomiller/repos","events_url":"https://api.github.com/users/richardkazuomiller/events{/privacy}","received_events_url":"https://api.github.com/users/richardkazuomiller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-02T12:13:53Z","updated_at":"2016-06-02T12:44:57Z","closed_at":"2016-06-02T12:32:09Z","body":"After updating gcloud I get this error that crashes the process when trying to make any requests to datastore on v0.34.0\r\n\r\n````\r\n/Users/richardkazuomiller/Sites/feedproxy/node_modules/gcloud/lib/common/grpc-service.js:430\r\n  this.authClient.getAuthClient(function(err, authClient) {\r\n                  ^\r\n\r\nTypeError: this.authClient.getAuthClient is not a function\r\n    at Datastore.GrpcService.getGrpcCredentials_ (/Users/richardkazuomiller/Sites/feedproxy/node_modules/gcloud/lib/common/grpc-service.js:430:19)\r\n    at Datastore.GrpcService.request (/Users/richardkazuomiller/Sites/feedproxy/node_modules/gcloud/lib/common/grpc-service.js:218:10)\r\n    at DatastoreRequest.request_ (/Users/richardkazuomiller/Sites/feedproxy/node_modules/gcloud/lib/datastore/request.js:885:8)\r\n    at DatastoreRequest.get (/Users/richardkazuomiller/Sites/feedproxy/node_modules/gcloud/lib/datastore/request.js:348:8)\r\n    at DatastoreRequest.get (/Users/richardkazuomiller/Sites/feedproxy/node_modules/gcloud/lib/datastore/request.js:292:10)\r\n    at Object.<anonymous> (/Users/richardkazuomiller/Sites/feedproxy/lib/dataset.js:9:11)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n````\r\n\r\nThis is my code\r\n\r\n````\r\nconst options = {\r\n  projectId: <my-project-id>,\r\n  keyFilename: <my-key-json>\r\n}\r\nconst gcloud = require('gcloud')(options)\r\nconst datastore = gcloud.datastore()\r\n\r\nconst key = datastore.key(['Foo','bar'])\r\n\r\ndatastore.get(key,function(err,entity){\r\n  console.log('foo',err,entity)\r\n})\r\n\r\nmodule.exports = datastore\r\n````\r\n\r\nThe same code, other than changing `datastore.dataset()` to `datastore()` works on v0.29. Am I doing something wrong or is this a bug?"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/comments/223280287","html_url":"https://github.com/GoogleCloudPlatform/gcloud-node/issues/1355#issuecomment-223280287","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-node/issues/1355","id":223280287,"user":{"login":"stephenplusplus","id":723048,"avatar_url":"https://avatars.githubusercontent.com/u/723048?v=3","gravatar_id":"","url":"https://api.github.com/users/stephenplusplus","html_url":"https://github.com/stephenplusplus","followers_url":"https://api.github.com/users/stephenplusplus/followers","following_url":"https://api.github.com/users/stephenplusplus/following{/other_user}","gists_url":"https://api.github.com/users/stephenplusplus/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenplusplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenplusplus/subscriptions","organizations_url":"https://api.github.com/users/stephenplusplus/orgs","repos_url":"https://api.github.com/users/stephenplusplus/repos","events_url":"https://api.github.com/users/stephenplusplus/events{/privacy}","received_events_url":"https://api.github.com/users/stephenplusplus/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T12:44:57Z","updated_at":"2016-06-02T12:44:57Z","body":"Haha, only thanks to you for sending me in the right direction 😄 "}}
{"actor":{"display_login":"stephenplusplus"}}