8000 java-docs-samples/appengine-java8 at master · patflynn/java-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"path":"appengine-java8","repo":{"id":114007937,"defaultBranch":"master","name":"java-docs-samples","ownerLogin":"patflynn","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2017-12-12T15:39:04.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/7862557?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"master","listCacheKey":"v0:1513094061.0","canEdit":false,"refType":"branch","currentOid":"23a9b03156c99e075b866401a304a4224fee4101"},"tree":{"items":[{"name":"analytics","path":"appengine-java8/analytics","contentType":"directory"},{"name":"appidentity","path":"appengine-java8/appidentity","contentType":"directory"},{"name":"bigtable","path":"appengine-java8/bigtable","contentType":"directory"},{"name":"cloudsql","path":"appengine-java8/cloudsql","contentType":"directory"},{"name":"datastore-indexes-exploding","path":"appengine-java8/datastore-indexes-exploding","contentType":"directory"},{"name":"datastore-indexes-perfect","path":"appengine-java8/datastore-indexes-perfect","contentType":"directory"},{"name":"datastore-indexes","path":"appengine-java8/datastore-indexes","contentType":"directory"},{"name":"datastore","path":"appengine-java8/datastore","contentType":"directory"},{"name":"endpoints-v2-backend","path":"appengine-java8/endpoints-v2-backend","contentType":"directory"},{"name":"endpoints-v2-guice","path":"appengine-java8/endpoints-v2-guice","contentType":"directory"},{"name":"endpoints-v2-migration","path":"appengine-java8/endpoints-v2-migration","contentType":"directory"},{"name":"endpoints-v2-skeleton","path":"appengine-java8/endpoints-v2-skeleton","contentType":"directory"},{"name":"firebase-event-listener-python","path":"appengine-java8/firebase-event-listener-python","contentType":"directory"},{"name":"firebase-event-proxy","path":"appengine-java8/firebase-event-proxy","contentType":"directory"},{"name":"firebase-tictactoe","path":"appengine-java8/firebase-tictactoe","contentType":"directory"},{"name":"gaeinfo","path":"appengine-java8/gaeinfo","contentType":"directory"},{"name":"guestbook-cloud-datastore","path":"appengine-java8/guestbook-cloud-datastore","contentType":"directory"},{"name":"guestbook-objectify","path":"appengine-java8/guestbook-objectify","contentType":"directory"},{"name":"images","path":"appengine-java8/images","contentType":"directory"},{"name":"logs","path":"appengine-java8/logs","contentType":"directory"},{"name":"mail","path":"appengine-java8/mail","contentType":"directory"},{"name":"mailgun","path":"appengine-java8/mailgun","contentType":"directory"},{"name":"mailjet","path":"appengine-java8/mailjet","contentType":"directory"},{"name":"memcache","path":"appengine-java8/memcache","contentType":"directory"},{"name":"metadata","path":"appengine-java8/metadata","contentType":"directory"},{"name":"multitenancy","path":"appengine-java8/multitenancy","contentType":"directory"},{"name":"oauth2","path":"appengine-java8/oauth2","contentType":"directory"},{"name":"postgres","path":"appengine-java8/postgres","contentType":"directory"},{"name":"pubsub","path":"appengine-java8/pubsub","contentType":"directory"},{"name":"remote-client","path":"appengine-java8/remote-client","contentType":"directory"},{"name":"remote-server","path":"appengine-java8/remote-server","contentType":"directory"},{"name":"requests","path":"appengine-java8/requests","contentType":"directory"},{"name":"search","path":"appengine-java8/search","contentType":"directory"},{"name":"sendgrid","path":"appengine-java8/sendgrid","contentType":"directory"},{"name":"spanner","path":"appengine-java8/spanner","contentType":"directory"},{"name":"static-files","path":"appengine-java8/static-files","contentType":"directory"},{"name":"taskqueues-deferred","path":"appengine-java8/taskqueues-deferred","contentType":"directory"},{"name":"taskqueues-pull","path":"appengine-java8/taskqueues-pull","contentType":"directory"},{"name":"taskqueues-push","path":"appengine-java8/taskqueues-push","contentType":"directory"},{"name":"twilio","path":"appengine-java8/twilio","contentType":"directory"},{"name":"urlfetch","path":"appengine-java8/urlfetch","contentType":"directory"},{"name":"users","path":"appengine-java8/users","contentType":"directory"},{"name":"README.md","path":"appengine-java8/README.md","contentType":"file"},{"name":"endpoints-v2-README.md","path":"appengine-java8/endpoints-v2-README.md","contentType":"file"},{"name":"firebase-event-proxy-README.md","path":"appengine-java8/firebase-event-proxy-README.md","contentType":"file"},{"name":"pom.xml","path":"appengine-java8/pom.xml","contentType":"file"},{"name":"remote-README.md","path":"appengine-java8/remote-README.md","contentType":"file"},{"name":"taskqueues-README.md","path":"appengine-java8/taskqueues-README.md","contentType":"file"}],"templateDirectorySuggestionUrl":null,"readme":{"displayName":"README.md","richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eGoogle App Engine Standard Environment Samples for Java 8\u003c/h1\u003e\u003ca id=\"user-content-google-app-engine-standard-environment-samples-for-java-8\" class=\"anchor\" aria-label=\"Permalink: Google App Engine Standard Environment Samples for Java 8\" href=\"#google-app-engine-standard-environment-samples-for-java-8\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis is a repository that contains Java code samples for \u003ca href=\"https://cloud.google.com/appengine/docs/java/\" rel=\"nofollow\"\u003eGoogle App Engine\nstandard environment\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003ePrerequisites\u003c/h2\u003e\u003ca id=\"user-content-prerequisites\" class=\"anchor\" aria-label=\"Permalink: Prerequisites\" href=\"#prerequisites\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDownload Maven\u003c/h3\u003e\u003ca id=\"user-content-download-maven\" class=\"anchor\" aria-label=\"Permalink: Download Maven\" href=\"#download-maven\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThese samples use the \u003ca href=\"https://maven.apache.org\" rel=\"nofollow\"\u003eApache Maven\u003c/a\u003e build system. Before getting\nstarted, be sure to \u003ca href=\"https://maven.apache.org/download.cgi\" rel=\"nofollow\"\u003edownload\u003c/a\u003e and \u003ca href=\"https://maven.apache.org/install.html\" rel=\"nofollow\"\u003einstall\u003c/a\u003e it.\nWhen you use Maven as described here, it will automatically download the needed\nclient libraries.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eCreate a Project in the Google Cloud Platform Console\u003c/h3\u003e\u003ca id=\"user-content-create-a-project-in-the-google-cloud-platform-console\" class=\"anchor\" aria-label=\"Permalink: Create a Project in the Google Cloud Platform Console\" href=\"#create-a-project-in-the-google-cloud-platform-console\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eIf you haven't already created a project, create one now. Projects enable you to\nmanage all Google Cloud Platform resources for your app, including deployment,\naccess control, billing, and services.\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003eOpen the \u003ca href=\"https://console.cloud.google.com/\" rel=\"nofollow\"\u003eCloud Platform Console\u003c/a\u003e.\u003c/li\u003e\n\u003cli\u003eIn the drop-down menu at the top, select \u003cstrong\u003eCreate a project\u003c/strong\u003e.\u003c/li\u003e\n\u003cli\u003eGive your project a name.\u003c/li\u003e\n\u003cli\u003eMake a note of the project ID, which might be different from the project\nname. The project ID is used in commands and in configurations.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSamples\u003c/h2\u003e\u003ca id=\"user-content-samples\" class=\"anchor\" aria-label=\"Permalink: Samples\" href=\"#samples\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eHello World\u003c/h3\u003e\u003ca id=\"user-content-hello-world\" class=\"anchor\" aria-label=\"Permalink: Hello World\" href=\"#hello-world\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis sample demonstrates how to deploy an application on Google App Engine.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://cloud.google.com/appengine/docs/java/\" rel=\"nofollow\"\u003eDocumentation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/patflynn/java-docs-samples/blob/master/appengine-java8/helloworld\"\u003eCode\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSending Email\u003c/h3\u003e\u003ca id=\"user-content-sending-email\" class=\"anchor\" aria-label=\"Permalink: Sending Email\" href=\"#sending-email\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSending Email with Mailgun\u003c/h4\u003e\u003ca id=\"user-content-sending-email-with-mailgun\" class=\"anchor\" aria-label=\"Permalink: Sending Email with Mailgun\" href=\"#sending-email-with-mailgun\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis sample demonstrates how to send email using the \u003ca href=\"https://documentation.mailgun.com/\" rel=\"nofollow\"\u003eMailgun API\u003c/a\u003e.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://cloud.google.com/appengine/docs/java/mail/mailgun\" rel=\"nofollow\"\u003eDocumentation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/patflynn/java-docs-samples/blob/master/appengine-java8/mailgun\"\u003eCode\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch4 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSending Email with SendGrid\u003c/h4\u003e\u003ca id=\"user-content-sending-email-with-sendgrid\" class=\"anchor\" aria-label=\"Permalink: Sending Email with SendGrid\" href=\"#sending-email-with-sendgrid\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis sample demonstrates how to send email using the \u003ca href=\"https://sendgrid.com/docs/User_Guide/index.html\" rel=\"nofollow\"\u003eSendGrid\u003c/a\u003e.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://cloud.google.com/appengine/docs/java/mail/sendgrid\" rel=\"nofollow\"\u003eDocumentation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/patflynn/java-docs-samples/blob/master/appengine-java8/sendgrid\"\u003eCode\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSending SMS with Twilio\u003c/h3\u003e\u003ca id=\"user-content-sending-sms-with-twilio\" class=\"anchor\" aria-label=\"Permalink: Sending SMS with Twilio\" href=\"#sending-sms-with-twilio\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis sample demonstrates how to use \u003ca href=\"https://www.twilio.com\" rel=\"nofollow\"\u003eTwilio\u003c/a\u003e on \u003ca href=\"https://cloud.google.com/appengine/docs/java/\" rel=\"nofollow\"\u003eGoogle\nApp Engine standard environment\u003c/a\u003e.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://cloud.google.com/appengine/docs/java/sms/twilio\" rel=\"nofollow\"\u003eDocumentation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/patflynn/java-docs-samples/blob/master/appengine-java8/twilio\"\u003eCode\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eApp Identity\u003c/h3\u003e\u003ca id=\"user-content-app-identity\" class=\"anchor\" aria-label=\"Permalink: App Identity\" href=\"#app-identity\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis sample demonstrates how to use the \u003ca href=\"https://cloud.google.com/appengine/docs/java/appidentity/\" rel=\"nofollow\"\u003eApp Identity API\u003c/a\u003e to discover\nthe application's ID and assert identity to Google and third-party APIs.\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://cloud.google.com/appengine/docs/java/appidentity/\" rel=\"nofollow\"\u003eDocumentation\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"/patflynn/java-docs-samples/blob/master/appengine-java8/appidentity\"\u003eCode\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eOther Samples\u003c/h3\u003e\u003ca id=\"user-content-other-samples\" class=\"anchor\" aria-label=\"Permalink: Other Samples\" href=\"#other-samples\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003e\u003ca href=\"https://cloud.google.com/appengine/docs/java/samples\" rel=\"nofollow\"\u003eSample Applications\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eContributing changes\u003c/h2\u003e\u003ca id=\"user-content-contributing-changes\" class=\"anchor\" aria-label=\"Permalink: Contributing changes\" href=\"#contributing-changes\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eSee \u003ca href=\"/patflynn/java-docs-samples/blob/master/CONTRIBUTING.md\"\u003eCONTRIBUTING.md\u003c/a\u003e.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eLicensing\u003c/h2\u003e\u003ca id=\"user-content-licensing\" class=\"anchor\" aria-label=\"Permalink: Licensing\" href=\"#licensing\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eSee \u003ca href=\"/patflynn/java-docs-samples/blob/master/LICENSE\"\u003eLICENSE\u003c/a\u003e.\u003c/p\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":1,"text":"Google App Engine Standard Environment Samples for Java 8","anchor":"google-app-engine-standard-environment-samples-for-java-8","htmlText":"Google App Engine Standard Environment Samples for Java 8"},{"level":2,"text":"Prerequisites","anchor":"prerequisites","htmlText":"Prerequisites"},{"level":3,"text":"Download Maven","anchor":"download-maven","htmlText":"Download Maven"},{"level":3,"text":"Create a Project in the Google Cloud Platform Console","anchor":"create-a-project-in-the-google-cloud-platform-console","htmlText":"Create a Project in the Google Cloud Platform Console"},{"level":2,"text":"Samples","anchor":"samples","htmlText":"Samples"},{"level":3,"text":"Hello World","anchor":"hello-world","htmlText":"Hello World"},{"level":3,"text":"Sending Email","anchor":"sending-email","htmlText":"Sending Email"},{"level":4,"text":"Sending Email with Mailgun","anchor":"sending-email-with-mailgun","htmlText":"Sending Email with Mailgun"},{"level":4,"text":"Sending Email with SendGrid","anchor":"sending-email-with-sendgrid","htmlText":"Sending Email with SendGrid"},{"level":3,"text":"Sending SMS with Twilio","anchor":"sending-sms-with-twilio","htmlText":"Sending SMS with Twilio"},{"level":3,"text":"App Identity","anchor":"app-identity","htmlText":"App Identity"},{"level":3,"text":"Other Samples","anchor":"other-samples","htmlText":"Other Samples"},{"level":2,"text":"Contributing changes","anchor":"contributing-changes","htmlText":"Contributing changes"},{"level":2,"text":"Licensing","anchor":"licensing","htmlText":"Licensing"}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fpatflynn%2Fjava-docs-samples%2Ftree%2Fmaster%2Fappengine-java8"}},"totalCount":48,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":".kokoro","path":".kokoro","contentType":"directory"},{"name":"appengine-java8","path":"appengine-java8","contentType":"directory"},{"name":"appengine","path":"appengine","contentType":"directory"},{"name":"bigquery","path":"bigquery","contentType":"directory"},{"name":"cloud-tasks","path":"cloud-tasks","contentType":"directory"},{"name":"compute","path":"compute","contentType":"directory"},{"name":"dataflow","path":"dataflow","contentType":"directory"},{"name":"datastore","path":"datastore","contentType":"directory"},{"name":"dlp","path":"dlp","contentType":"directory"},{"name":"endpoints","path":"endpoints","contentType":"directory"},{"name":"errorreporting","path":"errorreporting","contentType":"directory"},{"name":"firestore","path":"firestore","contentType":"directory"},{"name":"flexible","path":"flexible","contentType":"directory"},{"name":"iap","path":"iap","contentType":"directory"},{"name":"iot","path":"iot","contentType":"directory"},{"name":"kms","path":"kms","contentType":"directory"},{"name":"language","path":"language","contentType":"directory"},{"name":"logging","path":"logging","contentType":"directory"},{"name":"mlengine","path":"mlengine","contentType":"directory"},{"name":"monitoring","path":"monitoring","contentType":"directory"},{"name":"pubsub","path":"pubsub","contentType":"directory"},{"name":"spanner","path":"spanner","contentType":"directory"},{"name":"speech","path":"speech","contentType":"directory"},{"name":"storage","path":"storage","contentType":"directory"},{"name":"translate","path":"translate","contentType":"directory"},{"name":"unittests","path":"unittests","contentType":"directory"},{"name":"video","path":"video","contentType":"directory"},{"name":"vision","path":"vision","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"CONTRIBUTING.md","path":"CONTRIBUTING.md","contentType":"file"},{"name":"ISSUE_TEMPLATE.md","path":"ISSUE_TEMPLATE.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"codecov.yml","path":"codecov.yml","contentType":"file"},{"name":"pom.xml","path":"pom.xml","contentType":"file"}],"totalCount":36}},"fileTreeProcessingTime":9.333631,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/patflynn/java-docs-samples/branches":{"post":"lwtDbw1UN7tfgXwis0ku2rC4YKWM_kBUm-5Wd4E2xaV5aGEb6PCYkIcjbq4nSx3Fv35w6JvuJ3gVTngY5A-dcQ"},"/patflynn/java-docs-samples/branches/fetch_and_merge/master":{"post":"v8bkMgrvvksufrml6_ziVNT8ltGwR3NK-R4_Dz2IkDNI7QOY05ZhNrnpzNxSqEuiDzVXkV6zBJDf0Edgd_Vdpg"},"/patflynn/java-docs-samples/branches/fetch_and_merge/master?discard_changes=true":{"post":"Q9x-d230-ueSuAguq7c_4ZgO8_fwkbOHEcTw1775gRG095ndtI0lmgUvfVcS45YXQ8cytx5lxF03Coi49IRMhA"}}},"title":"java-docs-samples/appengine-java8 at master · patflynn/java-docs-samples","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1b17b3e7786a.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}
0