Closed jarodmeng closed 8 years ago
Yes it's not enabled for GoogleCloudSorage as it carries a charge and I don't want people to be able to charge my credit card :).
I need to update the docs to say that though - it should work once you use your own Google project keys and add a credit card to that. There is a guide to that in the googleAuthR readme that I will migrate to here soon. Let me know how it goes.
I have update the readme with the necessary information: https://github.com/cloudyr/googleCloudStorageR
According to google cloud platform engineer, all API calls are charged to the account hosting the bucket. If an API call doesn't have a bucket element (such as listing all buckets in a project), it's charged to the account hosting the project. Since users of googleCloudStorageR
will only be using their own projects/buckets in the API calls, I don't think your account would be charged.
Hadley's bigrquery
uses the same approach and doesn't bother to ask end user to provide their own oauth app.
Ok cool, I've turned it back on then :)
Confirmed it works now. Thanks.
I tried the demo example to list buckets I have in my project, but was met with an API error.
The error says:
It seems that
201908948134
refers to the default OAuth client ingoogleAuthR
. Is it possible that the default client doesn't have Cloud Storage JSON API enabled and it's causing the error?