Skip to content
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

Migrate Node samples to gcloud #43

Closed
rakyll opened this issue Jul 22, 2014 · 5 comments
Closed

Migrate Node samples to gcloud #43

rakyll opened this issue Jul 22, 2014 · 5 comments

Comments

@rakyll
Copy link

rakyll commented Jul 22, 2014

We've just released a pre-stable Datastore client with user friendly interfaces as a part of gcloud npm module. Additionally, [googleapis](the current client Node samples are using) is going to make a major release that will deprecate the current discovery model. We need to migrate to existing samples to gcloud.

@rakyll
Copy link
Author

rakyll commented Jul 22, 2014

googleapis/google-cloud-node#6 also mentions this issue.

@anywhichway
Copy link

When using the gcloud client is the runQuery interface exposed in the dataset object returned from:

'// From Google Compute Engine:
dataset = gcloud.datastore.dataset({
projectId: 'my-project'
});'

The code I tired seems to indicate it is not ... but I might have had a bug.

@ryanseys
Copy link

As @proppy mentioned at the bottom of #50:

I think we should move the sample from this repo to the respective gcloud and google-api-nodejs-client repos.

I agree with this, I don't think that having the samples here does us any benefit because it makes things more segregated. Not sure what the approach should be (remove the samples altogether and point README at links to other samples such as gcloud-node-todos and googleapis examples folder?)

@broady
Copy link

broady commented Sep 2, 2015

+1, definitely should be linking to gcloud-* from the README to point people to the other libraries.

Mention that the libraries in this repo are low-level.

@eddavisson
Copy link
Contributor

Cloud Datastore now has a clients landing page. The README in this project has been updated to point to that page and to make it very clear that these are low-level clients.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants