write

suspend fun write(filename: String, content: String): String?

Writes content to Google Drive, replacing any existing file with the same name.

Return

The file ID if the operation is successful, otherwise null.

Parameters

filename

The name of the file.

content

The content to write into the file.