# The name of the Cloud Task queue the handler will receive message from
EXPORT AE_QUEUE=ae-queue
# Deploy the app to App Engine
gcloud app deploy
# Create the Cloud Task queue
gcloud tasks queues create $AE_QUEUE
# Connect the Cloud Task queue to the App Engine handler endpoint
gcloud tasks create-app-engine-task hello --queue=$AE_QUEUE --relative-uri=/task_handler --body-content="a friendly hello"