import {
OAuth2Client,
JWT,
Compute,
UserRefreshClient,
BaseExternalAccountClient,
GaxiosPromise,
GoogleConfigurable,
createAPIRequest,
MethodOptions,
StreamMethodOptions,
GlobalOptions,
GoogleAuth,
BodyResponseCallback,
APIRequestContext,
} from 'googleapis-common';
import {Readable} from 'stream';
export namespace sheets_v4 {
export interface Options extends GlobalOptions {
version: 'v4';
}
interface StandardParameters {
auth?:
| string
| OAuth2Client
| JWT
| Compute
| UserRefreshClient
| BaseExternalAccountClient
| GoogleAuth;
'$.xgafv'?: string;
access_token?: string;
alt?: string;
callback?: string;
fields?: string;
key?: string;
oauth_token?: string;
prettyPrint?: boolean;
quotaUser?: string;
uploadType?: string;
upload_protocol?: string;
}
export class Sheets {
context: APIRequestContext;
spreadsheets: Resource$Spreadsheets;
constructor(options: GlobalOptions, google?: GoogleConfigurable) {
this.context = {
_options: options || {},
google,
};
this.spreadsheets = new Resource$Spreadsheets(this.context);
}
}
export interface Schema$AddBandingRequest {
bandedRange?: Schema$BandedRange;
}
export interface Schema$AddBandingResponse {
bandedRange?: Schema$BandedRange;
}
export interface Schema$AddChartRequest {
chart?: Schema$EmbeddedChart;
}
export interface Schema$AddChartResponse {
chart?: Schema$EmbeddedChart;
}
export interface Schema$AddConditionalFormatRuleRequest {
index?: number | null;
rule?: Schema$ConditionalFormatRule;
}
export interface Schema$AddDataSourceRequest {
dataSource?: Schema$DataSource;
}
export interface Schema$AddDataSourceResponse {
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSource?: Schema$DataSource;
}
export interface Schema$AddDimensionGroupRequest {
range?: Schema$DimensionRange;
}
export interface Schema$AddDimensionGroupResponse {
dimensionGroups?: Schema$DimensionGroup[];
}
export interface Schema$AddFilterViewRequest {
filter?: Schema$FilterView;
}
export interface Schema$AddFilterViewResponse {
filter?: Schema$FilterView;
}
export interface Schema$AddNamedRangeRequest {
namedRange?: Schema$NamedRange;
}
export interface Schema$AddNamedRangeResponse {
namedRange?: Schema$NamedRange;
}
export interface Schema$AddProtectedRangeRequest {
protectedRange?: Schema$ProtectedRange;
}
export interface Schema$AddProtectedRangeResponse {
protectedRange?: Schema$ProtectedRange;
}
export interface Schema$AddSheetRequest {
properties?: Schema$SheetProperties;
}
export interface Schema$AddSheetResponse {
properties?: Schema$SheetProperties;
}
export interface Schema$AddSlicerRequest {
slicer?: Schema$Slicer;
}
export interface Schema$AddSlicerResponse {
slicer?: Schema$Slicer;
}
export interface Schema$AppendCellsRequest {
fields?: string | null;
rows?: Schema$RowData[];
sheetId?: number | null;
}
export interface Schema$AppendDimensionRequest {
dimension?: string | null;
length?: number | null;
sheetId?: number | null;
}
export interface Schema$AppendValuesResponse {
spreadsheetId?: string | null;
tableRange?: string | null;
updates?: Schema$UpdateValuesResponse;
}
export interface Schema$AutoFillRequest {
range?: Schema$GridRange;
sourceAndDestination?: Schema$SourceAndDestination;
useAlternateSeries?: boolean | null;
}
export interface Schema$AutoResizeDimensionsRequest {
dataSourceSheetDimensions?: Schema$DataSourceSheetDimensionRange;
dimensions?: Schema$DimensionRange;
}
export interface Schema$BandedRange {
bandedRangeId?: number | null;
columnProperties?: Schema$BandingProperties;
range?: Schema$GridRange;
rowProperties?: Schema$BandingProperties;
}
export interface Schema$BandingProperties {
firstBandColor?: Schema$Color;
firstBandColorStyle?: Schema$ColorStyle;
footerColor?: Schema$Color;
footerColorStyle?: Schema$ColorStyle;
headerColor?: Schema$Color;
headerColorStyle?: Schema$ColorStyle;
secondBandColor?: Schema$Color;
secondBandColorStyle?: Schema$ColorStyle;
}
export interface Schema$BaselineValueFormat {
comparisonType?: string | null;
description?: string | null;
negativeColor?: Schema$Color;
negativeColorStyle?: Schema$ColorStyle;
position?: Schema$TextPosition;
positiveColor?: Schema$Color;
positiveColorStyle?: Schema$ColorStyle;
textFormat?: Schema$TextFormat;
}
export interface Schema$BasicChartAxis {
format?: Schema$TextFormat;
position?: string | null;
title?: string | null;
titleTextPosition?: Schema$TextPosition;
viewWindowOptions?: Schema$ChartAxisViewWindowOptions;
}
export interface Schema$BasicChartDomain {
domain?: Schema$ChartData;
reversed?: boolean | null;
}
export interface Schema$BasicChartSeries {
color?: Schema$Color;
colorStyle?: Schema$ColorStyle;
dataLabel?: Schema$DataLabel;
lineStyle?: Schema$LineStyle;
pointStyle?: Schema$PointStyle;
series?: Schema$ChartData;
styleOverrides?: Schema$BasicSeriesDataPointStyleOverride[];
targetAxis?: string | null;
type?: string | null;
}
export interface Schema$BasicChartSpec {
axis?: Schema$BasicChartAxis[];
chartType?: string | null;
compareMode?: string | null;
domains?: Schema$BasicChartDomain[];
headerCount?: number | null;
interpolateNulls?: boolean | null;
legendPosition?: string | null;
lineSmoothing?: boolean | null;
series?: Schema$BasicChartSeries[];
stackedType?: string | null;
threeDimensional?: boolean | null;
totalDataLabel?: Schema$DataLabel;
}
export interface Schema$BasicFilter {
criteria?: {[key: string]: Schema$FilterCriteria} | null;
filterSpecs?: Schema$FilterSpec[];
range?: Schema$GridRange;
sortSpecs?: Schema$SortSpec[];
}
export interface Schema$BasicSeriesDataPointStyleOverride {
color?: Schema$Color;
colorStyle?: Schema$ColorStyle;
index?: number | null;
pointStyle?: Schema$PointStyle;
}
export interface Schema$BatchClearValuesByDataFilterRequest {
dataFilters?: Schema$DataFilter[];
}
export interface Schema$BatchClearValuesByDataFilterResponse {
clearedRanges?: string[] | null;
spreadsheetId?: string | null;
}
export interface Schema$BatchClearValuesRequest {
ranges?: string[] | null;
}
export interface Schema$BatchClearValuesResponse {
clearedRanges?: string[] | null;
spreadsheetId?: string | null;
}
export interface Schema$BatchGetValuesByDataFilterRequest {
dataFilters?: Schema$DataFilter[];
dateTimeRenderOption?: string | null;
majorDimension?: string | null;
valueRenderOption?: string | null;
}
export interface Schema$BatchGetValuesByDataFilterResponse {
spreadsheetId?: string | null;
valueRanges?: Schema$MatchedValueRange[];
}
export interface Schema$BatchGetValuesResponse {
spreadsheetId?: string | null;
valueRanges?: Schema$ValueRange[];
}
export interface Schema$BatchUpdateSpreadsheetRequest {
includeSpreadsheetInResponse?: boolean | null;
requests?: Schema$Request[];
responseIncludeGridData?: boolean | null;
responseRanges?: string[] | null;
}
export interface Schema$BatchUpdateSpreadsheetResponse {
replies?: Schema$Response[];
spreadsheetId?: string | null;
updatedSpreadsheet?: Schema$Spreadsheet;
}
export interface Schema$BatchUpdateValuesByDataFilterRequest {
data?: Schema$DataFilterValueRange[];
includeValuesInResponse?: boolean | null;
responseDateTimeRenderOption?: string | null;
responseValueRenderOption?: string | null;
valueInputOption?: string | null;
}
export interface Schema$BatchUpdateValuesByDataFilterResponse {
responses?: Schema$UpdateValuesByDataFilterResponse[];
spreadsheetId?: string | null;
totalUpdatedCells?: number | null;
totalUpdatedColumns?: number | null;
totalUpdatedRows?: number | null;
totalUpdatedSheets?: number | null;
}
export interface Schema$BatchUpdateValuesRequest {
data?: Schema$ValueRange[];
includeValuesInResponse?: boolean | null;
responseDateTimeRenderOption?: string | null;
responseValueRenderOption?: string | null;
valueInputOption?: string | null;
}
export interface Schema$BatchUpdateValuesResponse {
responses?: Schema$UpdateValuesResponse[];
spreadsheetId?: string | null;
totalUpdatedCells?: number | null;
totalUpdatedColumns?: number | null;
totalUpdatedRows?: number | null;
totalUpdatedSheets?: number | null;
}
export interface Schema$BigQueryDataSourceSpec {
projectId?: string | null;
querySpec?: Schema$BigQueryQuerySpec;
tableSpec?: Schema$BigQueryTableSpec;
}
export interface Schema$BigQueryQuerySpec {
rawQuery?: string | null;
}
export interface Schema$BigQueryTableSpec {
datasetId?: string | null;
tableId?: string | null;
tableProjectId?: string | null;
}
export interface Schema$BooleanCondition {
type?: string | null;
values?: Schema$ConditionValue[];
}
export interface Schema$BooleanRule {
condition?: Schema$BooleanCondition;
format?: Schema$CellFormat;
}
export interface Schema$Border {
color?: Schema$Color;
colorStyle?: Schema$ColorStyle;
style?: string | null;
width?: number | null;
}
export interface Schema$Borders {
bottom?: Schema$Border;
left?: Schema$Border;
right?: Schema$Border;
top?: Schema$Border;
}
export interface Schema$BubbleChartSpec {
bubbleBorderColor?: Schema$Color;
bubbleBorderColorStyle?: Schema$ColorStyle;
bubbleLabels?: Schema$ChartData;
bubbleMaxRadiusSize?: number | null;
bubbleMinRadiusSize?: number | null;
bubbleOpacity?: number | null;
bubbleSizes?: Schema$ChartData;
bubbleTextStyle?: Schema$TextFormat;
domain?: Schema$ChartData;
groupIds?: Schema$ChartData;
legendPosition?: string | null;
series?: Schema$ChartData;
}
export interface Schema$CandlestickChartSpec {
data?: Schema$CandlestickData[];
domain?: Schema$CandlestickDomain;
}
export interface Schema$CandlestickData {
closeSeries?: Schema$CandlestickSeries;
highSeries?: Schema$CandlestickSeries;
lowSeries?: Schema$CandlestickSeries;
openSeries?: Schema$CandlestickSeries;
}
export interface Schema$CandlestickDomain {
data?: Schema$ChartData;
reversed?: boolean | null;
}
export interface Schema$CandlestickSeries {
data?: Schema$ChartData;
}
export interface Schema$CellData {
dataSourceFormula?: Schema$DataSourceFormula;
dataSourceTable?: Schema$DataSourceTable;
dataValidation?: Schema$DataValidationRule;
effectiveFormat?: Schema$CellFormat;
effectiveValue?: Schema$ExtendedValue;
formattedValue?: string | null;
hyperlink?: string | null;
note?: string | null;
pivotTable?: Schema$PivotTable;
textFormatRuns?: Schema$TextFormatRun[];
userEnteredFormat?: Schema$CellFormat;
userEnteredValue?: Schema$ExtendedValue;
}
export interface Schema$CellFormat {
backgroundColor?: Schema$Color;
backgroundColorStyle?: Schema$ColorStyle;
borders?: Schema$Borders;
horizontalAlignment?: string | null;
hyperlinkDisplayType?: string | null;
numberFormat?: Schema$NumberFormat;
padding?: Schema$Padding;
textDirection?: string | null;
textFormat?: Schema$TextFormat;
textRotation?: Schema$TextRotation;
verticalAlignment?: string | null;
wrapStrategy?: string | null;
}
export interface Schema$ChartAxisViewWindowOptions {
viewWindowMax?: number | null;
viewWindowMin?: number | null;
viewWindowMode?: string | null;
}
export interface Schema$ChartCustomNumberFormatOptions {
prefix?: string | null;
suffix?: string | null;
}
export interface Schema$ChartData {
aggregateType?: string | null;
columnReference?: Schema$DataSourceColumnReference;
groupRule?: Schema$ChartGroupRule;
sourceRange?: Schema$ChartSourceRange;
}
export interface Schema$ChartDateTimeRule {
type?: string | null;
}
export interface Schema$ChartGroupRule {
dateTimeRule?: Schema$ChartDateTimeRule;
histogramRule?: Schema$ChartHistogramRule;
}
export interface Schema$ChartHistogramRule {
intervalSize?: number | null;
maxValue?: number | null;
minValue?: number | null;
}
export interface Schema$ChartSourceRange {
sources?: Schema$GridRange[];
}
export interface Schema$ChartSpec {
altText?: string | null;
backgroundColor?: Schema$Color;
backgroundColorStyle?: Schema$ColorStyle;
basicChart?: Schema$BasicChartSpec;
bubbleChart?: Schema$BubbleChartSpec;
candlestickChart?: Schema$CandlestickChartSpec;
dataSourceChartProperties?: Schema$DataSourceChartProperties;
filterSpecs?: Schema$FilterSpec[];
fontName?: string | null;
hiddenDimensionStrategy?: string | null;
histogramChart?: Schema$HistogramChartSpec;
maximized?: boolean | null;
orgChart?: Schema$OrgChartSpec;
pieChart?: Schema$PieChartSpec;
scorecardChart?: Schema$ScorecardChartSpec;
sortSpecs?: Schema$SortSpec[];
subtitle?: string | null;
subtitleTextFormat?: Schema$TextFormat;
subtitleTextPosition?: Schema$TextPosition;
title?: string | null;
titleTextFormat?: Schema$TextFormat;
titleTextPosition?: Schema$TextPosition;
treemapChart?: Schema$TreemapChartSpec;
waterfallChart?: Schema$WaterfallChartSpec;
}
export interface Schema$ClearBasicFilterRequest {
sheetId?: number | null;
}
export interface Schema$ClearValuesRequest {}
export interface Schema$ClearValuesResponse {
clearedRange?: string | null;
spreadsheetId?: string | null;
}
export interface Schema$Color {
alpha?: number | null;
blue?: number | null;
green?: number | null;
red?: number | null;
}
export interface Schema$ColorStyle {
rgbColor?: Schema$Color;
themeColor?: string | null;
}
export interface Schema$ConditionalFormatRule {
booleanRule?: Schema$BooleanRule;
gradientRule?: Schema$GradientRule;
ranges?: Schema$GridRange[];
}
export interface Schema$ConditionValue {
relativeDate?: string | null;
userEnteredValue?: string | null;
}
export interface Schema$CopyPasteRequest {
destination?: Schema$GridRange;
pasteOrientation?: string | null;
pasteType?: string | null;
source?: Schema$GridRange;
}
export interface Schema$CopySheetToAnotherSpreadsheetRequest {
destinationSpreadsheetId?: string | null;
}
export interface Schema$CreateDeveloperMetadataRequest {
developerMetadata?: Schema$DeveloperMetadata;
}
export interface Schema$CreateDeveloperMetadataResponse {
developerMetadata?: Schema$DeveloperMetadata;
}
export interface Schema$CutPasteRequest {
destination?: Schema$GridCoordinate;
pasteType?: string | null;
source?: Schema$GridRange;
}
export interface Schema$DataExecutionStatus {
errorCode?: string | null;
errorMessage?: string | null;
lastRefreshTime?: string | null;
state?: string | null;
}
export interface Schema$DataFilter {
a1Range?: string | null;
developerMetadataLookup?: Schema$DeveloperMetadataLookup;
gridRange?: Schema$GridRange;
}
export interface Schema$DataFilterValueRange {
dataFilter?: Schema$DataFilter;
majorDimension?: string | null;
values?: any[][] | null;
}
export interface Schema$DataLabel {
customLabelData?: Schema$ChartData;
placement?: string | null;
textFormat?: Schema$TextFormat;
type?: string | null;
}
export interface Schema$DataSource {
calculatedColumns?: Schema$DataSourceColumn[];
dataSourceId?: string | null;
sheetId?: number | null;
spec?: Schema$DataSourceSpec;
}
export interface Schema$DataSourceChartProperties {
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSourceId?: string | null;
}
export interface Schema$DataSourceColumn {
formula?: string | null;
reference?: Schema$DataSourceColumnReference;
}
export interface Schema$DataSourceColumnReference {
name?: string | null;
}
export interface Schema$DataSourceFormula {
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSourceId?: string | null;
}
export interface Schema$DataSourceObjectReference {
chartId?: number | null;
dataSourceFormulaCell?: Schema$GridCoordinate;
dataSourcePivotTableAnchorCell?: Schema$GridCoordinate;
dataSourceTableAnchorCell?: Schema$GridCoordinate;
sheetId?: string | null;
}
export interface Schema$DataSourceObjectReferences {
references?: Schema$DataSourceObjectReference[];
}
export interface Schema$DataSourceParameter {
name?: string | null;
namedRangeId?: string | null;
range?: Schema$GridRange;
}
export interface Schema$DataSourceRefreshDailySchedule {
startTime?: Schema$TimeOfDay;
}
export interface Schema$DataSourceRefreshMonthlySchedule {
daysOfMonth?: number[] | null;
startTime?: Schema$TimeOfDay;
}
export interface Schema$DataSourceRefreshSchedule {
dailySchedule?: Schema$DataSourceRefreshDailySchedule;
enabled?: boolean | null;
monthlySchedule?: Schema$DataSourceRefreshMonthlySchedule;
nextRun?: Schema$Interval;
refreshScope?: string | null;
weeklySchedule?: Schema$DataSourceRefreshWeeklySchedule;
}
export interface Schema$DataSourceRefreshWeeklySchedule {
daysOfWeek?: string[] | null;
startTime?: Schema$TimeOfDay;
}
export interface Schema$DataSourceSheetDimensionRange {
columnReferences?: Schema$DataSourceColumnReference[];
sheetId?: number | null;
}
export interface Schema$DataSourceSheetProperties {
columns?: Schema$DataSourceColumn[];
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSourceId?: string | null;
}
export interface Schema$DataSourceSpec {
bigQuery?: Schema$BigQueryDataSourceSpec;
parameters?: Schema$DataSourceParameter[];
}
export interface Schema$DataSourceTable {
columns?: Schema$DataSourceColumnReference[];
columnSelectionType?: string | null;
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSourceId?: string | null;
filterSpecs?: Schema$FilterSpec[];
rowLimit?: number | null;
sortSpecs?: Schema$SortSpec[];
}
export interface Schema$DataValidationRule {
condition?: Schema$BooleanCondition;
inputMessage?: string | null;
showCustomUi?: boolean | null;
strict?: boolean | null;
}
export interface Schema$DateTimeRule {
type?: string | null;
}
export interface Schema$DeleteBandingRequest {
bandedRangeId?: number | null;
}
export interface Schema$DeleteConditionalFormatRuleRequest {
index?: number | null;
sheetId?: number | null;
}
export interface Schema$DeleteConditionalFormatRuleResponse {
rule?: Schema$ConditionalFormatRule;
}
export interface Schema$DeleteDataSourceRequest {
dataSourceId?: string | null;
}
export interface Schema$DeleteDeveloperMetadataRequest {
dataFilter?: Schema$DataFilter;
}
export interface Schema$DeleteDeveloperMetadataResponse {
deletedDeveloperMetadata?: Schema$DeveloperMetadata[];
}
export interface Schema$DeleteDimensionGroupRequest {
range?: Schema$DimensionRange;
}
export interface Schema$DeleteDimensionGroupResponse {
dimensionGroups?: Schema$DimensionGroup[];
}
export interface Schema$DeleteDimensionRequest {
range?: Schema$DimensionRange;
}
export interface Schema$DeleteDuplicatesRequest {
comparisonColumns?: Schema$DimensionRange[];
range?: Schema$GridRange;
}
export interface Schema$DeleteDuplicatesResponse {
duplicatesRemovedCount?: number | null;
}
export interface Schema$DeleteEmbeddedObjectRequest {
objectId?: number | null;
}
export interface Schema$DeleteFilterViewRequest {
filterId?: number | null;
}
export interface Schema$DeleteNamedRangeRequest {
namedRangeId?: string | null;
}
export interface Schema$DeleteProtectedRangeRequest {
protectedRangeId?: number | null;
}
export interface Schema$DeleteRangeRequest {
range?: Schema$GridRange;
shiftDimension?: string | null;
}
export interface Schema$DeleteSheetRequest {
sheetId?: number | null;
}
export interface Schema$DeveloperMetadata {
location?: Schema$DeveloperMetadataLocation;
metadataId?: number | null;
metadataKey?: string | null;
metadataValue?: string | null;
visibility?: string | null;
}
export interface Schema$DeveloperMetadataLocation {
dimensionRange?: Schema$DimensionRange;
locationType?: string | null;
sheetId?: number | null;
spreadsheet?: boolean | null;
}
export interface Schema$DeveloperMetadataLookup {
locationMatchingStrategy?: string | null;
locationType?: string | null;
metadataId?: number | null;
metadataKey?: string | null;
metadataLocation?: Schema$DeveloperMetadataLocation;
metadataValue?: string | null;
visibility?: string | null;
}
export interface Schema$DimensionGroup {
collapsed?: boolean | null;
depth?: number | null;
range?: Schema$DimensionRange;
}
export interface Schema$DimensionProperties {
dataSourceColumnReference?: Schema$DataSourceColumnReference;
developerMetadata?: Schema$DeveloperMetadata[];
hiddenByFilter?: boolean | null;
hiddenByUser?: boolean | null;
pixelSize?: number | null;
}
export interface Schema$DimensionRange {
dimension?: string | null;
endIndex?: number | null;
sheetId?: number | null;
startIndex?: number | null;
}
export interface Schema$DuplicateFilterViewRequest {
filterId?: number | null;
}
export interface Schema$DuplicateFilterViewResponse {
filter?: Schema$FilterView;
}
export interface Schema$DuplicateSheetRequest {
insertSheetIndex?: number | null;
newSheetId?: number | null;
newSheetName?: string | null;
sourceSheetId?: number | null;
}
export interface Schema$DuplicateSheetResponse {
properties?: Schema$SheetProperties;
}
export interface Schema$Editors {
domainUsersCanEdit?: boolean | null;
groups?: string[] | null;
users?: string[] | null;
}
export interface Schema$EmbeddedChart {
border?: Schema$EmbeddedObjectBorder;
chartId?: number | null;
position?: Schema$EmbeddedObjectPosition;
spec?: Schema$ChartSpec;
}
export interface Schema$EmbeddedObjectBorder {
color?: Schema$Color;
colorStyle?: Schema$ColorStyle;
}
export interface Schema$EmbeddedObjectPosition {
newSheet?: boolean | null;
overlayPosition?: Schema$OverlayPosition;
sheetId?: number | null;
}
export interface Schema$ErrorValue {
message?: string | null;
type?: string | null;
}
export interface Schema$ExtendedValue {
boolValue?: boolean | null;
errorValue?: Schema$ErrorValue;
formulaValue?: string | null;
numberValue?: number | null;
stringValue?: string | null;
}
export interface Schema$FilterCriteria {
condition?: Schema$BooleanCondition;
hiddenValues?: string[] | null;
visibleBackgroundColor?: Schema$Color;
visibleBackgroundColorStyle?: Schema$ColorStyle;
visibleForegroundColor?: Schema$Color;
visibleForegroundColorStyle?: Schema$ColorStyle;
}
export interface Schema$FilterSpec {
columnIndex?: number | null;
dataSourceColumnReference?: Schema$DataSourceColumnReference;
filterCriteria?: Schema$FilterCriteria;
}
export interface Schema$FilterView {
criteria?: {[key: string]: Schema$FilterCriteria} | null;
filterSpecs?: Schema$FilterSpec[];
filterViewId?: number | null;
namedRangeId?: string | null;
range?: Schema$GridRange;
sortSpecs?: Schema$SortSpec[];
title?: string | null;
}
export interface Schema$FindReplaceRequest {
allSheets?: boolean | null;
find?: string | null;
includeFormulas?: boolean | null;
matchCase?: boolean | null;
matchEntireCell?: boolean | null;
range?: Schema$GridRange;
replacement?: string | null;
searchByRegex?: boolean | null;
sheetId?: number | null;
}
export interface Schema$FindReplaceResponse {
formulasChanged?: number | null;
occurrencesChanged?: number | null;
rowsChanged?: number | null;
sheetsChanged?: number | null;
valuesChanged?: number | null;
}
export interface Schema$GetSpreadsheetByDataFilterRequest {
dataFilters?: Schema$DataFilter[];
includeGridData?: boolean | null;
}
export interface Schema$GradientRule {
maxpoint?: Schema$InterpolationPoint;
midpoint?: Schema$InterpolationPoint;
minpoint?: Schema$InterpolationPoint;
}
export interface Schema$GridCoordinate {
columnIndex?: number | null;
rowIndex?: number | null;
sheetId?: number | null;
}
export interface Schema$GridData {
columnMetadata?: Schema$DimensionProperties[];
rowData?: Schema$RowData[];
rowMetadata?: Schema$DimensionProperties[];
startColumn?: number | null;
startRow?: number | null;
}
export interface Schema$GridProperties {
columnCount?: number | null;
columnGroupControlAfter?: boolean | null;
frozenColumnCount?: number | null;
frozenRowCount?: number | null;
hideGridlines?: boolean | null;
rowCount?: number | null;
rowGroupControlAfter?: boolean | null;
}
export interface Schema$GridRange {
endColumnIndex?: number | null;
endRowIndex?: number | null;
sheetId?: number | null;
startColumnIndex?: number | null;
startRowIndex?: number | null;
}
export interface Schema$HistogramChartSpec {
bucketSize?: number | null;
legendPosition?: string | null;
outlierPercentile?: number | null;
series?: Schema$HistogramSeries[];
showItemDividers?: boolean | null;
}
export interface Schema$HistogramRule {
end?: number | null;
interval?: number | null;
start?: number | null;
}
export interface Schema$HistogramSeries {
barColor?: Schema$Color;
barColorStyle?: Schema$ColorStyle;
data?: Schema$ChartData;
}
export interface Schema$InsertDimensionRequest {
inheritFromBefore?: boolean | null;
range?: Schema$DimensionRange;
}
export interface Schema$InsertRangeRequest {
range?: Schema$GridRange;
shiftDimension?: string | null;
}
export interface Schema$InterpolationPoint {
color?: Schema$Color;
colorStyle?: Schema$ColorStyle;
type?: string | null;
value?: string | null;
}
export interface Schema$Interval {
endTime?: string | null;
startTime?: string | null;
}
export interface Schema$IterativeCalculationSettings {
convergenceThreshold?: number | null;
maxIterations?: number | null;
}
export interface Schema$KeyValueFormat {
position?: Schema$TextPosition;
textFormat?: Schema$TextFormat;
}
export interface Schema$LineStyle {
type?: string | null;
width?: number | null;
}
export interface Schema$Link {
uri?: string | null;
}
export interface Schema$ManualRule {
groups?: Schema$ManualRuleGroup[];
}
export interface Schema$ManualRuleGroup {
groupName?: Schema$ExtendedValue;
items?: Schema$ExtendedValue[];
}
export interface Schema$MatchedDeveloperMetadata {
dataFilters?: Schema$DataFilter[];
developerMetadata?: Schema$DeveloperMetadata;
}
export interface Schema$MatchedValueRange {
dataFilters?: Schema$DataFilter[];
valueRange?: Schema$ValueRange;
}
export interface Schema$MergeCellsRequest {
mergeType?: string | null;
range?: Schema$GridRange;
}
export interface Schema$MoveDimensionRequest {
destinationIndex?: number | null;
source?: Schema$DimensionRange;
}
export interface Schema$NamedRange {
name?: string | null;
namedRangeId?: string | null;
range?: Schema$GridRange;
}
export interface Schema$NumberFormat {
pattern?: string | null;
type?: string | null;
}
export interface Schema$OrgChartSpec {
labels?: Schema$ChartData;
nodeColor?: Schema$Color;
nodeColorStyle?: Schema$ColorStyle;
nodeSize?: string | null;
parentLabels?: Schema$ChartData;
selectedNodeColor?: Schema$Color;
selectedNodeColorStyle?: Schema$ColorStyle;
tooltips?: Schema$ChartData;
}
export interface Schema$OverlayPosition {
anchorCell?: Schema$GridCoordinate;
heightPixels?: number | null;
offsetXPixels?: number | null;
offsetYPixels?: number | null;
widthPixels?: number | null;
}
export interface Schema$Padding {
bottom?: number | null;
left?: number | null;
right?: number | null;
top?: number | null;
}
export interface Schema$PasteDataRequest {
coordinate?: Schema$GridCoordinate;
data?: string | null;
delimiter?: string | null;
html?: boolean | null;
type?: string | null;
}
export interface Schema$PieChartSpec {
domain?: Schema$ChartData;
legendPosition?: string | null;
pieHole?: number | null;
series?: Schema$ChartData;
threeDimensional?: boolean | null;
}
export interface Schema$PivotFilterCriteria {
condition?: Schema$BooleanCondition;
visibleByDefault?: boolean | null;
visibleValues?: string[] | null;
}
export interface Schema$PivotFilterSpec {
columnOffsetIndex?: number | null;
dataSourceColumnReference?: Schema$DataSourceColumnReference;
filterCriteria?: Schema$PivotFilterCriteria;
}
export interface Schema$PivotGroup {
dataSourceColumnReference?: Schema$DataSourceColumnReference;
groupLimit?: Schema$PivotGroupLimit;
groupRule?: Schema$PivotGroupRule;
label?: string | null;
repeatHeadings?: boolean | null;
showTotals?: boolean | null;
sortOrder?: string | null;
sourceColumnOffset?: number | null;
valueBucket?: Schema$PivotGroupSortValueBucket;
valueMetadata?: Schema$PivotGroupValueMetadata[];
}
export interface Schema$PivotGroupLimit {
applyOrder?: number | null;
countLimit?: number | null;
}
export interface Schema$PivotGroupRule {
dateTimeRule?: Schema$DateTimeRule;
histogramRule?: Schema$HistogramRule;
manualRule?: Schema$ManualRule;
}
export interface Schema$PivotGroupSortValueBucket {
buckets?: Schema$ExtendedValue[];
valuesIndex?: number | null;
}
export interface Schema$PivotGroupValueMetadata {
collapsed?: boolean | null;
value?: Schema$ExtendedValue;
}
export interface Schema$PivotTable {
columns?: Schema$PivotGroup[];
criteria?: {[key: string]: Schema$PivotFilterCriteria} | null;
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSourceId?: string | null;
filterSpecs?: Schema$PivotFilterSpec[];
rows?: Schema$PivotGroup[];
source?: Schema$GridRange;
valueLayout?: string | null;
values?: Schema$PivotValue[];
}
export interface Schema$PivotValue {
calculatedDisplayType?: string | null;
dataSourceColumnReference?: Schema$DataSourceColumnReference;
formula?: string | null;
name?: string | null;
sourceColumnOffset?: number | null;
summarizeFunction?: string | null;
}
export interface Schema$PointStyle {
shape?: string | null;
size?: number | null;
}
export interface Schema$ProtectedRange {
description?: string | null;
editors?: Schema$Editors;
namedRangeId?: string | null;
protectedRangeId?: number | null;
range?: Schema$GridRange;
requestingUserCanEdit?: boolean | null;
unprotectedRanges?: Schema$GridRange[];
warningOnly?: boolean | null;
}
export interface Schema$RandomizeRangeRequest {
range?: Schema$GridRange;
}
export interface Schema$RefreshDataSourceObjectExecutionStatus {
dataExecutionStatus?: Schema$DataExecutionStatus;
reference?: Schema$DataSourceObjectReference;
}
export interface Schema$RefreshDataSourceRequest {
dataSourceId?: string | null;
force?: boolean | null;
isAll?: boolean | null;
references?: Schema$DataSourceObjectReferences;
}
export interface Schema$RefreshDataSourceResponse {
statuses?: Schema$RefreshDataSourceObjectExecutionStatus[];
}
export interface Schema$RepeatCellRequest {
cell?: Schema$CellData;
fields?: string | null;
range?: Schema$GridRange;
}
export interface Schema$Request {
addBanding?: Schema$AddBandingRequest;
addChart?: Schema$AddChartRequest;
addConditionalFormatRule?: Schema$AddConditionalFormatRuleRequest;
addDataSource?: Schema$AddDataSourceRequest;
addDimensionGroup?: Schema$AddDimensionGroupRequest;
addFilterView?: Schema$AddFilterViewRequest;
addNamedRange?: Schema$AddNamedRangeRequest;
addProtectedRange?: Schema$AddProtectedRangeRequest;
addSheet?: Schema$AddSheetRequest;
addSlicer?: Schema$AddSlicerRequest;
appendCells?: Schema$AppendCellsRequest;
appendDimension?: Schema$AppendDimensionRequest;
autoFill?: Schema$AutoFillRequest;
autoResizeDimensions?: Schema$AutoResizeDimensionsRequest;
clearBasicFilter?: Schema$ClearBasicFilterRequest;
copyPaste?: Schema$CopyPasteRequest;
createDeveloperMetadata?: Schema$CreateDeveloperMetadataRequest;
cutPaste?: Schema$CutPasteRequest;
deleteBanding?: Schema$DeleteBandingRequest;
deleteConditionalFormatRule?: Schema$DeleteConditionalFormatRuleRequest;
deleteDataSource?: Schema$DeleteDataSourceRequest;
deleteDeveloperMetadata?: Schema$DeleteDeveloperMetadataRequest;
deleteDimension?: Schema$DeleteDimensionRequest;
deleteDimensionGroup?: Schema$DeleteDimensionGroupRequest;
deleteDuplicates?: Schema$DeleteDuplicatesRequest;
deleteEmbeddedObject?: Schema$DeleteEmbeddedObjectRequest;
deleteFilterView?: Schema$DeleteFilterViewRequest;
deleteNamedRange?: Schema$DeleteNamedRangeRequest;
deleteProtectedRange?: Schema$DeleteProtectedRangeRequest;
deleteRange?: Schema$DeleteRangeRequest;
deleteSheet?: Schema$DeleteSheetRequest;
duplicateFilterView?: Schema$DuplicateFilterViewRequest;
duplicateSheet?: Schema$DuplicateSheetRequest;
findReplace?: Schema$FindReplaceRequest;
insertDimension?: Schema$InsertDimensionRequest;
insertRange?: Schema$InsertRangeRequest;
mergeCells?: Schema$MergeCellsRequest;
moveDimension?: Schema$MoveDimensionRequest;
pasteData?: Schema$PasteDataRequest;
randomizeRange?: Schema$RandomizeRangeRequest;
refreshDataSource?: Schema$RefreshDataSourceRequest;
repeatCell?: Schema$RepeatCellRequest;
setBasicFilter?: Schema$SetBasicFilterRequest;
setDataValidation?: Schema$SetDataValidationRequest;
sortRange?: Schema$SortRangeRequest;
textToColumns?: Schema$TextToColumnsRequest;
trimWhitespace?: Schema$TrimWhitespaceRequest;
unmergeCells?: Schema$UnmergeCellsRequest;
updateBanding?: Schema$UpdateBandingRequest;
updateBorders?: Schema$UpdateBordersRequest;
updateCells?: Schema$UpdateCellsRequest;
updateChartSpec?: Schema$UpdateChartSpecRequest;
updateConditionalFormatRule?: Schema$UpdateConditionalFormatRuleRequest;
updateDataSource?: Schema$UpdateDataSourceRequest;
updateDeveloperMetadata?: Schema$UpdateDeveloperMetadataRequest;
updateDimensionGroup?: Schema$UpdateDimensionGroupRequest;
updateDimensionProperties?: Schema$UpdateDimensionPropertiesRequest;
updateEmbeddedObjectBorder?: Schema$UpdateEmbeddedObjectBorderRequest;
updateEmbeddedObjectPosition?: Schema$UpdateEmbeddedObjectPositionRequest;
updateFilterView?: Schema$UpdateFilterViewRequest;
updateNamedRange?: Schema$UpdateNamedRangeRequest;
updateProtectedRange?: Schema$UpdateProtectedRangeRequest;
updateSheetProperties?: Schema$UpdateSheetPropertiesRequest;
updateSlicerSpec?: Schema$UpdateSlicerSpecRequest;
updateSpreadsheetProperties?: Schema$UpdateSpreadsheetPropertiesRequest;
}
export interface Schema$Response {
addBanding?: Schema$AddBandingResponse;
addChart?: Schema$AddChartResponse;
addDataSource?: Schema$AddDataSourceResponse;
addDimensionGroup?: Schema$AddDimensionGroupResponse;
addFilterView?: Schema$AddFilterViewResponse;
addNamedRange?: Schema$AddNamedRangeResponse;
addProtectedRange?: Schema$AddProtectedRangeResponse;
addSheet?: Schema$AddSheetResponse;
addSlicer?: Schema$AddSlicerResponse;
createDeveloperMetadata?: Schema$CreateDeveloperMetadataResponse;
deleteConditionalFormatRule?: Schema$DeleteConditionalFormatRuleResponse;
deleteDeveloperMetadata?: Schema$DeleteDeveloperMetadataResponse;
deleteDimensionGroup?: Schema$DeleteDimensionGroupResponse;
deleteDuplicates?: Schema$DeleteDuplicatesResponse;
duplicateFilterView?: Schema$DuplicateFilterViewResponse;
duplicateSheet?: Schema$DuplicateSheetResponse;
findReplace?: Schema$FindReplaceResponse;
refreshDataSource?: Schema$RefreshDataSourceResponse;
trimWhitespace?: Schema$TrimWhitespaceResponse;
updateConditionalFormatRule?: Schema$UpdateConditionalFormatRuleResponse;
updateDataSource?: Schema$UpdateDataSourceResponse;
updateDeveloperMetadata?: Schema$UpdateDeveloperMetadataResponse;
updateEmbeddedObjectPosition?: Schema$UpdateEmbeddedObjectPositionResponse;
}
export interface Schema$RowData {
values?: Schema$CellData[];
}
export interface Schema$ScorecardChartSpec {
aggregateType?: string | null;
baselineValueData?: Schema$ChartData;
baselineValueFormat?: Schema$BaselineValueFormat;
customFormatOptions?: Schema$ChartCustomNumberFormatOptions;
keyValueData?: Schema$ChartData;
keyValueFormat?: Schema$KeyValueFormat;
numberFormatSource?: string | null;
scaleFactor?: number | null;
}
export interface Schema$SearchDeveloperMetadataRequest {
dataFilters?: Schema$DataFilter[];
}
export interface Schema$SearchDeveloperMetadataResponse {
matchedDeveloperMetadata?: Schema$MatchedDeveloperMetadata[];
}
export interface Schema$SetBasicFilterRequest {
filter?: Schema$BasicFilter;
}
export interface Schema$SetDataValidationRequest {
range?: Schema$GridRange;
rule?: Schema$DataValidationRule;
}
export interface Schema$Sheet {
bandedRanges?: Schema$BandedRange[];
basicFilter?: Schema$BasicFilter;
charts?: Schema$EmbeddedChart[];
columnGroups?: Schema$DimensionGroup[];
conditionalFormats?: Schema$ConditionalFormatRule[];
data?: Schema$GridData[];
developerMetadata?: Schema$DeveloperMetadata[];
filterViews?: Schema$FilterView[];
merges?: Schema$GridRange[];
properties?: Schema$SheetProperties;
protectedRanges?: Schema$ProtectedRange[];
rowGroups?: Schema$DimensionGroup[];
slicers?: Schema$Slicer[];
}
export interface Schema$SheetProperties {
dataSourceSheetProperties?: Schema$DataSourceSheetProperties;
gridProperties?: Schema$GridProperties;
hidden?: boolean | null;
index?: number | null;
rightToLeft?: boolean | null;
sheetId?: number | null;
sheetType?: string | null;
tabColor?: Schema$Color;
tabColorStyle?: Schema$ColorStyle;
title?: string | null;
}
export interface Schema$Slicer {
position?: Schema$EmbeddedObjectPosition;
slicerId?: number | null;
spec?: Schema$SlicerSpec;
}
export interface Schema$SlicerSpec {
applyToPivotTables?: boolean | null;
backgroundColor?: Schema$Color;
backgroundColorStyle?: Schema$ColorStyle;
columnIndex?: number | null;
dataRange?: Schema$GridRange;
filterCriteria?: Schema$FilterCriteria;
horizontalAlignment?: string | null;
textFormat?: Schema$TextFormat;
title?: string | null;
}
export interface Schema$SortRangeRequest {
range?: Schema$GridRange;
sortSpecs?: Schema$SortSpec[];
}
export interface Schema$SortSpec {
backgroundColor?: Schema$Color;
backgroundColorStyle?: Schema$ColorStyle;
dataSourceColumnReference?: Schema$DataSourceColumnReference;
dimensionIndex?: number | null;
foregroundColor?: Schema$Color;
foregroundColorStyle?: Schema$ColorStyle;
sortOrder?: string | null;
}
export interface Schema$SourceAndDestination {
dimension?: string | null;
fillLength?: number | null;
source?: Schema$GridRange;
}
export interface Schema$Spreadsheet {
dataSources?: Schema$DataSource[];
dataSourceSchedules?: Schema$DataSourceRefreshSchedule[];
developerMetadata?: Schema$DeveloperMetadata[];
namedRanges?: Schema$NamedRange[];
properties?: Schema$SpreadsheetProperties;
sheets?: Schema$Sheet[];
spreadsheetId?: string | null;
spreadsheetUrl?: string | null;
}
export interface Schema$SpreadsheetProperties {
autoRecalc?: string | null;
defaultFormat?: Schema$CellFormat;
iterativeCalculationSettings?: Schema$IterativeCalculationSettings;
locale?: string | null;
spreadsheetTheme?: Schema$SpreadsheetTheme;
timeZone?: string | null;
title?: string | null;
}
export interface Schema$SpreadsheetTheme {
primaryFontFamily?: string | null;
themeColors?: Schema$ThemeColorPair[];
}
export interface Schema$TextFormat {
bold?: boolean | null;
fontFamily?: string | null;
fontSize?: number | null;
foregroundColor?: Schema$Color;
foregroundColorStyle?: Schema$ColorStyle;
italic?: boolean | null;
link?: Schema$Link;
strikethrough?: boolean | null;
underline?: boolean | null;
}
export interface Schema$TextFormatRun {
format?: Schema$TextFormat;
startIndex?: number | null;
}
export interface Schema$TextPosition {
horizontalAlignment?: string | null;
}
export interface Schema$TextRotation {
angle?: number | null;
vertical?: boolean | null;
}
export interface Schema$TextToColumnsRequest {
delimiter?: string | null;
delimiterType?: string | null;
source?: Schema$GridRange;
}
export interface Schema$ThemeColorPair {
color?: Schema$ColorStyle;
colorType?: string | null;
}
export interface Schema$TimeOfDay {
hours?: number | null;
minutes?: number | null;
nanos?: number | null;
seconds?: number | null;
}
export interface Schema$TreemapChartColorScale {
maxValueColor?: Schema$Color;
maxValueColorStyle?: Schema$ColorStyle;
midValueColor?: Schema$Color;
midValueColorStyle?: Schema$ColorStyle;
minValueColor?: Schema$Color;
minValueColorStyle?: Schema$ColorStyle;
noDataColor?: Schema$Color;
noDataColorStyle?: Schema$ColorStyle;
}
export interface Schema$TreemapChartSpec {
colorData?: Schema$ChartData;
colorScale?: Schema$TreemapChartColorScale;
headerColor?: Schema$Color;
headerColorStyle?: Schema$ColorStyle;
hideTooltips?: boolean | null;
hintedLevels?: number | null;
labels?: Schema$ChartData;
levels?: number | null;
maxValue?: number | null;
minValue?: number | null;
parentLabels?: Schema$ChartData;
sizeData?: Schema$ChartData;
textFormat?: Schema$TextFormat;
}
export interface Schema$TrimWhitespaceRequest {
range?: Schema$GridRange;
}
export interface Schema$TrimWhitespaceResponse {
cellsChangedCount?: number | null;
}
export interface Schema$UnmergeCellsRequest {
range?: Schema$GridRange;
}
export interface Schema$UpdateBandingRequest {
bandedRange?: Schema$BandedRange;
fields?: string | null;
}
export interface Schema$UpdateBordersRequest {
bottom?: Schema$Border;
innerHorizontal?: Schema$Border;
innerVertical?: Schema$Border;
left?: Schema$Border;
range?: Schema$GridRange;
right?: Schema$Border;
top?: Schema$Border;
}
export interface Schema$UpdateCellsRequest {
fields?: string | null;
range?: Schema$GridRange;
rows?: Schema$RowData[];
start?: Schema$GridCoordinate;
}
export interface Schema$UpdateChartSpecRequest {
chartId?: number | null;
spec?: Schema$ChartSpec;
}
export interface Schema$UpdateConditionalFormatRuleRequest {
index?: number | null;
newIndex?: number | null;
rule?: Schema$ConditionalFormatRule;
sheetId?: number | null;
}
export interface Schema$UpdateConditionalFormatRuleResponse {
newIndex?: number | null;
newRule?: Schema$ConditionalFormatRule;
oldIndex?: number | null;
oldRule?: Schema$ConditionalFormatRule;
}
export interface Schema$UpdateDataSourceRequest {
dataSource?: Schema$DataSource;
fields?: string | null;
}
export interface Schema$UpdateDataSourceResponse {
dataExecutionStatus?: Schema$DataExecutionStatus;
dataSource?: Schema$DataSource;
}
export interface Schema$UpdateDeveloperMetadataRequest {
dataFilters?: Schema$DataFilter[];
developerMetadata?: Schema$DeveloperMetadata;
fields?: string | null;
}
export interface Schema$UpdateDeveloperMetadataResponse {
developerMetadata?: Schema$DeveloperMetadata[];
}
export interface Schema$UpdateDimensionGroupRequest {
dimensionGroup?: Schema$DimensionGroup;
fields?: string | null;
}
export interface Schema$UpdateDimensionPropertiesRequest {
dataSourceSheetRange?: Schema$DataSourceSheetDimensionRange;
fields?: string | null;
properties?: Schema$DimensionProperties;
range?: Schema$DimensionRange;
}
export interface Schema$UpdateEmbeddedObjectBorderRequest {
border?: Schema$EmbeddedObjectBorder;
fields?: string | null;
objectId?: number | null;
}
export interface Schema$UpdateEmbeddedObjectPositionRequest {
fields?: string | null;
newPosition?: Schema$EmbeddedObjectPosition;
objectId?: number | null;
}
export interface Schema$UpdateEmbeddedObjectPositionResponse {
position?: Schema$EmbeddedObjectPosition;
}
export interface Schema$UpdateFilterViewRequest {
fields?: string | null;
filter?: Schema$FilterView;
}
export interface Schema$UpdateNamedRangeRequest {
fields?: string | null;
namedRange?: Schema$NamedRange;
}
export interface Schema$UpdateProtectedRangeRequest {
fields?: string | null;
protectedRange?: Schema$ProtectedRange;
}
export interface Schema$UpdateSheetPropertiesRequest {
fields?: string | null;
properties?: Schema$SheetProperties;
}
export interface Schema$UpdateSlicerSpecRequest {
fields?: string | null;
slicerId?: number | null;
spec?: Schema$SlicerSpec;
}
export interface Schema$UpdateSpreadsheetPropertiesRequest {
fields?: string | null;
properties?: Schema$SpreadsheetProperties;
}
export interface Schema$UpdateValuesByDataFilterResponse {
dataFilter?: Schema$DataFilter;
updatedCells?: number | null;
updatedColumns?: number | null;
updatedData?: Schema$ValueRange;
updatedRange?: string | null;
updatedRows?: number | null;
}
export interface Schema$UpdateValuesResponse {
spreadsheetId?: string | null;
updatedCells?: number | null;
updatedColumns?: number | null;
updatedData?: Schema$ValueRange;
updatedRange?: string | null;
updatedRows?: number | null;
}
export interface Schema$ValueRange {
majorDimension?: string | null;
range?: string | null;
values?: any[][] | null;
}
export interface Schema$WaterfallChartColumnStyle {
color?: Schema$Color;
colorStyle?: Schema$ColorStyle;
label?: string | null;
}
export interface Schema$WaterfallChartCustomSubtotal {
dataIsSubtotal?: boolean | null;
label?: string | null;
subtotalIndex?: number | null;
}
export interface Schema$WaterfallChartDomain {
data?: Schema$ChartData;
reversed?: boolean | null;
}
export interface Schema$WaterfallChartSeries {
customSubtotals?: Schema$WaterfallChartCustomSubtotal[];
data?: Schema$ChartData;
dataLabel?: Schema$DataLabel;
hideTrailingSubtotal?: boolean | null;
negativeColumnsStyle?: Schema$WaterfallChartColumnStyle;
positiveColumnsStyle?: Schema$WaterfallChartColumnStyle;
subtotalColumnsStyle?: Schema$WaterfallChartColumnStyle;
}
export interface Schema$WaterfallChartSpec {
connectorLineStyle?: Schema$LineStyle;
domain?: Schema$WaterfallChartDomain;
firstValueIsTotal?: boolean | null;
hideConnectorLines?: boolean | null;
series?: Schema$WaterfallChartSeries[];
stackedType?: string | null;
totalDataLabel?: Schema$DataLabel;
}
export class Resource$Spreadsheets {
context: APIRequestContext;
developerMetadata: Resource$Spreadsheets$Developermetadata;
sheets: Resource$Spreadsheets$Sheets;
values: Resource$Spreadsheets$Values;
constructor(context: APIRequestContext) {
this.context = context;
this.developerMetadata = new Resource$Spreadsheets$Developermetadata(
this.context
);
this.sheets = new Resource$Spreadsheets$Sheets(this.context);
this.values = new Resource$Spreadsheets$Values(this.context);
}
batchUpdate(
params: Params$Resource$Spreadsheets$Batchupdate,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchUpdate(
params?: Params$Resource$Spreadsheets$Batchupdate,
options?: MethodOptions
): GaxiosPromise<Schema$BatchUpdateSpreadsheetResponse>;
batchUpdate(
params: Params$Resource$Spreadsheets$Batchupdate,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchUpdate(
params: Params$Resource$Spreadsheets$Batchupdate,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>,
callback: BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>
): void;
batchUpdate(
params: Params$Resource$Spreadsheets$Batchupdate,
callback: BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>
): void;
batchUpdate(
callback: BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>
): void;
batchUpdate(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Batchupdate
| BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchUpdateSpreadsheetResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchUpdateSpreadsheetResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Batchupdate;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Batchupdate;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}:batchUpdate'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchUpdateSpreadsheetResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchUpdateSpreadsheetResponse>(
parameters
);
}
}
create(
params: Params$Resource$Spreadsheets$Create,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
create(
params?: Params$Resource$Spreadsheets$Create,
options?: MethodOptions
): GaxiosPromise<Schema$Spreadsheet>;
create(
params: Params$Resource$Spreadsheets$Create,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
create(
params: Params$Resource$Spreadsheets$Create,
options: MethodOptions | BodyResponseCallback<Schema$Spreadsheet>,
callback: BodyResponseCallback<Schema$Spreadsheet>
): void;
create(
params: Params$Resource$Spreadsheets$Create,
callback: BodyResponseCallback<Schema$Spreadsheet>
): void;
create(callback: BodyResponseCallback<Schema$Spreadsheet>): void;
create(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Create
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>
): void | GaxiosPromise<Schema$Spreadsheet> | GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Create;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Create;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (rootUrl + '/v4/spreadsheets').replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: [],
pathParams: [],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$Spreadsheet>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$Spreadsheet>(parameters);
}
}
get(
params: Params$Resource$Spreadsheets$Get,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
get(
params?: Params$Resource$Spreadsheets$Get,
options?: MethodOptions
): GaxiosPromise<Schema$Spreadsheet>;
get(
params: Params$Resource$Spreadsheets$Get,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
get(
params: Params$Resource$Spreadsheets$Get,
options: MethodOptions | BodyResponseCallback<Schema$Spreadsheet>,
callback: BodyResponseCallback<Schema$Spreadsheet>
): void;
get(
params: Params$Resource$Spreadsheets$Get,
callback: BodyResponseCallback<Schema$Spreadsheet>
): void;
get(callback: BodyResponseCallback<Schema$Spreadsheet>): void;
get(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Get
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>
): void | GaxiosPromise<Schema$Spreadsheet> | GaxiosPromise<Readable> {
let params = (paramsOrCallback || {}) as Params$Resource$Spreadsheets$Get;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Get;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}').replace(
/([^:]\/)\/+/g,
'$1'
),
method: 'GET',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$Spreadsheet>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$Spreadsheet>(parameters);
}
}
getByDataFilter(
params: Params$Resource$Spreadsheets$Getbydatafilter,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
getByDataFilter(
params?: Params$Resource$Spreadsheets$Getbydatafilter,
options?: MethodOptions
): GaxiosPromise<Schema$Spreadsheet>;
getByDataFilter(
params: Params$Resource$Spreadsheets$Getbydatafilter,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
getByDataFilter(
params: Params$Resource$Spreadsheets$Getbydatafilter,
options: MethodOptions | BodyResponseCallback<Schema$Spreadsheet>,
callback: BodyResponseCallback<Schema$Spreadsheet>
): void;
getByDataFilter(
params: Params$Resource$Spreadsheets$Getbydatafilter,
callback: BodyResponseCallback<Schema$Spreadsheet>
): void;
getByDataFilter(callback: BodyResponseCallback<Schema$Spreadsheet>): void;
getByDataFilter(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Getbydatafilter
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$Spreadsheet>
| BodyResponseCallback<Readable>
): void | GaxiosPromise<Schema$Spreadsheet> | GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Getbydatafilter;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Getbydatafilter;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}:getByDataFilter'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$Spreadsheet>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$Spreadsheet>(parameters);
}
}
}
export interface Params$Resource$Spreadsheets$Batchupdate
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$BatchUpdateSpreadsheetRequest;
}
export interface Params$Resource$Spreadsheets$Create
extends StandardParameters {
requestBody?: Schema$Spreadsheet;
}
export interface Params$Resource$Spreadsheets$Get extends StandardParameters {
includeGridData?: boolean;
ranges?: string[];
spreadsheetId?: string;
}
export interface Params$Resource$Spreadsheets$Getbydatafilter
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$GetSpreadsheetByDataFilterRequest;
}
export class Resource$Spreadsheets$Developermetadata {
context: APIRequestContext;
constructor(context: APIRequestContext) {
this.context = context;
}
get(
params: Params$Resource$Spreadsheets$Developermetadata$Get,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
get(
params?: Params$Resource$Spreadsheets$Developermetadata$Get,
options?: MethodOptions
): GaxiosPromise<Schema$DeveloperMetadata>;
get(
params: Params$Resource$Spreadsheets$Developermetadata$Get,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
get(
params: Params$Resource$Spreadsheets$Developermetadata$Get,
options: MethodOptions | BodyResponseCallback<Schema$DeveloperMetadata>,
callback: BodyResponseCallback<Schema$DeveloperMetadata>
): void;
get(
params: Params$Resource$Spreadsheets$Developermetadata$Get,
callback: BodyResponseCallback<Schema$DeveloperMetadata>
): void;
get(callback: BodyResponseCallback<Schema$DeveloperMetadata>): void;
get(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Developermetadata$Get
| BodyResponseCallback<Schema$DeveloperMetadata>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$DeveloperMetadata>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$DeveloperMetadata>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$DeveloperMetadata>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Developermetadata$Get;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Developermetadata$Get;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl +
'/v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
},
options
),
params,
requiredParams: ['spreadsheetId', 'metadataId'],
pathParams: ['metadataId', 'spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$DeveloperMetadata>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$DeveloperMetadata>(parameters);
}
}
search(
params: Params$Resource$Spreadsheets$Developermetadata$Search,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
search(
params?: Params$Resource$Spreadsheets$Developermetadata$Search,
options?: MethodOptions
): GaxiosPromise<Schema$SearchDeveloperMetadataResponse>;
search(
params: Params$Resource$Spreadsheets$Developermetadata$Search,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
search(
params: Params$Resource$Spreadsheets$Developermetadata$Search,
options:
| MethodOptions
| BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>,
callback: BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>
): void;
search(
params: Params$Resource$Spreadsheets$Developermetadata$Search,
callback: BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>
): void;
search(
callback: BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>
): void;
search(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Developermetadata$Search
| BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$SearchDeveloperMetadataResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$SearchDeveloperMetadataResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Developermetadata$Search;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Developermetadata$Search;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl +
'/v4/spreadsheets/{spreadsheetId}/developerMetadata:search'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$SearchDeveloperMetadataResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$SearchDeveloperMetadataResponse>(
parameters
);
}
}
}
export interface Params$Resource$Spreadsheets$Developermetadata$Get
extends StandardParameters {
metadataId?: number;
spreadsheetId?: string;
}
export interface Params$Resource$Spreadsheets$Developermetadata$Search
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$SearchDeveloperMetadataRequest;
}
export class Resource$Spreadsheets$Sheets {
context: APIRequestContext;
constructor(context: APIRequestContext) {
this.context = context;
}
copyTo(
params: Params$Resource$Spreadsheets$Sheets$Copyto,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
copyTo(
params?: Params$Resource$Spreadsheets$Sheets$Copyto,
options?: MethodOptions
): GaxiosPromise<Schema$SheetProperties>;
copyTo(
params: Params$Resource$Spreadsheets$Sheets$Copyto,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
copyTo(
params: Params$Resource$Spreadsheets$Sheets$Copyto,
options: MethodOptions | BodyResponseCallback<Schema$SheetProperties>,
callback: BodyResponseCallback<Schema$SheetProperties>
): void;
copyTo(
params: Params$Resource$Spreadsheets$Sheets$Copyto,
callback: BodyResponseCallback<Schema$SheetProperties>
): void;
copyTo(callback: BodyResponseCallback<Schema$SheetProperties>): void;
copyTo(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Sheets$Copyto
| BodyResponseCallback<Schema$SheetProperties>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$SheetProperties>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$SheetProperties>
| BodyResponseCallback<Readable>
): void | GaxiosPromise<Schema$SheetProperties> | GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Sheets$Copyto;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Sheets$Copyto;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl +
'/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId', 'sheetId'],
pathParams: ['sheetId', 'spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$SheetProperties>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$SheetProperties>(parameters);
}
}
}
export interface Params$Resource$Spreadsheets$Sheets$Copyto
extends StandardParameters {
sheetId?: number;
spreadsheetId?: string;
requestBody?: Schema$CopySheetToAnotherSpreadsheetRequest;
}
export class Resource$Spreadsheets$Values {
context: APIRequestContext;
constructor(context: APIRequestContext) {
this.context = context;
}
append(
params: Params$Resource$Spreadsheets$Values$Append,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
append(
params?: Params$Resource$Spreadsheets$Values$Append,
options?: MethodOptions
): GaxiosPromise<Schema$AppendValuesResponse>;
append(
params: Params$Resource$Spreadsheets$Values$Append,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
append(
params: Params$Resource$Spreadsheets$Values$Append,
options:
| MethodOptions
| BodyResponseCallback<Schema$AppendValuesResponse>,
callback: BodyResponseCallback<Schema$AppendValuesResponse>
): void;
append(
params: Params$Resource$Spreadsheets$Values$Append,
callback: BodyResponseCallback<Schema$AppendValuesResponse>
): void;
append(callback: BodyResponseCallback<Schema$AppendValuesResponse>): void;
append(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Append
| BodyResponseCallback<Schema$AppendValuesResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$AppendValuesResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$AppendValuesResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$AppendValuesResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Append;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Append;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}:append'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId', 'range'],
pathParams: ['range', 'spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$AppendValuesResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$AppendValuesResponse>(parameters);
}
}
batchClear(
params: Params$Resource$Spreadsheets$Values$Batchclear,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchClear(
params?: Params$Resource$Spreadsheets$Values$Batchclear,
options?: MethodOptions
): GaxiosPromise<Schema$BatchClearValuesResponse>;
batchClear(
params: Params$Resource$Spreadsheets$Values$Batchclear,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchClear(
params: Params$Resource$Spreadsheets$Values$Batchclear,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchClearValuesResponse>,
callback: BodyResponseCallback<Schema$BatchClearValuesResponse>
): void;
batchClear(
params: Params$Resource$Spreadsheets$Values$Batchclear,
callback: BodyResponseCallback<Schema$BatchClearValuesResponse>
): void;
batchClear(
callback: BodyResponseCallback<Schema$BatchClearValuesResponse>
): void;
batchClear(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Batchclear
| BodyResponseCallback<Schema$BatchClearValuesResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchClearValuesResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchClearValuesResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchClearValuesResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Batchclear;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Batchclear;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchClear'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchClearValuesResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchClearValuesResponse>(parameters);
}
}
batchClearByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchClearByDataFilter(
params?: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
options?: MethodOptions
): GaxiosPromise<Schema$BatchClearValuesByDataFilterResponse>;
batchClearByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchClearByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>,
callback: BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>
): void;
batchClearByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchclearbydatafilter,
callback: BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>
): void;
batchClearByDataFilter(
callback: BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>
): void;
batchClearByDataFilter(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Batchclearbydatafilter
| BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchClearValuesByDataFilterResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchClearValuesByDataFilterResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Batchclearbydatafilter;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params =
{} as Params$Resource$Spreadsheets$Values$Batchclearbydatafilter;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl +
'/v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchClearValuesByDataFilterResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchClearValuesByDataFilterResponse>(
parameters
);
}
}
batchGet(
params: Params$Resource$Spreadsheets$Values$Batchget,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchGet(
params?: Params$Resource$Spreadsheets$Values$Batchget,
options?: MethodOptions
): GaxiosPromise<Schema$BatchGetValuesResponse>;
batchGet(
params: Params$Resource$Spreadsheets$Values$Batchget,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchGet(
params: Params$Resource$Spreadsheets$Values$Batchget,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchGetValuesResponse>,
callback: BodyResponseCallback<Schema$BatchGetValuesResponse>
): void;
batchGet(
params: Params$Resource$Spreadsheets$Values$Batchget,
callback: BodyResponseCallback<Schema$BatchGetValuesResponse>
): void;
batchGet(
callback: BodyResponseCallback<Schema$BatchGetValuesResponse>
): void;
batchGet(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Batchget
| BodyResponseCallback<Schema$BatchGetValuesResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchGetValuesResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchGetValuesResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchGetValuesResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Batchget;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Batchget;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchGet'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchGetValuesResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchGetValuesResponse>(parameters);
}
}
batchGetByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchGetByDataFilter(
params?: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
options?: MethodOptions
): GaxiosPromise<Schema$BatchGetValuesByDataFilterResponse>;
batchGetByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchGetByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>,
callback: BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>
): void;
batchGetByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchgetbydatafilter,
callback: BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>
): void;
batchGetByDataFilter(
callback: BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>
): void;
batchGetByDataFilter(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Batchgetbydatafilter
| BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchGetValuesByDataFilterResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchGetValuesByDataFilterResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Batchgetbydatafilter;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Batchgetbydatafilter;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl +
'/v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchGetValuesByDataFilterResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchGetValuesByDataFilterResponse>(
parameters
);
}
}
batchUpdate(
params: Params$Resource$Spreadsheets$Values$Batchupdate,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchUpdate(
params?: Params$Resource$Spreadsheets$Values$Batchupdate,
options?: MethodOptions
): GaxiosPromise<Schema$BatchUpdateValuesResponse>;
batchUpdate(
params: Params$Resource$Spreadsheets$Values$Batchupdate,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchUpdate(
params: Params$Resource$Spreadsheets$Values$Batchupdate,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchUpdateValuesResponse>,
callback: BodyResponseCallback<Schema$BatchUpdateValuesResponse>
): void;
batchUpdate(
params: Params$Resource$Spreadsheets$Values$Batchupdate,
callback: BodyResponseCallback<Schema$BatchUpdateValuesResponse>
): void;
batchUpdate(
callback: BodyResponseCallback<Schema$BatchUpdateValuesResponse>
): void;
batchUpdate(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Batchupdate
| BodyResponseCallback<Schema$BatchUpdateValuesResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchUpdateValuesResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchUpdateValuesResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchUpdateValuesResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Batchupdate;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Batchupdate;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchUpdate'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchUpdateValuesResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchUpdateValuesResponse>(parameters);
}
}
batchUpdateByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
batchUpdateByDataFilter(
params?: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
options?: MethodOptions
): GaxiosPromise<Schema$BatchUpdateValuesByDataFilterResponse>;
batchUpdateByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
batchUpdateByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
options:
| MethodOptions
| BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>,
callback: BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>
): void;
batchUpdateByDataFilter(
params: Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter,
callback: BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>
): void;
batchUpdateByDataFilter(
callback: BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>
): void;
batchUpdateByDataFilter(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter
| BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$BatchUpdateValuesByDataFilterResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$BatchUpdateValuesByDataFilterResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params =
{} as Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl +
'/v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId'],
pathParams: ['spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$BatchUpdateValuesByDataFilterResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$BatchUpdateValuesByDataFilterResponse>(
parameters
);
}
}
clear(
params: Params$Resource$Spreadsheets$Values$Clear,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
clear(
params?: Params$Resource$Spreadsheets$Values$Clear,
options?: MethodOptions
): GaxiosPromise<Schema$ClearValuesResponse>;
clear(
params: Params$Resource$Spreadsheets$Values$Clear,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
clear(
params: Params$Resource$Spreadsheets$Values$Clear,
options: MethodOptions | BodyResponseCallback<Schema$ClearValuesResponse>,
callback: BodyResponseCallback<Schema$ClearValuesResponse>
): void;
clear(
params: Params$Resource$Spreadsheets$Values$Clear,
callback: BodyResponseCallback<Schema$ClearValuesResponse>
): void;
clear(callback: BodyResponseCallback<Schema$ClearValuesResponse>): void;
clear(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Clear
| BodyResponseCallback<Schema$ClearValuesResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$ClearValuesResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$ClearValuesResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$ClearValuesResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Clear;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Clear;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}:clear'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'POST',
},
options
),
params,
requiredParams: ['spreadsheetId', 'range'],
pathParams: ['range', 'spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$ClearValuesResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$ClearValuesResponse>(parameters);
}
}
get(
params: Params$Resource$Spreadsheets$Values$Get,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
get(
params?: Params$Resource$Spreadsheets$Values$Get,
options?: MethodOptions
): GaxiosPromise<Schema$ValueRange>;
get(
params: Params$Resource$Spreadsheets$Values$Get,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
get(
params: Params$Resource$Spreadsheets$Values$Get,
options: MethodOptions | BodyResponseCallback<Schema$ValueRange>,
callback: BodyResponseCallback<Schema$ValueRange>
): void;
get(
params: Params$Resource$Spreadsheets$Values$Get,
callback: BodyResponseCallback<Schema$ValueRange>
): void;
get(callback: BodyResponseCallback<Schema$ValueRange>): void;
get(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Get
| BodyResponseCallback<Schema$ValueRange>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$ValueRange>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$ValueRange>
| BodyResponseCallback<Readable>
): void | GaxiosPromise<Schema$ValueRange> | GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Get;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Get;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'GET',
},
options
),
params,
requiredParams: ['spreadsheetId', 'range'],
pathParams: ['range', 'spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$ValueRange>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$ValueRange>(parameters);
}
}
update(
params: Params$Resource$Spreadsheets$Values$Update,
options: StreamMethodOptions
): GaxiosPromise<Readable>;
update(
params?: Params$Resource$Spreadsheets$Values$Update,
options?: MethodOptions
): GaxiosPromise<Schema$UpdateValuesResponse>;
update(
params: Params$Resource$Spreadsheets$Values$Update,
options: StreamMethodOptions | BodyResponseCallback<Readable>,
callback: BodyResponseCallback<Readable>
): void;
update(
params: Params$Resource$Spreadsheets$Values$Update,
options:
| MethodOptions
| BodyResponseCallback<Schema$UpdateValuesResponse>,
callback: BodyResponseCallback<Schema$UpdateValuesResponse>
): void;
update(
params: Params$Resource$Spreadsheets$Values$Update,
callback: BodyResponseCallback<Schema$UpdateValuesResponse>
): void;
update(callback: BodyResponseCallback<Schema$UpdateValuesResponse>): void;
update(
paramsOrCallback?:
| Params$Resource$Spreadsheets$Values$Update
| BodyResponseCallback<Schema$UpdateValuesResponse>
| BodyResponseCallback<Readable>,
optionsOrCallback?:
| MethodOptions
| StreamMethodOptions
| BodyResponseCallback<Schema$UpdateValuesResponse>
| BodyResponseCallback<Readable>,
callback?:
| BodyResponseCallback<Schema$UpdateValuesResponse>
| BodyResponseCallback<Readable>
):
| void
| GaxiosPromise<Schema$UpdateValuesResponse>
| GaxiosPromise<Readable> {
let params = (paramsOrCallback ||
{}) as Params$Resource$Spreadsheets$Values$Update;
let options = (optionsOrCallback || {}) as MethodOptions;
if (typeof paramsOrCallback === 'function') {
callback = paramsOrCallback;
params = {} as Params$Resource$Spreadsheets$Values$Update;
options = {};
}
if (typeof optionsOrCallback === 'function') {
callback = optionsOrCallback;
options = {};
}
const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';
const parameters = {
options: Object.assign(
{
url: (
rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}'
).replace(/([^:]\/)\/+/g, '$1'),
method: 'PUT',
},
options
),
params,
requiredParams: ['spreadsheetId', 'range'],
pathParams: ['range', 'spreadsheetId'],
context: this.context,
};
if (callback) {
createAPIRequest<Schema$UpdateValuesResponse>(
parameters,
callback as BodyResponseCallback<unknown>
);
} else {
return createAPIRequest<Schema$UpdateValuesResponse>(parameters);
}
}
}
export interface Params$Resource$Spreadsheets$Values$Append
extends StandardParameters {
includeValuesInResponse?: boolean;
insertDataOption?: string;
range?: string;
responseDateTimeRenderOption?: string;
responseValueRenderOption?: string;
spreadsheetId?: string;
valueInputOption?: string;
requestBody?: Schema$ValueRange;
}
export interface Params$Resource$Spreadsheets$Values$Batchclear
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$BatchClearValuesRequest;
}
export interface Params$Resource$Spreadsheets$Values$Batchclearbydatafilter
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$BatchClearValuesByDataFilterRequest;
}
export interface Params$Resource$Spreadsheets$Values$Batchget
extends StandardParameters {
dateTimeRenderOption?: string;
majorDimension?: string;
ranges?: string[];
spreadsheetId?: string;
valueRenderOption?: string;
}
export interface Params$Resource$Spreadsheets$Values$Batchgetbydatafilter
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$BatchGetValuesByDataFilterRequest;
}
export interface Params$Resource$Spreadsheets$Values$Batchupdate
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$BatchUpdateValuesRequest;
}
export interface Params$Resource$Spreadsheets$Values$Batchupdatebydatafilter
extends StandardParameters {
spreadsheetId?: string;
requestBody?: Schema$BatchUpdateValuesByDataFilterRequest;
}
export interface Params$Resource$Spreadsheets$Values$Clear
extends StandardParameters {
range?: string;
spreadsheetId?: string;
requestBody?: Schema$ClearValuesRequest;
}
export interface Params$Resource$Spreadsheets$Values$Get
extends StandardParameters {
dateTimeRenderOption?: string;
majorDimension?: string;
range?: string;
spreadsheetId?: string;
valueRenderOption?: string;
}
export interface Params$Resource$Spreadsheets$Values$Update
extends StandardParameters {
includeValuesInResponse?: boolean;
range?: string;
responseDateTimeRenderOption?: string;
responseValueRenderOption?: string;
spreadsheetId?: string;
valueInputOption?: string;
requestBody?: Schema$ValueRange;
}
}