gogol-sheets-0.4.0: Google Sheets SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Sheets.Spreadsheets.Values.Update

Contents

Description

Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.

See: Google Sheets API Reference for sheets.spreadsheets.values.update.

Synopsis

REST Resource

type SpreadsheetsValuesUpdateResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values" :> (Capture "range" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "valueInputOption" Text :> (QueryParam "includeValuesInResponse" Bool :> (QueryParam "responseDateTimeRenderOption" Text :> (QueryParam "callback" Text :> (QueryParam "responseValueRenderOption" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ValueRange :> Put '[JSON] UpdateValuesResponse))))))))))))))) Source #

A resource alias for sheets.spreadsheets.values.update method which the SpreadsheetsValuesUpdate request conforms to.

Creating a Request

data SpreadsheetsValuesUpdate Source #

Sets values in a range of a spreadsheet. The caller must specify the spreadsheet ID, range, and a valueInputOption.

See: spreadsheetsValuesUpdate smart constructor.

Instances
Eq SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

Data SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SpreadsheetsValuesUpdate -> c SpreadsheetsValuesUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SpreadsheetsValuesUpdate #

toConstr :: SpreadsheetsValuesUpdate -> Constr #

dataTypeOf :: SpreadsheetsValuesUpdate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SpreadsheetsValuesUpdate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SpreadsheetsValuesUpdate) #

gmapT :: (forall b. Data b => b -> b) -> SpreadsheetsValuesUpdate -> SpreadsheetsValuesUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SpreadsheetsValuesUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SpreadsheetsValuesUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> SpreadsheetsValuesUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SpreadsheetsValuesUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SpreadsheetsValuesUpdate -> m SpreadsheetsValuesUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SpreadsheetsValuesUpdate -> m SpreadsheetsValuesUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SpreadsheetsValuesUpdate -> m SpreadsheetsValuesUpdate #

Show SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

Generic SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

Associated Types

type Rep SpreadsheetsValuesUpdate :: Type -> Type #

GoogleRequest SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

type Rep SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

type Rep SpreadsheetsValuesUpdate = D1 (MetaData "SpreadsheetsValuesUpdate" "Network.Google.Resource.Sheets.Spreadsheets.Values.Update" "gogol-sheets-0.4.0-DWkMVDpj7ZbHiXYeCjugGu" False) (C1 (MetaCons "SpreadsheetsValuesUpdate'" PrefixI True) (((S1 (MetaSel (Just "_svuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_svuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_svuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_svuSpreadsheetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_svuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_svuValueInputOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_svuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ValueRange) :*: (S1 (MetaSel (Just "_svuRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_svuIncludeValuesInResponse") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 (MetaSel (Just "_svuResponseDateTimeRenderOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_svuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_svuResponseValueRenderOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

type Scopes SpreadsheetsValuesUpdate = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.file" ': ("https://www.googleapis.com/auth/spreadsheets" ': ([] :: [Symbol])))
type Rs SpreadsheetsValuesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Sheets.Spreadsheets.Values.Update

Request Lenses

svuUploadProtocol :: Lens' SpreadsheetsValuesUpdate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

svuSpreadsheetId :: Lens' SpreadsheetsValuesUpdate Text Source #

The ID of the spreadsheet to update.

svuUploadType :: Lens' SpreadsheetsValuesUpdate (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

svuValueInputOption :: Lens' SpreadsheetsValuesUpdate (Maybe Text) Source #

How the input data should be interpreted.

svuRange :: Lens' SpreadsheetsValuesUpdate Text Source #

The A1 notation of the values to update.

svuIncludeValuesInResponse :: Lens' SpreadsheetsValuesUpdate (Maybe Bool) Source #

Determines if the update response should include the values of the cells that were updated. By default, responses do not include the updated values. If the range to write was larger than than the range actually written, the response will include all values in the requested range (excluding trailing empty rows and columns).

svuResponseDateTimeRenderOption :: Lens' SpreadsheetsValuesUpdate (Maybe Text) Source #

Determines how dates, times, and durations in the response should be rendered. This is ignored if response_value_render_option is FORMATTED_VALUE. The default dateTime render option is DateTimeRenderOption.SERIAL_NUMBER.

svuResponseValueRenderOption :: Lens' SpreadsheetsValuesUpdate (Maybe Text) Source #

Determines how values in the response should be rendered. The default render option is ValueRenderOption.FORMATTED_VALUE.