Overview

Classes

  • Google_Service_Sheets
  • Google_Service_Sheets_AddBandingRequest
  • Google_Service_Sheets_AddBandingResponse
  • Google_Service_Sheets_AddChartRequest
  • Google_Service_Sheets_AddChartResponse
  • Google_Service_Sheets_AddConditionalFormatRuleRequest
  • Google_Service_Sheets_AddDimensionGroupRequest
  • Google_Service_Sheets_AddDimensionGroupResponse
  • Google_Service_Sheets_AddFilterViewRequest
  • Google_Service_Sheets_AddFilterViewResponse
  • Google_Service_Sheets_AddNamedRangeRequest
  • Google_Service_Sheets_AddNamedRangeResponse
  • Google_Service_Sheets_AddProtectedRangeRequest
  • Google_Service_Sheets_AddProtectedRangeResponse
  • Google_Service_Sheets_AddSheetRequest
  • Google_Service_Sheets_AddSheetResponse
  • Google_Service_Sheets_AddSlicerRequest
  • Google_Service_Sheets_AddSlicerResponse
  • Google_Service_Sheets_AppendCellsRequest
  • Google_Service_Sheets_AppendDimensionRequest
  • Google_Service_Sheets_AppendValuesResponse
  • Google_Service_Sheets_AutoFillRequest
  • Google_Service_Sheets_AutoResizeDimensionsRequest
  • Google_Service_Sheets_BandedRange
  • Google_Service_Sheets_BandingProperties
  • Google_Service_Sheets_BaselineValueFormat
  • Google_Service_Sheets_BasicChartAxis
  • Google_Service_Sheets_BasicChartDomain
  • Google_Service_Sheets_BasicChartSeries
  • Google_Service_Sheets_BasicChartSpec
  • Google_Service_Sheets_BasicFilter
  • Google_Service_Sheets_BatchClearValuesByDataFilterRequest
  • Google_Service_Sheets_BatchClearValuesByDataFilterResponse
  • Google_Service_Sheets_BatchClearValuesRequest
  • Google_Service_Sheets_BatchClearValuesResponse
  • Google_Service_Sheets_BatchGetValuesByDataFilterRequest
  • Google_Service_Sheets_BatchGetValuesByDataFilterResponse
  • Google_Service_Sheets_BatchGetValuesResponse
  • Google_Service_Sheets_BatchUpdateSpreadsheetRequest
  • Google_Service_Sheets_BatchUpdateSpreadsheetResponse
  • Google_Service_Sheets_BatchUpdateValuesByDataFilterRequest
  • Google_Service_Sheets_BatchUpdateValuesByDataFilterResponse
  • Google_Service_Sheets_BatchUpdateValuesRequest
  • Google_Service_Sheets_BatchUpdateValuesResponse
  • Google_Service_Sheets_BooleanCondition
  • Google_Service_Sheets_BooleanRule
  • Google_Service_Sheets_Border
  • Google_Service_Sheets_Borders
  • Google_Service_Sheets_BubbleChartSpec
  • Google_Service_Sheets_CandlestickChartSpec
  • Google_Service_Sheets_CandlestickData
  • Google_Service_Sheets_CandlestickDomain
  • Google_Service_Sheets_CandlestickSeries
  • Google_Service_Sheets_CellData
  • Google_Service_Sheets_CellFormat
  • Google_Service_Sheets_ChartAxisViewWindowOptions
  • Google_Service_Sheets_ChartCustomNumberFormatOptions
  • Google_Service_Sheets_ChartData
  • Google_Service_Sheets_ChartSourceRange
  • Google_Service_Sheets_ChartSpec
  • Google_Service_Sheets_ClearBasicFilterRequest
  • Google_Service_Sheets_ClearValuesRequest
  • Google_Service_Sheets_ClearValuesResponse
  • Google_Service_Sheets_Color
  • Google_Service_Sheets_ColorStyle
  • Google_Service_Sheets_ConditionalFormatRule
  • Google_Service_Sheets_ConditionValue
  • Google_Service_Sheets_CopyPasteRequest
  • Google_Service_Sheets_CopySheetToAnotherSpreadsheetRequest
  • Google_Service_Sheets_CreateDeveloperMetadataRequest
  • Google_Service_Sheets_CreateDeveloperMetadataResponse
  • Google_Service_Sheets_CutPasteRequest
  • Google_Service_Sheets_DataFilter
  • Google_Service_Sheets_DataFilterValueRange
  • Google_Service_Sheets_DataValidationRule
  • Google_Service_Sheets_DateTimeRule
  • Google_Service_Sheets_DeleteBandingRequest
  • Google_Service_Sheets_DeleteConditionalFormatRuleRequest
  • Google_Service_Sheets_DeleteConditionalFormatRuleResponse
  • Google_Service_Sheets_DeleteDeveloperMetadataRequest
  • Google_Service_Sheets_DeleteDeveloperMetadataResponse
  • Google_Service_Sheets_DeleteDimensionGroupRequest
  • Google_Service_Sheets_DeleteDimensionGroupResponse
  • Google_Service_Sheets_DeleteDimensionRequest
  • Google_Service_Sheets_DeleteDuplicatesRequest
  • Google_Service_Sheets_DeleteDuplicatesResponse
  • Google_Service_Sheets_DeleteEmbeddedObjectRequest
  • Google_Service_Sheets_DeleteFilterViewRequest
  • Google_Service_Sheets_DeleteNamedRangeRequest
  • Google_Service_Sheets_DeleteProtectedRangeRequest
  • Google_Service_Sheets_DeleteRangeRequest
  • Google_Service_Sheets_DeleteSheetRequest
  • Google_Service_Sheets_DeveloperMetadata
  • Google_Service_Sheets_DeveloperMetadataLocation
  • Google_Service_Sheets_DeveloperMetadataLookup
  • Google_Service_Sheets_DimensionGroup
  • Google_Service_Sheets_DimensionProperties
  • Google_Service_Sheets_DimensionRange
  • Google_Service_Sheets_DuplicateFilterViewRequest
  • Google_Service_Sheets_DuplicateFilterViewResponse
  • Google_Service_Sheets_DuplicateSheetRequest
  • Google_Service_Sheets_DuplicateSheetResponse
  • Google_Service_Sheets_Editors
  • Google_Service_Sheets_EmbeddedChart
  • Google_Service_Sheets_EmbeddedObjectPosition
  • Google_Service_Sheets_ErrorValue
  • Google_Service_Sheets_ExtendedValue
  • Google_Service_Sheets_FilterCriteria
  • Google_Service_Sheets_FilterView
  • Google_Service_Sheets_FindReplaceRequest
  • Google_Service_Sheets_FindReplaceResponse
  • Google_Service_Sheets_GetSpreadsheetByDataFilterRequest
  • Google_Service_Sheets_GradientRule
  • Google_Service_Sheets_GridCoordinate
  • Google_Service_Sheets_GridData
  • Google_Service_Sheets_GridProperties
  • Google_Service_Sheets_GridRange
  • Google_Service_Sheets_HistogramChartSpec
  • Google_Service_Sheets_HistogramRule
  • Google_Service_Sheets_HistogramSeries
  • Google_Service_Sheets_InsertDimensionRequest
  • Google_Service_Sheets_InsertRangeRequest
  • Google_Service_Sheets_InterpolationPoint
  • Google_Service_Sheets_IterativeCalculationSettings
  • Google_Service_Sheets_KeyValueFormat
  • Google_Service_Sheets_LineStyle
  • Google_Service_Sheets_ManualRule
  • Google_Service_Sheets_ManualRuleGroup
  • Google_Service_Sheets_MatchedDeveloperMetadata
  • Google_Service_Sheets_MatchedValueRange
  • Google_Service_Sheets_MergeCellsRequest
  • Google_Service_Sheets_MoveDimensionRequest
  • Google_Service_Sheets_NamedRange
  • Google_Service_Sheets_NumberFormat
  • Google_Service_Sheets_OrgChartSpec
  • Google_Service_Sheets_OverlayPosition
  • Google_Service_Sheets_Padding
  • Google_Service_Sheets_PasteDataRequest
  • Google_Service_Sheets_PieChartSpec
  • Google_Service_Sheets_PivotFilterCriteria
  • Google_Service_Sheets_PivotGroup
  • Google_Service_Sheets_PivotGroupRule
  • Google_Service_Sheets_PivotGroupSortValueBucket
  • Google_Service_Sheets_PivotGroupValueMetadata
  • Google_Service_Sheets_PivotTable
  • Google_Service_Sheets_PivotValue
  • Google_Service_Sheets_ProtectedRange
  • Google_Service_Sheets_RandomizeRangeRequest
  • Google_Service_Sheets_RepeatCellRequest
  • Google_Service_Sheets_Request
  • Google_Service_Sheets_Response
  • Google_Service_Sheets_RowData
  • Google_Service_Sheets_ScorecardChartSpec
  • Google_Service_Sheets_SearchDeveloperMetadataRequest
  • Google_Service_Sheets_SearchDeveloperMetadataResponse
  • Google_Service_Sheets_SetBasicFilterRequest
  • Google_Service_Sheets_SetDataValidationRequest
  • Google_Service_Sheets_Sheet
  • Google_Service_Sheets_SheetProperties
  • Google_Service_Sheets_Slicer
  • Google_Service_Sheets_SlicerSpec
  • Google_Service_Sheets_SortRangeRequest
  • Google_Service_Sheets_SortSpec
  • Google_Service_Sheets_SourceAndDestination
  • Google_Service_Sheets_Spreadsheet
  • Google_Service_Sheets_SpreadsheetProperties
  • Google_Service_Sheets_Spreadsheets_Resource
  • Google_Service_Sheets_SpreadsheetsDeveloperMetadata_Resource
  • Google_Service_Sheets_SpreadsheetsSheets_Resource
  • Google_Service_Sheets_SpreadsheetsValues_Resource
  • Google_Service_Sheets_SpreadsheetTheme
  • Google_Service_Sheets_TextFormat
  • Google_Service_Sheets_TextFormatRun
  • Google_Service_Sheets_TextPosition
  • Google_Service_Sheets_TextRotation
  • Google_Service_Sheets_TextToColumnsRequest
  • Google_Service_Sheets_ThemeColorPair
  • Google_Service_Sheets_TreemapChartColorScale
  • Google_Service_Sheets_TreemapChartSpec
  • Google_Service_Sheets_TrimWhitespaceRequest
  • Google_Service_Sheets_TrimWhitespaceResponse
  • Google_Service_Sheets_UnmergeCellsRequest
  • Google_Service_Sheets_UpdateBandingRequest
  • Google_Service_Sheets_UpdateBordersRequest
  • Google_Service_Sheets_UpdateCellsRequest
  • Google_Service_Sheets_UpdateChartSpecRequest
  • Google_Service_Sheets_UpdateConditionalFormatRuleRequest
  • Google_Service_Sheets_UpdateConditionalFormatRuleResponse
  • Google_Service_Sheets_UpdateDeveloperMetadataRequest
  • Google_Service_Sheets_UpdateDeveloperMetadataResponse
  • Google_Service_Sheets_UpdateDimensionGroupRequest
  • Google_Service_Sheets_UpdateDimensionPropertiesRequest
  • Google_Service_Sheets_UpdateEmbeddedObjectPositionRequest
  • Google_Service_Sheets_UpdateEmbeddedObjectPositionResponse
  • Google_Service_Sheets_UpdateFilterViewRequest
  • Google_Service_Sheets_UpdateNamedRangeRequest
  • Google_Service_Sheets_UpdateProtectedRangeRequest
  • Google_Service_Sheets_UpdateSheetPropertiesRequest
  • Google_Service_Sheets_UpdateSlicerSpecRequest
  • Google_Service_Sheets_UpdateSpreadsheetPropertiesRequest
  • Google_Service_Sheets_UpdateValuesByDataFilterResponse
  • Google_Service_Sheets_UpdateValuesResponse
  • Google_Service_Sheets_ValueRange
  • Google_Service_Sheets_WaterfallChartColumnStyle
  • Google_Service_Sheets_WaterfallChartCustomSubtotal
  • Google_Service_Sheets_WaterfallChartDomain
  • Google_Service_Sheets_WaterfallChartSeries
  • Google_Service_Sheets_WaterfallChartSpec
  • Overview
  • Class
  • Tree

