Class
GoogleSheetsDiffPlanner
OfficeIMO.Excel.GoogleSheets
Builds source fingerprints and compares an Excel document with native Google Sheets data.
Inheritance
- object
- GoogleSheetsDiffPlanner
Methods
public static async Task<GoogleSheetsDiffPlan> BuildAsync(ExcelDocument source, string spreadsheetId, GoogleWorkspaceSession session, GoogleSheetsSyncCheckpoint? checkpoint = null, CancellationToken cancellationToken = default) #Imports the remote spreadsheet natively and compares it with the source and optional baseline.
Parameters
- source OfficeIMO.Excel.ExcelDocument
- spreadsheetId string
- session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession
- checkpoint OfficeIMO.Excel.GoogleSheets.GoogleSheetsSyncCheckpoint? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
Task<GoogleSheetsDiffPlan>public static GoogleSheetsSyncCheckpoint CreateCheckpoint(ExcelDocument document, long? driveVersion = null) #Captures source content hashes and an optional observed remote Drive version.
Parameters
- document OfficeIMO.Excel.ExcelDocument
- driveVersion long? = null
Returns
GoogleSheetsSyncCheckpoint