nl_tokens: Create or update a file .
pl_tokens: function ( path , body , contentType , options ) { const fullPath = googleDrivePath ( path ) ; function putDone ( response ) { if ( response . status >= 200 && response . status < 300 ) { const meta = JSON . parse ( response . responseText ) ; const etagWithoutQuotes = removeQuotes ( meta . etag ) ; return Promise . resolve ( { statusCode : 200 , contentType : meta . mimeType , revision : etagWithoutQuotes } ) ; } else if ( response . status === 412 ) { return Promise . resolve ( { statusCode : 412 , revision : 'conflict' } ) ; } else { return Promise . reject ( "PUT failed with status " + response . status + " (" + response . responseText + ")" ) ; } } return this . _getFileId ( fullPath ) . then ( ( id ) => { if ( id ) { if ( options && ( <mask> . ifNoneMatch === '*' ) ) { return putDone ( { status : 412 } ) ; } return this . _updateFile ( id , fullPath , body , contentType , options ) . then ( putDone ) ; } else { return this . _createFile ( fullPath , body , contentType , options ) . then ( putDone ) ; } } ) ; }