sheets.spreadsheets.getByDataFilter
/v4/spreadsheets/{spreadsheetId}:getByDataFilter 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.
Parameters
path Path Parameters
| Name | Type |
|---|---|
spreadsheetId
required
The spreadsheet to request. | string |
query Query Parameters
| Name | Type |
|---|---|
key API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | string |
access_token OAuth access token. | string |
oauth_token OAuth 2.0 token for the current user. | string |
alt Data format for response. | "json" | "media" | "proto" |
quotaUser Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | string |
fields Selector specifying which fields to include in a partial response. | string |
callback JSONP | string |
uploadType Legacy upload protocol for media (e.g. "media", "multipart"). | string |
upload_protocol Upload protocol for media (e.g. "raw", "multipart"). | string |
prettyPrint Returns response with indentations and line breaks. | boolean |
$.xgafv V1 error format. | "1" | "2" |
Request Body
dataFilters?:
excludeTablesInBandedRanges?: boolean;
includeGridData?: boolean;
}
Responses
Successful response
dataSourceSchedules?: readonly
dataSources?:
developerMetadata?:
namedRanges?:
properties?:
sheets?:
spreadsheetId?: string;
spreadsheetUrl?: string;
}