Questions tagged [gcloud-node]

gcloud-node is the Google Cloud Client Library for Node.js - an idiomatic, intuitive, and natural way for Node.js developers to integrate with Google Cloud Platform services, like Cloud Datastore and Cloud Storage.

gcloud-node lets you interact with Google Cloud services, such as Datastore and Storage.

Quick Start

$ npm install --save gcloud

Resources

96 questions
2
votes
2 answers

Meteor can't run gcloud on server side

I'm building a small application that allows you to upload files, store them in the cloud and analyze them with Google Cloud Vision API. I got the uploading and storing working now, I use firebase for that, but when I try to run gcloud I run into…
Zino Hofmann
  • 145
  • 1
  • 9
2
votes
1 answer

Google datastore precondition fail with timestamps

Hello I am trying to query google datastore entries from the node.js api. I have an entity which has an owner (string), a start time (date time) and an end time (date time) I am trying to query for all entities which match the given owner string and…
2
votes
3 answers

Connect to real datastore from local

I have my nodejs directory which looks something like this: MyApp -app.js -mycredetnials.json -package.json +node_modules Inside of my app.js file I have the following code:; var options = { projectId:…
user2924127
  • 6,034
  • 16
  • 78
  • 136
2
votes
1 answer

Query in batch?

Using gcloud-node is it possible to query in batches (multiple queries in 1 network call)? I know it is possible to get and delete in batches, but can I do the same with queries somehow?
2
votes
1 answer

Is there any delay between file get uploaded and get listed?

I use gcloud node v0.24 for interacting with Google Cloud Storage. I've encountered an issue when immediate list after upload doesn't return all the files that were uploaded. So the question is does Bucket#getFiles always list files right after…
Evgeny Timoshenko
  • 3,119
  • 5
  • 33
  • 53
2
votes
1 answer

where to define datastore-indexes.xml in nodeJS project hosted on compute engine?

We are hosting a NodeJS application on compute engine, which connect to google DataStore using gcloud-node. Simple queries are running fine, but complex queries with multipple selects are giving "412: precondition failed" error. More details…
2
votes
1 answer

gcloud socketIO is not working on multi-instances

I am working with socketIO + Nodejs over gcloud app-engine with managed vms. I am facing a problem that when I use manual scaling, the gcloud working well with sockets. But when I use dynamic scaling, sockets not working at all, I think it doesn't…
2
votes
2 answers

ApiError: Forbidden accessing App Engine datastore from local Node.js app

I have an app deployed to App Engine and would like to access the datastore for that app from a Node.js app that I am running locally. I started with the Hello World app for Node and am trying to retrieve an entity from my deployed app's datastore…
Daniel Allen
  • 894
  • 1
  • 10
  • 23
2
votes
1 answer

Google cloud storage using node js

I need to upload and share my documents using google cloud and node js. I have created a google cloud account and also made bucket,folder and object in google storage using console.developers.google.com web page. I have some doubts How many…
2
votes
1 answer

GCloud storage download incomplete on GCE with NodeJS

I'm using GCloud version 0.18.0. On my dev PC, I actually download very well file on Google Storage. But once the script is running on a Google Compute Engine, the download start and says it's complete but it's not. It's a log file so when I'm…
2
votes
1 answer

How to save text of more than 1500 bytes on Google datastore with gcloud-node?

According to https://cloud.google.com/appengine/docs/python/datastore/typesandpropertyclasses?hl=en I should use a Blob type but I don't see such type in gcloud-node. Is it something yet to be implemented? How can I save long text in datastore using…
eloone
  • 4,248
  • 2
  • 32
  • 35
2
votes
1 answer

Logging on gcloud node.js

I'm experimenting with node.js and managed servers. So far so good. I just can't figure out how to log to the console on my development server. I'm talking about the console I see in the terminal after running gcloud preview app run . (not the…
Jude Osborn
  • 1,788
  • 16
  • 24
2
votes
1 answer

Google Datastore slow using gcloud-node

I'm trying to call Google Datastore using gcloud-node and am consistently getting response times of around 400ms for very simple queries. The Google AppEngine status says the service is responding to gets in about 10ms at the moment, but I never go…
ehrencrona
  • 6,102
  • 1
  • 18
  • 24
2
votes
1 answer

Can you update metadata with gcloud-node

I'm using gcloud-node to store files on Google Cloud Storage. I would like to update metadata, like the timestamp ala touch. Is that possible?
jonathanberi
  • 1,867
  • 1
  • 14
  • 24
1
vote
1 answer

gcloud compute global address with node.js package

I'm currently using google cloud's node.js google compute package to create an address. However, it doesn't seem like there's any way to create global (not regional) addresses, as the node.js package requires a region. Through gcloud's REST api, it…
ForgetfulFellow
  • 2,477
  • 2
  • 22
  • 33