Function User.getUserId() in Cloud endpoint api returns null for a user object that is not null
Tag : java , By : mylonov
Date : March 29 2020, 07:55 AM
wish helps you You're correct that issue 8848 is the same cause. The underlying issue is language-agnostic and affects both runtimes. At the moment you shouldn't expect the user ID field populated in a User object passed in via method argument in Endpoints. A super suboptimal workaround is to persist the User object to the datastore and read it back. The re-read object will have the user ID included.
|
Authenticating to Google Cloud Endpoints as iOS app (not user with Google account credentials)
Date : March 29 2020, 07:55 AM
wish of those help I have concluded for now that Google Cloud Endpoints allows authentication only based on Google account credentials. What I need is a credential for the entire app (not its users) akin to a service account or an API key. I have used service accounts for server-to-server communication. It does not seem possible to create service accounts for an app (as opposed to a GAE application).
|
Does user have to be logged in to their google accout for Google Cloud Messenger to work on Android
Date : March 29 2020, 07:55 AM
it helps some times For my Android application to receive the registration ID that I need for Google Cloud Messenger does the user have to be logged into their Google account? , pre android3.0, yes
|
Storing User Events History in Google Cloud Datastore vs Google Cloud Bigtable
Date : March 29 2020, 07:55 AM
around this issue Cloud Bigtable doesn't currently work on Google App Engine standard, but that feature is actively being worked on. Cloud Bigtable does current Google App Engine flexible. To get user events into Bigtable, you'd have to use a slightly different architecture. Here's a talk about IoT which is similar to capturing user events in that it's time series data that doesn't change: https://www.youtube.com/watch?v=8PibIlXmd-Q
|
Missing Cloud Function User Agent role in Google Cloud IAM
Date : March 29 2020, 07:55 AM
I hope this helps . Try the following steps to solve this: Disable Cloud Functions API: gcloud services disable cloudfunctions.googleapis.com --project la-cloud-functions
gcloud projects remove-iam-policy-binding la-cloud-functions --member="serviceAccount:service-1092904037961@gcf-admin-robot.iam.gserviceaccount.com" --role="roles/cloudfunctions.serviceAgent"
gcloud services enable cloudfunctions.googleapis.com --project la-cloud-functions
gcloud projects add-iam-policy-binding la-cloud-functions --member="serviceAccount:service-1092904037961@gcf-admin-robot.iam.gserviceaccount.com" --role="roles/cloudfunctions.serviceAgent"
|