Class Google_Service_Sheets_SpreadsheetsValues_Resource

The "values" collection of methods. Typical usage is:

 $sheetsService = new Google_Service_Sheets(...);
 $values = $sheetsService->values;
Google_Service_Resource
Extended by Google_Service_Sheets_SpreadsheetsValues_Resource
Located at Sheets.php
Methods summary
public Google_Service_Sheets_AppendValuesResponse
# append( string $spreadsheetId, string $range, Google_Service_Sheets_ValueRange $postBody, array $optParams = array() )

Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and [sample code](/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended.

Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and [sample code](/sheets/api/samples/writing#append_values) for specific details of how tables are detected and data is appended.

The caller must specify the spreadsheet ID, range, and a valueInputOption. The valueInputOption only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to. (values.append)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$range
The A1 notation of a range to search for a logical table of data. Values are appended after the last row of the table.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_AppendValuesResponse
Google_Service_Sheets_AppendValuesResponse

Opt_param

bool includeValuesInResponse Determines if the update response should include the values of the cells that were appended. By default, responses do not include the updated values.
string responseValueRenderOption Determines how values in the response should be rendered. The default render option is ValueRenderOption.FORMATTED_VALUE.
string insertDataOption How the input data should be inserted.
string valueInputOption How the input data should be interpreted.
string responseDateTimeRenderOption Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
public Google_Service_Sheets_BatchClearValuesResponse
# batchClear( string $spreadsheetId, Google_Service_Sheets_BatchClearValuesRequest $postBody, array $optParams = array() )

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. (values.batchClear)

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. (values.batchClear)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_BatchClearValuesResponse
Google_Service_Sheets_BatchClearValuesResponse
public Google_Service_Sheets_BatchClearValuesByDataFilterResponse
# batchClearByDataFilter( string $spreadsheetId, Google_Service_Sheets_BatchClearValuesByDataFilterRequest $postBody, array $optParams = array() )

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. (values.batchClearByDataFilter)

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges matching any of the specified data filters will be cleared. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. (values.batchClearByDataFilter)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_BatchClearValuesByDataFilterResponse
Google_Service_Sheets_BatchClearValuesByDataFilterResponse
public Google_Service_Sheets_BatchGetValuesResponse
# batchGet( string $spreadsheetId, array $optParams = array() )

Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. (values.batchGet)

Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. (values.batchGet)

Parameters

$spreadsheetId
The ID of the spreadsheet to retrieve data from.
$optParams
Optional parameters.

Returns

Google_Service_Sheets_BatchGetValuesResponse
Google_Service_Sheets_BatchGetValuesResponse

Opt_param

string ranges The A1 notation of the values to retrieve.
string majorDimension The major dimension that results should use. For example, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4, then requesting range=A1:B2,majorDimension=ROWS returns [[1,2],[3,4]], whereas requesting range=A1:B2,majorDimension=COLUMNS returns [[1,3],[2,4]].
string valueRenderOption How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.
string dateTimeRenderOption How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
public Google_Service_Sheets_BatchGetValuesByDataFilterResponse
# batchGetByDataFilter( string $spreadsheetId, Google_Service_Sheets_BatchGetValuesByDataFilterRequest $postBody, array $optParams = array() )

Returns one or more ranges of values that match the specified data filters. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned. (values.batchGetByDataFilter)

Returns one or more ranges of values that match the specified data filters. The caller must specify the spreadsheet ID and one or more DataFilters. Ranges that match any of the data filters in the request will be returned. (values.batchGetByDataFilter)

Parameters

$spreadsheetId
The ID of the spreadsheet to retrieve data from.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_BatchGetValuesByDataFilterResponse
Google_Service_Sheets_BatchGetValuesByDataFilterResponse
public Google_Service_Sheets_BatchUpdateValuesResponse
# batchUpdate( string $spreadsheetId, Google_Service_Sheets_BatchUpdateValuesRequest $postBody, array $optParams = array() )

Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. (values.batchUpdate)

Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges. (values.batchUpdate)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_BatchUpdateValuesResponse
Google_Service_Sheets_BatchUpdateValuesResponse
public Google_Service_Sheets_BatchUpdateValuesByDataFilterResponse
# batchUpdateByDataFilter( string $spreadsheetId, Google_Service_Sheets_BatchUpdateValuesByDataFilterRequest $postBody, array $optParams = array() )

Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges. (values.batchUpdateByDataFilter)

Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more DataFilterValueRanges. (values.batchUpdateByDataFilter)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_BatchUpdateValuesByDataFilterResponse
Google_Service_Sheets_BatchUpdateValuesByDataFilterResponse
public Google_Service_Sheets_ClearValuesResponse
# clear( string $spreadsheetId, string $range, Google_Service_Sheets_ClearValuesRequest $postBody, array $optParams = array() )

Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. (values.clear)

Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept. (values.clear)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$range
The A1 notation of the values to clear.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_ClearValuesResponse
Google_Service_Sheets_ClearValuesResponse
public Google_Service_Sheets_ValueRange
# get( string $spreadsheetId, string $range, array $optParams = array() )

Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. (values.get)

Returns a range of values from a spreadsheet. The caller must specify the spreadsheet ID and a range. (values.get)

Parameters

$spreadsheetId
The ID of the spreadsheet to retrieve data from.
$range
The A1 notation of the values to retrieve.
$optParams
Optional parameters.

Returns

Google_Service_Sheets_ValueRange
Google_Service_Sheets_ValueRange

Opt_param

string majorDimension The major dimension that results should use. For example, if the spreadsheet data is: A1=1,B1=2,A2=3,B2=4, then requesting range=A1:B2,majorDimension=ROWS returns [[1,2],[3,4]], whereas requesting range=A1:B2,majorDimension=COLUMNS returns [[1,3],[2,4]].
string valueRenderOption How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.
string dateTimeRenderOption How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
public Google_Service_Sheets_UpdateValuesResponse
# update( string $spreadsheetId, string $range, Google_Service_Sheets_ValueRange $postBody, array $optParams = array() )

Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. (values.update)

Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption. (values.update)

Parameters

$spreadsheetId
The ID of the spreadsheet to update.
$range
The A1 notation of the values to update.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Sheets_UpdateValuesResponse
Google_Service_Sheets_UpdateValuesResponse

Opt_param

string responseValueRenderOption Determines how values in the response should be rendered. The default render option is ValueRenderOption.FORMATTED_VALUE.
string valueInputOption How the input data should be interpreted.
string responseDateTimeRenderOption Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is DateTimeRenderOption.SERIAL_NUMBER.
bool includeValuesInResponse Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. If the range to write was larger than the range actually written, the response includes all values in the requested range (excluding trailing empty rows and columns).
© 2020 Google Inc.
Google Sheets API documentation generated by ApiGen 2.8.0