function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Developer BaseDeveloper Base 

Which Apex object represents access to files? (example attached inside)

I am trying to figure out how to customize access to a File. Salesforce Lightning UI has an option how to manually do it:

User-added image
But so far I haven't been able to find a Share object for ContentDocument. There is only ContentDocumentLink, but this link a File to a record, not to a user. Which object represents the above example of File access customization?