- Attachment – Represents a relation between a Salesforce record and a file or folder.
- CloudFilesVariable – A named document-generation variable, holding a string value or a nested collection.
- ContentVersionCreated – Output payload for the content-version-created platform event.
- ContentVersionCreatedBatch – Output type representing a batch of content versions created for the content-version-created-batch platform event.
- CreateContentVersionFlowInput – Describes one external-storage file to include in a content-version batch.
- Dataroom – Output type representing a dataroom returned when creating datarooms.
- DatasetCreated – Event payload returned for the dataset-created platform event type.
- DatasetCreatedError – Output type describing a failure when creating a dataset.
- DocGenParams – Optional PDF security, retention, and preview settings for document generation.
- DocumentGenerated – Output payload for the document-generated platform event, carrying the created file's identifiers and Resource.
- DocumentGeneratedError – Output type describing a failed document generation.
- DocumentMapperRun – Event payload returned for the document-mapper-run platform event type.
- DocumentMapperRunError – Output type describing a failed document mapper run.
- DocumentProcessed – Output payload returned for the document-processed platform event.
- DocumentProcessedError – Output payload describing a document that failed processing, surfaced on an ErrorEvent.
- DocumentSigned – Event payload returned for the document-signed platform event type.
- DocumentSplit – Output payload returned for the document-split platform event.
- Drive – Output type representing a created SharePoint drive.
- DriveColumn – Describes a site column to attach to a newly created SharePoint drive.
- ErrorEvent – Output payload returned for the error-event platform event type.
- Event – Container type holding the type-specific payload for any CloudFiles event.
- FileReceived – Output payload carried by the file-received platform event.
- FileReplace – Output payload returned for the file-replaced platform event type.
- FileRequest – Output type representing a file request returned from Apex.
- FileUpload – Payload of the file-uploaded platform event, describing an uploaded file and where it landed.
- FileViewed – Output payload carried by the file-viewed platform event.
- FolderCreated – Event payload for the folder-created platform event.
- GeneratedDocument – Output type describing a document produced by a sync doc-gen or merge call.
- Link – A shareable external link to a file, folder, or dataroom.
- PreviewParams – Options controlling the behavior of a generated preview URL.
- Resource – Represents a file or folder in external storage.
- ResourceAttached – Event payload returned for the resource-attached platform event type.
- ResourceCloned – Payload returned for the resource-cloned platform event.
- ResourceDeleted – Output payload for the resource-deleted platform event.
- ResourceDetached – Event payload returned for the resource-detached platform event type.
- ResourceMoved – Event payload returned for the resource-moved platform event type.
- ResourceMovedError – Output type describing a failure when moving a resource.
- ResourceUpdated – Event payload describing a resource that was updated, including which fields changed.
- ResourceUpdateError – Output type describing a failure when updating a resource.
- ResourceList – Represents the contents of a folder, with pagination support coming soon.
- SalesforceFilesAttached – Output payload carried by the salesforce-file-attached platform event.
- SalesforceFileCopied – Output payload for the salesforce-file-copied platform event.
- SalesforceFileCopiedError – Output type describing a failure when copying a Salesforce file.
- SalesforceFile – Represents a Salesforce file (ContentDocument) by Id, name, extension, and size.
- SharePointSite – Output type describing a SharePoint site created from Apex.
- SiteGroupMembersUpdatedError – Output type describing a failure when updating SharePoint site group members.
- UpdateLicensesFlowOutput – Output type returned by the assign and unassign user license methods, reporting license counts.
Types
The Apex data types CloudFiles returns: files, folders, links, datarooms, events, and generated documents your code works with.