FileDownloadUrlRequestData

View as Markdown

Request details for generating a download key for downloading files from a single object.

Full nameMFiles.FileDownloadUrlRequestData
Proto filemfiles/structs.proto

Fields

FieldTypeNumberDescription
obj_verObjVer1The object version to download files from with the key. Not used if uploadID is not zero or fileRef is not empty.
file_idsrepeated FileID2File IDs in the object version to download with the key. Not used if uploadID is not zero or fileRef is not empty.
upload_idint323The identifier of the upload operation (from UploadTempFile or UploadTempFileCommit). If this is not zero, objVer and fileIds are ignored, and the download key is generated for downloading the file uploaded in the upload operation identified by this parameter.
file_refstring4If not empty, the file_ref of a stateless upload ended with FileUploadEnd, and the download key is generated for downloading it; objVer and fileIds are ignored. At most one of uploadID and fileRef may be set.
extensionstring5The extension of the file, not including the dot (e.g. "doc"). Used with fileRef only, as a file_ref has no file name.

Used by methods

Used in fields