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 |
Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges.
See: Google Sheets API Reference for sheets.spreadsheets.values.batchUpdate
.
Synopsis
- type SpreadsheetsValuesBatchUpdateResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchUpdateValuesRequest :> Post '[JSON] BatchUpdateValuesResponse))))))))))
- spreadsheetsValuesBatchUpdate :: Text -> BatchUpdateValuesRequest -> SpreadsheetsValuesBatchUpdate
- data SpreadsheetsValuesBatchUpdate
- svbuXgafv :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Xgafv)
- svbuUploadProtocol :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text)
- svbuAccessToken :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text)
- svbuSpreadsheetId :: Lens' SpreadsheetsValuesBatchUpdate Text
- svbuUploadType :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text)
- svbuPayload :: Lens' SpreadsheetsValuesBatchUpdate BatchUpdateValuesRequest
- svbuCallback :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text)
REST Resource
type SpreadsheetsValuesBatchUpdateResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchUpdate" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchUpdateValuesRequest :> Post '[JSON] BatchUpdateValuesResponse)))))))))) Source #
A resource alias for sheets.spreadsheets.values.batchUpdate
method which the
SpreadsheetsValuesBatchUpdate
request conforms to.
Creating a Request
spreadsheetsValuesBatchUpdate Source #
Creates a value of SpreadsheetsValuesBatchUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsValuesBatchUpdate Source #
Sets values in one or more ranges of a spreadsheet. The caller must specify the spreadsheet ID, a valueInputOption, and one or more ValueRanges.
See: spreadsheetsValuesBatchUpdate
smart constructor.
Instances
Request Lenses
svbuUploadProtocol :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svbuAccessToken :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text) Source #
OAuth access token.
svbuSpreadsheetId :: Lens' SpreadsheetsValuesBatchUpdate Text Source #
The ID of the spreadsheet to update.
svbuUploadType :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svbuPayload :: Lens' SpreadsheetsValuesBatchUpdate BatchUpdateValuesRequest Source #
Multipart request metadata.
svbuCallback :: Lens' SpreadsheetsValuesBatchUpdate (Maybe Text) Source #
JSONP