Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What characters are allowed in a Google App Engine Key?

While testing my Google App Engine application, I search for links which include app engine keys. For example:

/story/ag5yZXBsaWUtdGVzdGluZ3IMCxIFU3RvcnkY-w0M/

What characters are allowed in these keys? I had been using the regex [a-zA-Z0-9], but it seems "-" is also allowed. What else?

Is there a reference on this? I can't find it in the App engine docs.

like image 244
Paul Biggar Avatar asked Dec 21 '09 13:12

Paul Biggar


People also ask

What is App Engine select the correct answer?

Google App Engine (GAE) is a platform-as-a-service product that provides web app developers and enterprises with access to Google's scalable hosting and tier 1 internet service. GAE requires that applications be written in Java or Python, store data in Google Bigtable and use the Google query language.

How does Google App Engine Work?

App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.

What is service App Engine?

An App Engine app is made up of a single application resource that consists of one or more services. Each service can be configured to use different runtimes and to operate with different performance settings. Within each service, you deploy versions of that service.


1 Answers

Google App Engine keys are encoded using URL safe base 64 encoding (see The source code for the Key datastore type).

like image 134
Håvard S Avatar answered Nov 14 '22 02:11

Håvard S