Apex
...
Types
Input & Output Types
Types.CreateLinkInput
Represents input for creating a CLoudFiles link using Create Links functions. Following contuctors are supported -
- resourceId - Id of the file/folder in external storage, for which we're creating the attachment
- resourceType - One of file, folder or dataroom
- parentId - Salesforce Id of the record for which we're creating the attachment
- name - Name of the link
- driveId - Only applicable for SharePoint or Google Drive libraries. Supply null for other libraries. You can get this value from Content Library