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
0
votes
0 answers

Model datastore application

I am looking how to create an efficient model which will satisfy the requirements I put below. I have tried using gcloud-node but have noticed it has limitations with read consistencies, references, etc. I would prefer to write this is nodejs, but…
0
votes
1 answer

Google Cloud Platform file to node server via gcloud

I have a bucket on Google Cloud Platform where part of my application adds small text files with unique names (no extension). A second app needs to retrieve individual text files (only one at a time) for insertion into a template. I cannot find the…
Squidinker
  • 169
  • 2
  • 14
0
votes
1 answer

gcloud-node leaves behind files in /tmp?

I have been using gcloud-node to upload files to GC Storage, but I noticed that I'm getting a multitude of these remnants in my /tmp directory: /tmp/3a1a48fa-3d83-4996-8e88-32bc01c36e86 /tmp/3a1a48fa-3d83-4996-8e88-32bc01c36e86/.config …
0
votes
1 answer

Does gcloud-node have a way to set the http timeout for uploading files to storage?

I'm uploading small files (via Bucket.upload), and occasionally I get a 503 or 500 from the google backend, but it usually returns that after ~5 or ~10 seconds (I assume it's the timeout on google's end). I noticed in gcloud-node util it sets the…
0
votes
2 answers

How can I fix the following Google Cloud Platform deployment error? [Error 3]

I was following the 'Using Cloud SQL with Node.js' tutorial (Using Cloud SQL - Node.js) and the following error occurred when I tried deploying the app to the Google Cloud Platform. Beginning deployment... If this is your first deployment, this may…
0
votes
1 answer

Issue with gcloud-node using BigQuery

I am trying the basic example on Github to connect to BigQuery. I did npm install --save gcloud as advised and it seemed to have installed correctly. Is there anything else I need to…
user1880957
  • 1,146
  • 3
  • 15
  • 29
0
votes
0 answers

How do I configure project and gcloud to connect to Datastore?

I'm unable to get my Google Compute instance to speak to the Datastore (within the same project). I believe I've set everything up correctly: Google Compute instance has the full API scope All the relevant APIs have been enabled in the…
Blixt
  • 49,547
  • 13
  • 120
  • 153
0
votes
2 answers

gcloud can't send custom https header data

I am working on cloud app using nodeJs, I am sending data in the request body, and send secret key in the header request. Then I check and validate the secret key that I sent in the header, when I run the app locally over 127.0.0.1:8080/ I got every…
0
votes
0 answers

How to use gcloud-node for storage transfer service

I could not find any documentation on how to use gcloud-node for creating/listing a storage transfer job. Any help on how I can achieve this using gcloud-node or node.js will be helpful. Thanks
user12334
  • 98
  • 8
0
votes
1 answer

gcloud node - cross-group transaction?

I am using gcloud node and would like to perform a cross-group transaction. Is it possible with gcloud node? I could not find any documentation about this at https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.26.0 ?
user2924127
  • 6,034
  • 16
  • 78
  • 136
0
votes
1 answer

gcloud Datastore transaction issue using nodejs

I am using nodejs to contact the google datastore. This is my code: dataset.runInTransaction(function(transaction, done,err) { // From the `transaction` object, execute dataset methods as usual. // Call `done`…
user2924127
  • 6,034
  • 16
  • 78
  • 136
0
votes
0 answers

gcloud nodejs library see if entity exists efficently

I am using glcoud nodejs library for Google datastore (https://googlecloudplatform.github.io/gcloud-node/#/docs/v0.26.0/datastore). I am registering users and as a check I want to only insert if the username (key) is not already registered. I want…
user2924127
  • 6,034
  • 16
  • 78
  • 136
0
votes
0 answers

gcloud nodejs copy table

I can't copy a table to a different dataset, but I can do it to the same one. Am I doing anything wrong? var project_id = "project" var dataset_id = "testDb"; var dataset_bk_id = "testDbBk" var table_id = "test"; var dataset =…
Jorge Z
  • 25
  • 6
0
votes
1 answer

Argument [app.yaml] is not a valid deployable file google cloud error

I'm going through the hello world tutorial on how to deploy a nodejs app to google cloud. I downloaded the google cloud sdk. I finished all the steps until "Deploy the app to Google Cloud Platform". When I get there, I enter the command they tell…
Rockstar5645
  • 4,376
  • 8
  • 37
  • 62
0
votes
0 answers

Cannot download Google Cloud Storage file with Node gcloud package

I have gcloud set up in my application and I seem to be successfully authenticated. I can run the following without any problem: GoogleCloud = require('gcloud')({ /* my credentials */ }); GoogleCloud.storage().createBucket('myBucket', function (err,…
Micah Alcorn
  • 2,363
  • 2
  • 22
  • 45