Optional key of the existing resource to update; if not provided, a new resource is created
The file or blob to upload
Whether the resource should be public
The type of resource
Array of tags for the resource
Observable resolving to the ContentResource with uploaded file
createOrUpdateResourceAsObservable creates a new content resource or updates an existing one, then uploads the file contents to that resource. If a resourceKey is provided, it updates the existing resource; otherwise, it creates a new resource and uploads the file to the newly created resource.