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 one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.
See: Google Sheets API Reference for sheets.spreadsheets.values.batchGet
.
Synopsis
- type SpreadsheetsValuesBatchGetResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "valueRenderOption" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "ranges" Text :> (QueryParam "dateTimeRenderOption" Text :> (QueryParam "majorDimension" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BatchGetValuesResponse)))))))))))))
- spreadsheetsValuesBatchGet :: Text -> SpreadsheetsValuesBatchGet
- data SpreadsheetsValuesBatchGet
- svbgXgafv :: Lens' SpreadsheetsValuesBatchGet (Maybe Xgafv)
- svbgValueRenderOption :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
- svbgUploadProtocol :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
- svbgAccessToken :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
- svbgSpreadsheetId :: Lens' SpreadsheetsValuesBatchGet Text
- svbgUploadType :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
- svbgRanges :: Lens' SpreadsheetsValuesBatchGet [Text]
- svbgDateTimeRenderOption :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
- svbgMajorDimension :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
- svbgCallback :: Lens' SpreadsheetsValuesBatchGet (Maybe Text)
REST Resource
type SpreadsheetsValuesBatchGetResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "valueRenderOption" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "ranges" Text :> (QueryParam "dateTimeRenderOption" Text :> (QueryParam "majorDimension" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BatchGetValuesResponse))))))))))))) Source #
A resource alias for sheets.spreadsheets.values.batchGet
method which the
SpreadsheetsValuesBatchGet
request conforms to.
Creating a Request
spreadsheetsValuesBatchGet Source #
Creates a value of SpreadsheetsValuesBatchGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsValuesBatchGet Source #
Returns one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges.
See: spreadsheetsValuesBatchGet
smart constructor.
Instances
Request Lenses
svbgValueRenderOption :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
How values should be represented in the output. The default render option is ValueRenderOption.FORMATTED_VALUE.
svbgUploadProtocol :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svbgAccessToken :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
OAuth access token.
svbgSpreadsheetId :: Lens' SpreadsheetsValuesBatchGet Text Source #
The ID of the spreadsheet to retrieve data from.
svbgUploadType :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svbgRanges :: Lens' SpreadsheetsValuesBatchGet [Text] Source #
The A1 notation of the values to retrieve.
svbgDateTimeRenderOption :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
How dates, times, and durations should be represented in the output. This is ignored if value_render_option is FORMATTED_VALUE. The default dateTime render option is [DateTimeRenderOption.SERIAL_NUMBER].
svbgMajorDimension :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
The major dimension that results should use. For example, if the spreadsheet data is: `A1=1,B1=2,A2=3,B2=4`, then requesting `range=A1:B2,majorDimension=ROWS` will return `[[1,2],[3,4]]`, whereas requesting `range=A1:B2,majorDimension=COLUMNS` will return `[[1,3],[2,4]]`.
svbgCallback :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #
JSONP