GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/appengine-java8/tasks/app at main · llatif/java-docs-samples

Expand file tree

/

app

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

app

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Google Cloud Tasks and App Engine Sample

Open in Cloud Shell

This sample demonstrates how to use the Cloud Tasks API on Google App Engine.

Initial Setup

  • Set up a Google Cloud Project and enable billing.
  • Enable the Cloud Tasks API.
  • Download and install the Cloud SDK.
  • Download and install Maven.
  • Set up Google Application Credentials.

Creating a queue

To create a queue using the Cloud SDK, use the following gcloud command:

gcloud tasks queues create default

Deploying the App Engine app

First, update the projectId and locationId variables to match the values of your queue in file Enqueue.java. To find these values use the following gcloud command:

gcloud tasks queues describe default

Second, Using Maven and the App Engine Plugin deploy to Google App Engine:

mvn clean package appengine:deploy
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.