Spreadsheet Metadata
@Serializable
Metadata describes the input spreadsheet content.
Set this in Part.spreadsheet_metadata or FunctionResponsePart.spreadsheet_metadata when inline_data or file_data contains a spreadsheet to configure static spreadsheet preprocessing.
Constructors
Link copied to clipboard
constructor(visibleCells: String? = null, sheetIndex: Int? = null, contentLayers: List<SpreadsheetMetadataContentLayer>? = null)
Properties
Link copied to clipboard
Content layers to return. If empty, defaults to DATA, FORMULAS when SpreadsheetMetadata is set.
Link copied to clipboard
The 1-indexed index of the sheet to extract, in workbook order. If not set, the first sheet is used.
Link copied to clipboard
The range of cells to extract, in A1 notation (e.g. "A1:D10"). If not set, the full occupied area of the sheet is used.