Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

GoogleSheetsDiffPlanner

Namespace OfficeIMO.Excel.GoogleSheets
Assembly OfficeIMO.Excel.GoogleSheets
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) #
Returns: Task<GoogleSheetsDiffPlan>

Imports the remote spreadsheet natively and compares it with the source and optional baseline.

Parameters

source OfficeIMO.Excel.ExcelDocument requiredposition: 0
spreadsheetId System.String requiredposition: 1
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession requiredposition: 2
checkpoint OfficeIMO.Excel.GoogleSheets.GoogleSheetsSyncCheckpoint = null optionalposition: 3
cancellationToken System.Threading.CancellationToken = default optionalposition: 4
public static GoogleSheetsSyncCheckpoint CreateCheckpoint(ExcelDocument document, Nullable<Int64> driveVersion = null) #
Returns: GoogleSheetsSyncCheckpoint

Captures source content hashes and an optional observed remote Drive version.

Parameters

document OfficeIMO.Excel.ExcelDocument requiredposition: 0
driveVersion System.Nullable{System.Int64} = null optionalposition: 1