# IGoogleSheetsImporter

Imports a Google spreadsheet into a caller-owned Excel document.

Interface 

`OfficeIMO.Excel.GoogleSheets`

**Namespace**

`OfficeIMO.Excel.GoogleSheets`

**Assembly**

`OfficeIMO.Excel.GoogleSheets`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[IGoogleSheetsImporter.cs:3](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/IGoogleSheetsImporter.cs#L3)

**Modifiers**

abstract

Imports a Google spreadsheet into a caller-owned Excel document.

Filter members 

Show inherited

## Methods

`public abstract Task<GoogleSheetsImportResult> ImportAsync(string spreadsheetId, GoogleWorkspaceSession session, GoogleSheetsImportOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-importasync-string-officeimo-googleworkspace-googleworkspacesession-officeimo-excel-googlesheets-googlesheetsimportoptions-threading-cancellationtoken)

Loads a spreadsheet through Drive-exported XLSX or native Sheets projection.

Parameters

**spreadsheetId string required**

**session OfficeIMO.GoogleWorkspace.GoogleWorkspaceSession required**

**options OfficeIMO.Excel.GoogleSheets.GoogleSheetsImportOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<GoogleSheetsImportResult>`

<!-- PowerForge markdown artifact sha256:7A604E35B028D50533E4D2A6044C2F252E6F0958D1A42172E89661B39105936F -->
