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 |
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.
See: Google Sheets API Reference for sheets.spreadsheets.values.batchClearByDataFilter
.
Synopsis
- type SpreadsheetsValuesBatchClearByDataFilterResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchClearByDataFilter" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchClearValuesByDataFilterRequest :> Post '[JSON] BatchClearValuesByDataFilterResponse))))))))))
- spreadsheetsValuesBatchClearByDataFilter :: Text -> BatchClearValuesByDataFilterRequest -> SpreadsheetsValuesBatchClearByDataFilter
- data SpreadsheetsValuesBatchClearByDataFilter
- svbcbdfXgafv :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Xgafv)
- svbcbdfUploadProtocol :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text)
- svbcbdfAccessToken :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text)
- svbcbdfSpreadsheetId :: Lens' SpreadsheetsValuesBatchClearByDataFilter Text
- svbcbdfUploadType :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text)
- svbcbdfPayload :: Lens' SpreadsheetsValuesBatchClearByDataFilter BatchClearValuesByDataFilterRequest
- svbcbdfCallback :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text)
REST Resource
type SpreadsheetsValuesBatchClearByDataFilterResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchClearByDataFilter" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchClearValuesByDataFilterRequest :> Post '[JSON] BatchClearValuesByDataFilterResponse)))))))))) Source #
A resource alias for sheets.spreadsheets.values.batchClearByDataFilter
method which the
SpreadsheetsValuesBatchClearByDataFilter
request conforms to.
Creating a Request
spreadsheetsValuesBatchClearByDataFilter Source #
Creates a value of SpreadsheetsValuesBatchClearByDataFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsValuesBatchClearByDataFilter Source #
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.
See: spreadsheetsValuesBatchClearByDataFilter
smart constructor.
Instances
Request Lenses
svbcbdfXgafv :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Xgafv) Source #
V1 error format.
svbcbdfUploadProtocol :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svbcbdfAccessToken :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text) Source #
OAuth access token.
svbcbdfSpreadsheetId :: Lens' SpreadsheetsValuesBatchClearByDataFilter Text Source #
The ID of the spreadsheet to update.
svbcbdfUploadType :: Lens' SpreadsheetsValuesBatchClearByDataFilter (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svbcbdfPayload :: Lens' SpreadsheetsValuesBatchClearByDataFilter BatchClearValuesByDataFilterRequest Source #
Multipart request metadata.