Builds and returns the download URI for the given DocumentsDocument in the desired format.
Note that directly downloading the document using this URI isn't possible, as authentication is required. You should instead use DownloadStream with the URI, and use the resulting InputStream.
export_format
should be the file extension of the desired output format for the document, from the list accepted by Google
Documents. For example: PDF,
ODS or
ODT.
If the export_format
is not recognised or not supported for this document, null
is returned.
this | |
export_format |
the format in which the document should be exported when downloaded |
the download URI, or |