gcloud-node Questions

2

Is there any way to get the current instance id from app-engine in node.js? I found solutions only for java and python but nothing for node.

3

Solved

I'm using gcloud-node. createTopic api returns error 409, if that topic exist already. Is there a flag that can implicitly create a topic when publishing a message or Is there an API to check if ...
Crocodile asked 10/8, 2016 at 4:7

5

Solved

I'm trying to save a Buffer (of a file uploaded from a form) to Google Cloud storage, but it seems like the Google Node SDK only allows files with a given path to be uploaded (Read / Write streams)...
Tarbes asked 10/4, 2016 at 20:25

4

I need to delete multiple objects from google cloud storage. I have deleted one object at a time. This is my code: var gcloud = require('gcloud')({ projectId: "sampleProject1" }); var gcs = gcl...
Nations asked 4/4, 2016 at 13:8

2

Solved

I'm running tests with the gcloud datastore emulator for node. I want to reset the db before each test. Is there a quick way like a 'drop' command or something I can use in a beforeEach block ?
Lucretialucretius asked 18/8, 2016 at 21:41

3

Solved

We've got a hefty little node app and wanted to try out the google cloud deployment suite to get it online, however our deployments are always resulting in a page with a 500 server error. Normall...

2

Solved

I am trying to rename or move a folder in google cloud storage using the gcloud api. A similar question explains how to delete a folder: Delete folder in Google Cloud Storage using nodejs gcloud a...
Bloodcurdling asked 10/12, 2016 at 11:38

1

Solved

I'm writing code that uploads a file that was fetched using node-fetch to a bucket in Google Cloud Storage using gcloud-node. So far everything works out, but I'm having trouble finding out how to...
Metaphor asked 5/8, 2016 at 12:53

2

I am using gcloud nodejs api to access Google Cloud Storage. I can save/delete/exists files individually, but I didn't find a way to delete a folder or even to list the files in a folder using gclo...
Noted asked 26/7, 2016 at 18:55

2

Solved

I have made a Dockerfile for deploying my node.js application into google container engine .It looks like as below FROM node:0.12 COPY google-cloud-sdk /google-cloud-sdk RUN /google-cloud-sdk/bin/...

1

Solved

I have followed the tutorial https://cloud.google.com/nodejs/getting-started/hello-world (deploying to Google Cloud Platform hello world application on node.js) and after last command: $ gcloud pr...
Extemporize asked 3/11, 2015 at 12:11

1

Solved

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"...
Guarani asked 24/9, 2015 at 19:17

1

How to create an entity with a parent using gcloud, datastore and nodejs? How to search for all the entities with a given parent? Something like (this does not work): var path = [{kind: 'Parent'...
Invitation asked 21/8, 2015 at 10:39

3

Solved

I get this error on appengine when I run gcloud preview app run app.yaml: The --custom_entrypoint flag must be set for custom runtimes My app.yamllooks like: version: 0-1-1 runtime: custom vm: tr...
Schmaltzy asked 7/7, 2015 at 23:1
1

© 2022 - 2024 — McMap. All rights reserved.