Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleSheetsDiffPlanner

OfficeIMO.Excel.GoogleSheets

Namespace
OfficeIMO.Excel.GoogleSheets
Assembly
OfficeIMO.Excel.GoogleSheets
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

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 required
spreadsheetId string required
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required
checkpoint OfficeIMO.Excel.GoogleSheets.GoogleSheetsSyncCheckpoint? = null optional
cancellationToken System.Threading.CancellationToken = default optional
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 required
driveVersion long? = null optional