Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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 will return the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids will not be returned. You can include grid data one of two 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, it is recommended to retrieve only the specific fields of the spreadsheet that you want.
See: Google Sheets API Reference for sheets.spreadsheets.getByDataFilter
.
Synopsis
- type SpreadsheetsGetByDataFilterResource = "v4" :> ("spreadsheets" :> (CaptureMode "spreadsheetId" "getByDataFilter" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetSpreadsheetByDataFilterRequest :> Post '[JSON] Spreadsheet)))))))))
- spreadsheetsGetByDataFilter :: Text -> GetSpreadsheetByDataFilterRequest -> SpreadsheetsGetByDataFilter
- data SpreadsheetsGetByDataFilter
- sgbdfXgafv :: Lens' SpreadsheetsGetByDataFilter (Maybe Xgafv)
- sgbdfUploadProtocol :: Lens' SpreadsheetsGetByDataFilter (Maybe Text)
- sgbdfAccessToken :: Lens' SpreadsheetsGetByDataFilter (Maybe Text)
- sgbdfSpreadsheetId :: Lens' SpreadsheetsGetByDataFilter Text
- sgbdfUploadType :: Lens' SpreadsheetsGetByDataFilter (Maybe Text)
- sgbdfPayload :: Lens' SpreadsheetsGetByDataFilter GetSpreadsheetByDataFilterRequest
- sgbdfCallback :: Lens' SpreadsheetsGetByDataFilter (Maybe Text)
REST Resource
type SpreadsheetsGetByDataFilterResource = "v4" :> ("spreadsheets" :> (CaptureMode "spreadsheetId" "getByDataFilter" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetSpreadsheetByDataFilterRequest :> Post '[JSON] Spreadsheet))))))))) Source #
A resource alias for sheets.spreadsheets.getByDataFilter
method which the
SpreadsheetsGetByDataFilter
request conforms to.
Creating a Request
spreadsheetsGetByDataFilter Source #
Creates a value of SpreadsheetsGetByDataFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsGetByDataFilter Source #
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 will return the portions of the spreadsheet that intersect ranges matched by any of the filters. By default, data within grids will not be returned. You can include grid data one of two 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, it is recommended to retrieve only the specific fields of the spreadsheet that you want.
See: spreadsheetsGetByDataFilter
smart constructor.
Instances
Request Lenses
sgbdfXgafv :: Lens' SpreadsheetsGetByDataFilter (Maybe Xgafv) Source #
V1 error format.
sgbdfUploadProtocol :: Lens' SpreadsheetsGetByDataFilter (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sgbdfAccessToken :: Lens' SpreadsheetsGetByDataFilter (Maybe Text) Source #
OAuth access token.
sgbdfSpreadsheetId :: Lens' SpreadsheetsGetByDataFilter Text Source #
The spreadsheet to request.
sgbdfUploadType :: Lens' SpreadsheetsGetByDataFilter (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
sgbdfPayload :: Lens' SpreadsheetsGetByDataFilter GetSpreadsheetByDataFilterRequest Source #
Multipart request metadata.
sgbdfCallback :: Lens' SpreadsheetsGetByDataFilter (Maybe Text) Source #
JSONP