I am exploring google api to find out a file description, which is a short summary of google drive file.
So I have came up with this code:
const {google} = require('googleapis');
const docs = google.docs({
version: "v1",
});
// set keys and docid
// clientEmail, privateKey, documentid
const jwt = new google.auth.JWT(clientEmail, null, privateKey, scopes);
const response = await docs.documents.get({
auth: jwt,
documentId: documentId,
});
The response returning an object but it is does not contain description. Any ideas how to find that through the 'googleapis' ?
