The Microsoft Graph client instance.
An object containing the drive ID and file location details.
The ID of the drive containing the file.
OptionalfilePath?: stringThe relative path to the file within the drive (optional if folderId is used).
OptionalresponseType?: ResponseTypeOptional. The response type (e.g., ResponseType.ARRAYBUFFER).
A promise that resolves to the file content.
Retrieves a file by its path or folder ID within a SharePoint drive.