The App Engine Task Queue REST API (v1), was turned down as of February 20, 2018. Cloud Tasks provides a REST API that you can use to add tasks from a second generation App Engine standard environment runtime, any of the App Engine flexible environment runtimes, or even from entirely outside of App Engine.
The google.appengine.api.taskqueue
package is still available for use in your
application.