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 |
Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and sample code for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
See: Google Sheets API Reference for sheets.spreadsheets.values.append
.
- type SpreadsheetsValuesAppendResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values" :> (CaptureMode "range" "append" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "valueInputOption" Text :> (QueryParam "insertDataOption" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ValueRange :> Post '[JSON] AppendValuesResponse)))))))))))))))
- spreadsheetsValuesAppend :: Text -> ValueRange -> Text -> SpreadsheetsValuesAppend
- data SpreadsheetsValuesAppend
- svaXgafv :: Lens' SpreadsheetsValuesAppend (Maybe Xgafv)
- svaUploadProtocol :: Lens' SpreadsheetsValuesAppend (Maybe Text)
- svaPp :: Lens' SpreadsheetsValuesAppend Bool
- svaAccessToken :: Lens' SpreadsheetsValuesAppend (Maybe Text)
- svaSpreadsheetId :: Lens' SpreadsheetsValuesAppend Text
- svaUploadType :: Lens' SpreadsheetsValuesAppend (Maybe Text)
- svaValueInputOption :: Lens' SpreadsheetsValuesAppend (Maybe Text)
- svaPayload :: Lens' SpreadsheetsValuesAppend ValueRange
- svaInsertDataOption :: Lens' SpreadsheetsValuesAppend (Maybe Text)
- svaBearerToken :: Lens' SpreadsheetsValuesAppend (Maybe Text)
- svaRange :: Lens' SpreadsheetsValuesAppend Text
- svaCallback :: Lens' SpreadsheetsValuesAppend (Maybe Text)
REST Resource
type SpreadsheetsValuesAppendResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values" :> (CaptureMode "range" "append" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "valueInputOption" Text :> (QueryParam "insertDataOption" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ValueRange :> Post '[JSON] AppendValuesResponse))))))))))))))) Source #
A resource alias for sheets.spreadsheets.values.append
method which the
SpreadsheetsValuesAppend
request conforms to.
Creating a Request
spreadsheetsValuesAppend Source #
Creates a value of SpreadsheetsValuesAppend
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsValuesAppend Source #
Appends values to a spreadsheet. The input range is used to search for existing data and find a "table" within that range. Values will be appended to the next row of the table, starting with the first column of the table. See the guide and sample code for specific details of how tables are detected and data is appended. The caller must specify the spreadsheet ID, range, and a valueInputOption. The `valueInputOption` only controls how the input data will be added to the sheet (column-wise or row-wise), it does not influence what cell the data starts being written to.
See: spreadsheetsValuesAppend
smart constructor.
Request Lenses
svaUploadProtocol :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
svaAccessToken :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
OAuth access token.
svaSpreadsheetId :: Lens' SpreadsheetsValuesAppend Text Source #
The ID of the spreadsheet to update.
svaUploadType :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
svaValueInputOption :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
How the input data should be interpreted.
svaPayload :: Lens' SpreadsheetsValuesAppend ValueRange Source #
Multipart request metadata.
svaInsertDataOption :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
How the input data should be inserted.
svaBearerToken :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
OAuth bearer token.
svaRange :: Lens' SpreadsheetsValuesAppend Text Source #
The A1 notation of a range to search for a logical table of data. Values will be appended after the last row of the table.
svaCallback :: Lens' SpreadsheetsValuesAppend (Maybe Text) Source #
JSONP