Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleSheetsImporter

OfficeIMO.Excel.GoogleSheets

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

Imports Google spreadsheets through either loss-minimizing Drive conversion or the native Sheets model.

Inheritance

  • object
  • GoogleSheetsImporter

Constructors

public GoogleSheetsImporter() #

Methods

public async Task<GoogleSheetsImportResult> ImportAsync(string spreadsheetId, GoogleWorkspaceSession session, GoogleSheetsImportOptions? options = null, CancellationToken cancellationToken = default) #

Loads a Google spreadsheet and returns a caller-owned Excel document with source metadata.

Parameters

spreadsheetId string required
session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required
options OfficeIMO.Excel.GoogleSheets.GoogleSheetsImportOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional