Python 3.9 is now generally available.

google.appengine.api.datastore_admin.CreateIndex

Creates a new composite index in the datastore for this app.

index entity_pb.CompositeIndex

int, the id allocated to the index