Yes. These methods can be used for any file stored in Google Drive, be it a document, sheet, or presentation.