Creates a library on the domain.
The access token received from the authorization server in the OAuth 2.0 flow.
The name of the library
The email address of the storage account. If empty, the default storage account will be used.
The ID of a library template (can be empty if either source library ID or Drive folder ID is not). To create standard library types, use one of: DOCUMENT_MANAGEMENT, TEAM_FOLDER, SECURED_FOLDER (short versions are also supported: DMS, TF, SF).
The ID of a library in the same domain to create the library from (can be empty if either template library ID or Drive folder ID is not)
The ID of a Drive folder that will become the root folder of the new library (can be empty if either template library ID or source library ID is not). All files within this folder will be imported into the new library.
Location of the bucket to store attachments, either a customer owned bucket or a AODocs owned bucket(AODOCS_MANAGED)
The security code
The G Suite domain
The locale of the library
Whether the documents copied from template library have their creation date set based on the original document's creation date. Else it will be the library's creation date
The mode of copy of the documents when creating the library from a template library (default value: NO_VERSION) or by copy from a source library (default value: NONE). The possible values are: 'NONE' (no document is copied), 'NO_VERSION' (only the head version of the documents is copied), 'WITH_VERSION' (all versions of the documents are copied)
NONE, NO_VERSION, WITH_VERSION