8000 java-docs-samples/datastore at tasks · shirigithub/java-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"path":"datastore","repo":{"id":93353343,"defaultBranch":"master","name":"java-docs-samples","ownerLogin":"shirigithub","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2017-06-05T01:34:47.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3215405?v=4","public":true,"private":false,"isOrgOwned":false},"currentUser":null,"refInfo":{"name":"tasks","listCacheKey":"v0:1627727173.154017","canEdit":false,"refType":"branch","currentOid":"52a9709d21e58bdb8a825edcdb95bffc25ffc62b"},"tree":{"items":[{"name":"cloud-client","path":"datastore/cloud-client","contentType":"directory"},{"name":"src","path":"datastore/src","contentType":"directory"},{"name":"README.md","path":"datastore/README.md","contentType":"file"},{"name":"pom.xml","path":"datastore/pom.xml","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\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eDatastore Samples\u003c/h2\u003e\u003ca id=\"user-content-datastore-samples\" class=\"anchor\" aria-label=\"Permalink: Datastore Samples\" href=\"#datastore-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\u003cp dir=\"auto\"\u003eThis directory contains sample code used in Google Cloud Datastore documentation. Included here is a sample command line application, \u003ccode\u003eTaskList\u003c/code\u003e, that interacts with Datastore to manage a to-do list.\u003c/p\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eRun the \u003ccode\u003eTaskList\u003c/code\u003e sample application.\u003c/h2\u003e\u003ca id=\"user-content-run-the-tasklist-sample-application\" class=\"anchor\" aria-label=\"Permalink: Run the TaskList sample application.\" href=\"#run-the-tasklist-sample-application\"\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\u003col dir=\"auto\"\u003e\n\u003cli\u003eEnsure that you have:\u003c/li\u003e\n\u003c/ol\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eCreated a Google Developers Console project with the Datastore API enabled. Follow \u003ca href=\"https://cloud.google.com/docs/authentication#preparation\" rel=\"nofollow\"\u003ethese instructions\u003c/a\u003e to get your project set up.\u003c/li\u003e\n\u003cli\u003eInstalled the Google Cloud SDK and run the following commands in command line: \u003ccode\u003egcloud auth application-default login\u003c/code\u003e and \u003ccode\u003egcloud config set project [YOUR PROJECT ID]\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eInstalled \u003ca href=\"https://maven.apache.org/\" rel=\"nofollow\"\u003eMaven\u003c/a\u003e and Java 7 (or above).\u003c/li\u003e\n\u003c/ul\u003e\n\u003col start=\"2\" dir=\"auto\"\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eCompile the program by typing \u003ccode\u003emvn clean compile\u003c/code\u003e in command line.\u003c/p\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003cp dir=\"auto\"\u003eRun the program by typing \u003ccode\u003emvn exec:java\u003c/code\u003e in command line. In addition to listing tasks via this command line interface, you can view tasks you create in the \u003ca href=\"https://console.cloud.google.com/\" rel=\"nofollow\"\u003eGoogle Cloud Developer's Console\u003c/a\u003e.\u003c/p\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003c/article\u003e","errorMessage":null,"headerInfo":{"toc":[{"level":2,"text":"Datastore Samples","anchor":"datastore-samples","htmlText":"Datastore Samples"},{"level":2,"text":"Run the TaskList sample application.","anchor":"run-the-tasklist-sample-application","htmlText":"Run the TaskList sample application."}],"siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fshirigithub%2Fjava-docs-samples%2Ftree%2Ftasks%2Fdatastore"}},"totalCount":4,"showBranchInfobar":true},"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":".mvn","path":".mvn","contentType":"directory"},{"name":"appengine","path":"appengine","contentType":"directory"},{"name":"bigquery","path":"bigquery","contentType":"directory"},{"name":"compute","path":"compute","contentType":"directory"},{"name":"datastore","path":"datastore","contentType":"directory"},{"name":"endpoints","path":"endpoints","contentType":"directory"},{"name":"flexible","path":"flexible","contentType":"directory"},{"name":"kms","path":"kms","contentType":"directory"},{"name":"language","path":"language","contentType":"directory"},{"name":"logging","path":"logging","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":"taskqueue","path":"taskqueue","contentType":"directory"},{"name":"translate","path":"translate","contentType":"directory"},{"name":"unittests","path":"unittests","contentType":"directory"},{"name":"vision","path":"vision","contentType":"directory"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":".travis.yml","path":".travis.yml","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":"checkstyle-checker.xml","path":"checkstyle-checker.xml","contentType":"file"},{"name":"circle.yml","path":"circle.yml","contentType":"file"},{"name":"codecov.yml","path":"codecov.yml","contentType":"file"},{"name":"gae-firebase-secrets.json.enc","path":"gae-firebase-secrets.json.enc","contentType":"file"},{"name":"jenkins.sh","path":"jenkins.sh","contentType":"file"},{"name":"mvnw","path":"mvnw","contentType":"file"},{"name":"mvnw.cmd","path":"mvnw.cmd","contentType":"file"},{"name":"pom.xml","path":"pom.xml","contentType":"file"},{"name":"secrets.env.EXAMPLE","path":"secrets.env.EXAMPLE","contentType":"file"},{"name":"secrets.env.enc","path":"secrets.env.enc","contentType":"file"},{"name":"service-account.json.enc","path":"service-account.json.enc","contentType":"file"},{"name":"travis.sh","path":"travis.sh","contentType":"file"}],"totalCount":39}},"fileTreeProcessingTime":11.866548,"foldersToFetch":[],"treeExpanded":true,"symbolsExpanded":false,"csrf_tokens":{"/shirigithub/java-docs-samples/branches":{"post":"UWIyRl-GUsqk82J2p6q5AZ8fbl1maDl38hDPs99kKkZIlOLL890D0L5k9RjRWCmLaVHEJE1UWwdq8ewoLdwazQ"},"/shirigithub/java-docs-samples/branches/fetch_and_merge/tasks":{"post":"nF3iSVAu7sCU2XVzozkOhP9vpGJrgGWHnnuLk639YySY-Aehcdy0J4ZzxzU9gWWEKFUh32051MpX3qO8Iz3dEw"},"/shirigithub/java-docs-samples/branches/fetch_and_merge/tasks?discard_changes=true":{"post":"sI2kIfxqCsF_zfGmdmGgPjyhOT3Z6hpNBxIZ3XY6NEW0KEHJ3ZhQJm1nQ-Do2cs-65u8gN9TqwDOtzHy-PqKcg"}}},"title":"java-docs-samples/datastore at tasks · shirigithub/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