API Reference
Interface
IGoogleSheetsImporter
Imports a Google spreadsheet into a caller-owned Excel document.
Methods
public abstract Task<GoogleSheetsImportResult> ImportAsync(String spreadsheetId, GoogleWorkspaceSession session, GoogleSheetsImportOptions options = null, CancellationToken cancellationToken = default) #Returns:
Task<GoogleSheetsImportResult>Loads a spreadsheet through Drive-exported XLSX or native Sheets projection.
Parameters
- spreadsheetId System.String
- session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession
- options OfficeIMO.Excel.GoogleSheets.GoogleSheetsImportOptions = null
- cancellationToken System.Threading.CancellationToken = default