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 ranges. 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.batchClear
.
Synopsis
- type SpreadsheetsValuesBatchClearResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchClear" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchClearValuesRequest :> Post '[JSON] BatchClearValuesResponse))))))))))
- spreadsheetsValuesBatchClear :: Text -> BatchClearValuesRequest -> SpreadsheetsValuesBatchClear
- data SpreadsheetsValuesBatchClear
- svbcXgafv :: Lens' SpreadsheetsValuesBatchClear (Maybe Xgafv)
- svbcUploadProtocol :: Lens' SpreadsheetsValuesBatchClear (Maybe Text)
- svbcAccessToken :: Lens' SpreadsheetsValuesBatchClear (Maybe Text)
- svbcSpreadsheetId :: Lens' SpreadsheetsValuesBatchClear Text
- svbcUploadType :: Lens' SpreadsheetsValuesBatchClear (Maybe Text)
- svbcPayload :: Lens' SpreadsheetsValuesBatchClear BatchClearValuesRequest
- svbcCallback :: Lens' SpreadsheetsValuesBatchClear (Maybe Text)
REST Resource
type SpreadsheetsValuesBatchClearResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchClear" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchClearValuesRequest :> Post '[JSON] BatchClearValuesResponse)))))))))) Source #
A resource alias for sheets.spreadsheets.values.batchClear
method which the
SpreadsheetsValuesBatchClear
request conforms to.
Creating a Request
spreadsheetsValuesBatchClear Source #
Creates a value of SpreadsheetsValuesBatchClear
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsValuesBatchClear Source #
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.
See: spreadsheetsValuesBatchClear
smart constructor.
Instances
Request Lenses
svbcUploadProtocol :: Lens' SpreadsheetsValuesBatchClear (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svbcAccessToken :: Lens' SpreadsheetsValuesBatchClear (Maybe Text) Source #
OAuth access token.
svbcSpreadsheetId :: Lens' SpreadsheetsValuesBatchClear Text Source #
The ID of the spreadsheet to update.
svbcUploadType :: Lens' SpreadsheetsValuesBatchClear (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svbcPayload :: Lens' SpreadsheetsValuesBatchClear BatchClearValuesRequest Source #
Multipart request metadata.
svbcCallback :: Lens' SpreadsheetsValuesBatchClear (Maybe Text) Source #
JSONP