-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Cloud Functions #1688
Conversation
jmdobry
commented
Oct 13, 2016
•
edited
Loading
edited
- - GAPIC code
- - Implementation
- - Functions#cloudfunction
- - Functions#createFunction
- - Functions#getFunctions
- - Functions#getFunctionsStream
- - Functions#operation
- - CloudFunction#call
- - CloudFunction#create
- - CloudFunction#delete
- - CloudFunction#exists
- - CloudFunction#get
- - CloudFunction#setMetadata
- - unit tests
- - system tests
- - docs
@stephenplusplus @callmehiphop The Cloud Functions API The PR is done (except for docs), barring any requested changes during review. I experimentally implemented this PR using some ES2015 features (see #1855), and set the |
@jmdobry not sure what view you're seeing, I do see more recent versions of Node.js 4.x on node.green (not that there is a difference in the list of supported language features that I am aware of between 4.3.x and 4.7.x) |
I see the more recent 4.x versions too, but I thought it was prudent to stay compatible with older 4.x versions. |
Instead of dropping support for 0.10 and 0.12 straight away in google-auth-library-nodejs, perhaps a better experiment would be to drop support for 0.10 and 0.12 in a brand new package, such as this one. |
What's the plan / status of this? |
Good question. cc @omaray Option 1Continue forward with this PR. There have been many changes to the google-cloud-node common libraries since I submitted this, so it's needs some work to get up-to-date. When I left off the PR was ready for review. Option 2Expose the Gapic code to the user and delete the majority of my handwritten code, keeping only the helper function that zips and uploads a directory to Google Cloud Storage in preparation for creating/deploying a new Cloud Function (because it's a beast, and I'd hate to have to make users do all that themselves). |
Worth noting: This has been adjudicated already. 0.12 support is gone. |
Our team is working on the concept of a "partial GAPIC", which is basically option 2. We should almost certainly do that. I should have a design doc soon and this could be a useful proof case for it. |