I am able to create/publish a zipped geodatabase to AGOL with python using the .publish() method. However, this does not publish as a HOSTED Layer. I really need it hosted so that it can be downloaded as a geodatabase.
It there a way to publish as a hosted layer using python?
Or, it would be just as good or better to be able to use the .update() method to update the data source. 'data' does not seem to be one of the types available to that method though...