Newest 'google-app-engine' Questions

Q&A for professional and enthusiast programmers

Why are the env variables for the Datastore Emulator incorrectly detected?

I run the Datastore emulator, and I get the following apparently correct console log > gcloud beta emulators datastore start --project=myproj --data-dir "./gcloud_datastore" [datastore] If you ...

403 Forbidden with endTimeUnspecified on Google calendar API?

It seems that the Google calendar API doesn't support to insert events (service.events().insert(calendarId='primary', body=ev)) with endTimeUnspecified (aka all-day event), at least with the google-...

Is it possible to connect and query a BigQuery table from Google App-Engine (python) without OAuth2 authentication dialog?

I’m working on a Google App-Engine project which stores around 100K entities in the Datastore. Since I have to search in the string properties of those entities I have to find an effective way to do ...

How to get entity by ancestor key datastore?

I need to get a sub entity from the key of parent. I dont know even if its possible. But what I tried is as following: public function get_service_details(){ $datastore = new Google\Cloud\...

Google Cloud Service Accounts with Viewer access can perform write operations using appengine remote api

I created a service account and gave it Viewer access in IAM. Downloaded p12 key for the service account and used it to access Cloud Project using remote_api. Even though only Project Viewer access is ...

Serving static files from cloud storage in production env and from local directory in local environment [duplicate]

Just need a idea of how to include static files in HTML, we are using Flask project in google app engine, currently we are serving static files via google cloud storage with url pointed to http://...

email finder for companies

I have a list of company names something around 8000, I need to get the email addresses of those companies. I tried out some of the crawlers , google api but those aren't useful enough. I even look ...

Google Drive API Multipart upload 502 error

I have PHP code which inserts files into Google Drive. Most of the time it works fine. However I've noticed lately that it will randomly return a 502 error as follows: <title>Error 502 (...

Composite or FilterPredicate query on Ref'd entity

Here's what I have: class A{ Ref<foo> b; Ref<foo> c; int code; Date timestamp } The pseudo "where" clause of the SQL statement would like like this: where b = object or ...

GAE EndpointsModel API With Python : How can i access the single value from json response of google endpoints model api with python

I have to access the one single value from the JSON_array response format of google endpoints model API with python how can i access it. i tried following code but it give whole json array data @...

How do I configure Java EE running on GAE to work with Angular UI Router in html5Mode?

I am attempting to set the UI Router location provider html5Mode to true for my Angular application: locationProvider.html5Mode(true). While this works client side (appropriately redirects) I am ...

gcloud deploy never finish with Updating service

I'm trying to deploy a python app to App Engine. I've already deploy this app before but for some reason now it upload the files but then write Updating service [default].../ and never finishes. I'm ...

Add custom headers to Cloud Endpoints call in iOS (Swift) using client library

Using Cloud Endpoints in an iOS (Swift) app, how can one add custom headers? Here is the same question answered for Android, but I cannot find an iOS example: Modify HTTP headers in Google App ...

How can I avoid using User IDs as user folder names in Google Cloud Storage?

This is stated in the Google Cloud Storage Naming Best Practices documentation. Don't use user IDs, email addresses, project names, project numbers, or any personally identifiable information (PII) ...

gcloud App Engine Flexible Strangeness with Docker and Babel

I've been deploying a server side node application to a custom app engine runtime for a few months with no troubles. The only half interesting thing about it is that a run babel against the source ...

Running Maven Project in Google Compute Engine [Debian 8] Build fails

I am trying to run my maven Java application on a VM Instance on Google Compute Engine. Here's what I have already added in my machine: Python 2.7 Java 1.8 Cassandra CQL Maven I'm trying to run my ...

Servlet throws class not found exception

I am new to google app engine, I created a servlet just like the one already in the project after we create it: public class UserServlet extends HttpServlet{ public void doGet(...

Big Query API - Quota exceeded: Your table exceeded quota for UPDATE or DELETE queries per table

As described in this question there's a quota limit for how many updates you might do per day. I've looked up the docs and this part caught my attention: Daily update limit: 1,000 updates per table ...

What is the location of the appcfg_oauth2_tokens_java file on a jenkins bitnami server?

Am using jenkins for auto deploying an appengine application using maven. The deployment fails for want of authentication. Now i understand that ~/.appcfg_oauth2_tokens_java should contain the auth ...

Fetching data from large BigQuery table in python

What I have is a BigQuery table(>5mil rows). I need to fetch this data in batches and process it inside AppEngine, python. The only way to fetch from a table that I know is to run SELECT query on ...

Google AppEngine: Use python library only in Local Development. Identifying environment

My App used python libraries provided by the AppEngine Standard Environment. For including the library in my Local Development I followed the instructions on https://cloud.google.com/appengine/docs/...

Are ancestor path queries strongly consistent if combined with other queries in the Google Cloud Datastore?

I have Child entity and a Parent entity. They are grouped into a Entity group through an ancestor path. According to the documentation, if I query for all the children belonging to a parent using an ...

Thermal Receipt Printers - Google Cloud Printer [on hold]

Anyone aware of any Thermal Receipt Printers which are compatible with Google Cloud Print? I have a website set up with WooCommerce which when an order is completed I need it to print automatically ...

ImportError: No module named _ctypes. Google app engine with bokeh plot

Python 2.7.13 Windows 10 64 bit I've been working through this Udacity web dev course and wanted to try embedding a simple bokeh plot into a web page using this example. Running dev_appserver.py ...

Build on Google App Engine flexible environment is failing

I am trying to deploy my first project to Google App Engine but getting some kind of build error. The error messages are very obtuse though so I can't work out whether this is my fault or not. ...

401 response when posting to Firebase Cloud messaging, when server key is valid

I'm implementing sending push notifications from my google-app-engine server to client apps. I'm receiving response 401 when sending post message to Firebase cloud messaging server (https://fcm....

Custom domain name for app engine cloud endpoints

We have bought new domain from google and i have added the same to app-engine as custom domain. Unfortunately i am not able to access cloud endpoints from my custom domain. According this question, ...

Compute Engine OAuth tokens are invalid to App Engine

I've noticed that service accounts on GCE instances now have a much longer token than before, and I suspect they are causing AppEngine applications to be unable to work with them, resulting in an ...

Python GAE - Call to Big Query API throws Deadline exceeded error

I've been using the Big Query api and 90% of my requests failed due to this error: HTTPException: Deadline exceeded while waiting for HTTP response from URL: https://www.googleapis.com/bigquery/v2/...

Different entry points from the same directory

I am building an application for which i would need different entry points from the same directory. Is there a way to have two entry points from the same directory? Is there a way to mention which ...

Size Parameter doesn't work on Google CDN for images

I am using webApp2 and Google App Engine for a simple app and images and blobstore api to serve uploaded images using Google CDN. I am using the following code to generate the Serving Url for images - ...

Can't find babel preset when deploying to GAE

I keep getting the Error: Couldn't find preset "latest" relative to directory "/app" whenever I try to deploy to Google App Engine. I've tried with .babelrc config file, adding the config inside ...

Google Appengine Deployment Security Woes

We are having trouble deploying our Google Appengine application. We get the following error message from the indicated deployment command at the Unix shell prompt. /home/leffstudent/appengine/bin/...

gcloud app deploy stuck at Updating service [default]…failed. Leading to random VMs bootup

I am trying to deploy .net core app on google app engine. Remote build output gets stuck at Updating service [default]...failed. ERROR: (gcloud.app.deploy) Error Response: [13] Timed out when starting ...

Cron per Service/Module (AppEngine)

I have two modules/services and each one has a cron.xml. Only one of these ever seems to run (the most recently deployed in my experience), and the other doesn't fail, but the endpoint is never ...

use boto3 on GAE for Python

I'm trying to use boto3 for Polly API in Google App Engine for Python. So far, I've installed boto3 in my lib subdirectory pip install -t lib boto3 When I run a standalone script it runs well But ...

Save result from Objectify in human readable form in datastore

I am trying to create an Eventlog (ORMSLOG in example), that saves events in human readable form in Datastore. Doing this should write readable event: List<Device> devices = ofy()....

Google cloud app engine pinging my server despite disabling health check

I deployed a rails app on the google cloud app engine, and I keep getting pings like this every second or so: 19:23:59.883 200 2 B 0 ms GET GoogleHC/1.0 /_ah/vm_health 19:23:58.944 200 2 B 0 ms GET ...

Google Cloud Endpoints V2 multi-class API error App Engine Standard

Error: ApiConfigurationError: Attempting to implement service echo, version v2, with multiple classes that are not compatible. See docstring for api() for examples how to implement a multi-class API. ...

How to deploy a GAE project in flexible environment without billing?

I've been developing some REST service using Flask and other third party libraries and I want to deploy it to GAE in the flexible environment. I usually deploy to the GAE standard environment but I ...

Cron.yaml not creating re-occuring task

I am trying to have a php script in my google app engine by run every 1 minute using the Cron.yaml procedure. My cron.yaml file looks like below cron: - description: "ping apple apns service" url:...

Best way to convert HTML to RTF in Java on GCP? [on hold]

I need to convert an HTML String to RTF String on Google Appengine Cloud Platform. What's the best way ? Any open source library suggestion ? PS : I can't use Java API javax.swing because theses ...

GAE NDB with Endpoints Proto Datastore:How do i access and modify the response data in google endpoint api for query with ndb model with python

I want to manipulate the query response of google endpoint model in python. I tried this but only fetches query response in json @Gadget.query_method(collection_fields=('locationPostCode',),path='...

Using Python client to verify license of GSuite (Google Apps) domain for a GSuite Marketplace App

I created a service account, instead of using the default one, under my google cloud project and I enabled dwd. I then enabled Google Apps Marketplace API from the google cloud console. Then I ...

Is each range update in spreadsheets.values.batchUpdate() in Google Sheet API a Request call

This is my code below using the batchUpdate SHEET.spreadsheets().values().batchUpdate(spreadsheetId=ea_form_spreadsheet_id, body=bodys).execute() In the "bodys" : data = [ { 'range': ...

How solve conversion thing in python that int() can't convert '\x002\x002\x001\x000\x00' into integer?

I have some weird problem with python int function. I read some file with numeric values and convert these to integers. When I do this locally it's goes fine, but when I upload it to Google App Engine ...

best way to use https with development server of Google App Engine

what is the best way to use https with the development server of Google App Engine? I'm trying to develop REST services in Java that will be served over https. Unfortunately I'm unable to use https ...

Deploying a Django App to App Engine Flexible Environment

I am trying to deploy a sample app to the Google App Engine Flexible Environment based on this tutorial. The deployment works, however, the application cannot start up. I get the following error ...

Google App Engine (in production) unable to talk to Zillow API (demands CAPTCHA), code works fine everywhere else

I've been successfully using the Zillow API in my Google App Engine project for months now, but it has randomly stopped working because the API is demanding a CAPTCHA (which is insane). The code ...

Using both OAuth and GAE's Users API within a GAE application

I would like to host my Flask-based web application on GAE. Regular users are authenticated against Google using flask-oauthlib. However, I would like to authenticate admin users using GAE's Users ...
Translating... 0%