Starts to cache search results asynchronously in a job. Returns the jobId.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the library
The ID of the document class
The ID of the view
The text searched to filter documents
The type of documents to find: 'DRAFT_ONLY' to get draft versions only (if access to it), 'PUBLISHED' to get main versions only (if access to it), 'ALL' for both (the draft version if access to it else the main version). The last mode is the default one.
PUBLISHED, DRAFT_ONLY, ALL The security code
The G Suite domain