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 values from a spreadsheet. The caller must specify the spreadsheet ID and range. 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.clear
.
Synopsis
- type SpreadsheetsValuesClearResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values" :> (CaptureMode "range" "clear" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ClearValuesRequest :> Post '[JSON] ClearValuesResponse)))))))))))
- spreadsheetsValuesClear :: Text -> ClearValuesRequest -> Text -> SpreadsheetsValuesClear
- data SpreadsheetsValuesClear
- svcXgafv :: Lens' SpreadsheetsValuesClear (Maybe Xgafv)
- svcUploadProtocol :: Lens' SpreadsheetsValuesClear (Maybe Text)
- svcAccessToken :: Lens' SpreadsheetsValuesClear (Maybe Text)
- svcSpreadsheetId :: Lens' SpreadsheetsValuesClear Text
- svcUploadType :: Lens' SpreadsheetsValuesClear (Maybe Text)
- svcPayload :: Lens' SpreadsheetsValuesClear ClearValuesRequest
- svcRange :: Lens' SpreadsheetsValuesClear Text
- svcCallback :: Lens' SpreadsheetsValuesClear (Maybe Text)
REST Resource
type SpreadsheetsValuesClearResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values" :> (CaptureMode "range" "clear" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ClearValuesRequest :> Post '[JSON] ClearValuesResponse))))))))))) Source #
A resource alias for sheets.spreadsheets.values.clear
method which the
SpreadsheetsValuesClear
request conforms to.
Creating a Request
spreadsheetsValuesClear Source #
Creates a value of SpreadsheetsValuesClear
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsValuesClear Source #
Clears values from a spreadsheet. The caller must specify the spreadsheet ID and range. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept.
See: spreadsheetsValuesClear
smart constructor.
Instances
Request Lenses
svcUploadProtocol :: Lens' SpreadsheetsValuesClear (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svcAccessToken :: Lens' SpreadsheetsValuesClear (Maybe Text) Source #
OAuth access token.
svcSpreadsheetId :: Lens' SpreadsheetsValuesClear Text Source #
The ID of the spreadsheet to update.
svcUploadType :: Lens' SpreadsheetsValuesClear (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svcPayload :: Lens' SpreadsheetsValuesClear ClearValuesRequest Source #
Multipart request metadata.
svcCallback :: Lens' SpreadsheetsValuesClear (Maybe Text) Source #
JSONP