Questions tagged [google-cloud-platform]
Google Cloud Platform provides cloud computing services that let you build applications and websites, store data, and analyze data on Google's infrastructure.
google-cloud-platform
50,287
questions
542
votes
12
answers
169k
views
What is the difference between Google App Engine and Google Compute Engine?
I was wondering what the difference between App Engine & Compute Engine are. Can anyone explain the difference to me?
519
votes
25
answers
463k
views
How to change the project in GCP using CLI commands
How can I change the current running project to another project in GCP (Google Cloud Platform) account using cli commands other than using gcloud init manually?
gcloud projects list will list the ...
441
votes
5
answers
188k
views
What's the difference between Cloud Firestore and the Firebase Realtime Database?
Google just released Cloud Firestore, their new Document Database for apps.
I have been reading the documentation but I don't see a lot of differences between Firestore and Firebase DB.
The main ...
316
votes
9
answers
160k
views
What is Firebase Firestore 'Reference' data type good for?
I'm just exploring the new Firebase Firestore and it contains a data type called reference. It is not clear to me what this does.
Is it like foreign key?
Can it be used to point to a collection ...
301
votes
9
answers
282k
views
How to open a specific port such as 9090 in Google Compute Engine
I have 2 Google Compute Engine instances and I want to open port 9090 in both the instances. I think we need to add some firewall rules.
Can you tell me how can I do that?
277
votes
34
answers
266k
views
Enabling CORS in Cloud Functions for Firebase
I'm currently learning how to use new Cloud Functions for Firebase and the problem I'm having is that I can't access the function I wrote through an AJAX request. I get the "No 'Access-Control-...
239
votes
14
answers
104k
views
How to use Google App Engine with my own naked domain (not subdomain)?
After hours of reading about and experimenting with DNS records I can access my Google App Engine app via these URLs:
myappid.appspot.com
www.myappid.myowndomain.example
What does not work:
...
231
votes
19
answers
99k
views
How do I structure Cloud Functions for Firebase to deploy multiple functions from multiple files?
I would like to create multiple Cloud Functions for Firebase and deploy them all at the same time from one project. I would also like to separate each function into a separate file. Currently I can ...
221
votes
43
answers
464k
views
gcloud command not found - while installing Google Cloud SDK
I am on a mac and am trying to install the Google Cloud SDK (including the gcloud command line utility) using this command in terminal
curl https://sdk.cloud.google.com | bash
as seen at https://...
202
votes
17
answers
103k
views
Google Firestore - How to get several documents by multiple ids in one round-trip?
I am wondering if it's possible to get multiple documents by a list of ids in one round trip (network call) to the Firestore database.
186
votes
8
answers
24k
views
How to think in data stores instead of databases?
As an example, Google App Engine uses Google Datastore, not a standard database, to store data. Does anybody have any tips for using Google Datastore instead of databases? It seems I've trained my ...
184
votes
26
answers
153k
views
Execution failed for task ':app:mapDebugSourceSetPaths'. > Error while evaluating property 'extraGeneratedResDir' of task
I've checked this answer:
https://stackoverflow.com/a/34834772/13519865
It tells us to remove this line
apply plugin: 'com.google.gms.google-services'
Removing the line as asked completes the build, ...
170
votes
7
answers
39k
views
Pricing of Google App Engine Flexible env, a $500 lesson
I followed the Nodejs on App Engine Flexible env tutorial:
https://cloud.google.com/appengine/docs/flexible/nodejs/create-app
Having successfully deployed and tested the tutorial, I changed the code ...
162
votes
16
answers
72k
views
Choosing Java vs Python on Google App Engine
Currently Google App Engine supports both Python & Java. Java support is less mature. However, Java seems to have a longer list of libraries and especially support for Java bytecode regardless of ...
159
votes
3
answers
117k
views
Composer require branch name
For example I want to require:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/google/google-api-php-client.git"
}
],
"require": {
"google/apiclient": "...