Apex
...
Types
Input & Output Types
Types.UploadSalesforceFilePayload
Represents input for uploading Salesforce files to external storage using Copy Salesforce Files function. . Following constructors are supported
- contentDocumentId - Salesforce Id of the content document object to be copied
- folderId - Id of the folder in external storage where the file should be copied to. You can get this value from Content Library
- driveId - Only applicable for SharePoint or Google Drive libraries. Supply null for for other libraries. You can get this value from Content Library