The ID of the file.
async
(params, auths) => {
}
//See the API docs here: https://developers.google.com/drive/api/v3/reference/files/get?authuser=2
const config = {
url: `https://www.googleapis.com/drive/v3/files/${params.fileId}`,
params: {
acknowledgeAbuse: params.acknowledgeAbuse,
supportsAllDrives: params.supportsAllDrives,
supportsTeamDrives: params.supportsTeamDrives,
alt: params.alt,
fields: params.fields,
key: params.key,
oauth_token: params.oauth_token,
prettyPrint: params.prettyPrint,
quotaUser: params.quotaUser,
userIp: params.userIp,
},
headers: {
Authorization: `Bearer ${auths.google_drive.oauth_access_token}`,
},
}
return await require("@pipedreamhq/platform").axios(this, config)