gogol-sheets-0.1.1: 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.BatchClear

Contents

Description

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. 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.batchClear.

Synopsis

REST Resource

type SpreadsheetsValuesBatchClearResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchClear" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchClearValuesRequest :> Post '[JSON] BatchClearValuesResponse)))))))))))) Source #

A resource alias for sheets.spreadsheets.values.batchClear method which the SpreadsheetsValuesBatchClear request conforms to.

Creating a Request

data SpreadsheetsValuesBatchClear Source #

Clears one or more ranges of values from a spreadsheet. The caller must specify the spreadsheet ID and one or more ranges. Only values are cleared -- all other properties of the cell (such as formatting, data validation, etc..) are kept.

See: spreadsheetsValuesBatchClear smart constructor.

Instances

Eq SpreadsheetsValuesBatchClear Source # 
Data SpreadsheetsValuesBatchClear Source # 

Methods

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

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

toConstr :: SpreadsheetsValuesBatchClear -> Constr #

dataTypeOf :: SpreadsheetsValuesBatchClear -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SpreadsheetsValuesBatchClear Source # 
Generic SpreadsheetsValuesBatchClear Source # 
GoogleRequest SpreadsheetsValuesBatchClear Source # 
type Rep SpreadsheetsValuesBatchClear Source # 
type Rep SpreadsheetsValuesBatchClear = D1 (MetaData "SpreadsheetsValuesBatchClear" "Network.Google.Resource.Sheets.Spreadsheets.Values.BatchClear" "gogol-sheets-0.1.1-1pkXSdCGpV83QL9chaCos2" False) (C1 (MetaCons "SpreadsheetsValuesBatchClear'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_svbcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_svbcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_svbcPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_svbcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_svbcSpreadsheetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_svbcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_svbcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchClearValuesRequest)) ((:*:) (S1 (MetaSel (Just Symbol "_svbcBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_svbcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes SpreadsheetsValuesBatchClear Source # 
type Scopes SpreadsheetsValuesBatchClear = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/spreadsheets" ([] Symbol))
type Rs SpreadsheetsValuesBatchClear Source # 

Request Lenses

svbcUploadProtocol :: Lens' SpreadsheetsValuesBatchClear (Maybe Text) Source #

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

svbcSpreadsheetId :: Lens' SpreadsheetsValuesBatchClear Text Source #

The ID of the spreadsheet to update.

svbcUploadType :: Lens' SpreadsheetsValuesBatchClear (Maybe Text) Source #

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