Signature
global static List<FileRequest> createFileRequests( List<Types.CreateFileRequestInput> fileRequestInputs, String runAs )
Parameters
| Parameter | Description | |
|---|---|---|
fileRequestInputs |
required | One entry per File Request. See Types.CreateFileRequestInput. |
runAsString |
optional | Email Id of the user on whose behalf the function should run. To run the action as the automation user, supply integrationUser. |
Return Type
List<FileRequest> — the created File Request objects.
Example
List<cldfs.Types.CreateFileRequestInput> fileRequestInputs = new List<cldfs.Types.CreateFileRequestInput>{ new cldfs.Types.CreateFileRequestInput('File Request -01', 'File Request Test', '10bj6bAjlx9iUfzKXef1skTCXBCLVjaZN', 'google', 'mydrive') }; cldfs.Client.createFileRequests(fileRequestInputs, 'integrationUser');