I can’t speak for iCloud, but Google Drive can work as long as the file is publicly shared and you use the correct url.
However, Google Drive is not always reliable, and not recommended for hosting files used in this way. You would be better off directly uploading the file to Glide’s storage.