Returns the spreadsheet at the given ID. The caller must specify the
spreadsheet ID. This method differs from GetSpreadsheet in that it
allows selecting which subsets of spreadsheet data to return by
specifying a dataFilters parameter. Multiple DataFilters can be
specified. Specifying one or more data filters returns the portions of
the spreadsheet that intersect ranges matched by any of the filters. By
default, data within grids is not returned. You can include grid data
one of 2 ways: * Specify a field mask listing your desired fields using
the fields
URL parameter in HTTP * Set the includeGridData parameter
to true. If a field mask is set, the includeGridData
parameter is
ignored For large spreadsheets, as a best practice, retrieve only the
specific spreadsheet fields that you want.
Arguments
spreadsheetId
string
Required. The spreadsheet to request.
body
object ( GetSpreadsheetByDataFilterRequest
)
Required.
Raised exceptions
ConnectionError
HttpError
TimeoutError
TypeError
ValueError
Response
If successful, the response contains an instance of Spreadsheet
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation .
YAML
- getByDataFilter : call : googleapis.sheets.v4.spreadsheets.getByDataFilter args : spreadsheetId : ... body : dataFilters : ... includeGridData : ... result : getByDataFilterResult
JSON
[ { "getByDataFilter" : { "call" : "googleapis.sheets.v4.spreadsheets.getByDataFilter" , "args" : { "spreadsheetId" : "..." , "body" : { "dataFilters" : "..." , "includeGridData" : "..." } }, "result" : "getByDataFilterResult" } } ]

