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.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 "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

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

Data SpreadsheetsValuesBatchClear Source # 
Instance details

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

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 # 
Instance details

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

Generic SpreadsheetsValuesBatchClear Source # 
Instance details

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

Associated Types

type Rep SpreadsheetsValuesBatchClear :: Type -> Type #

GoogleRequest SpreadsheetsValuesBatchClear Source # 
Instance details

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

type Rep SpreadsheetsValuesBatchClear Source # 
Instance details

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

type Rep SpreadsheetsValuesBatchClear = D1 (MetaData "SpreadsheetsValuesBatchClear" "Network.Google.Resource.Sheets.Spreadsheets.Values.BatchClear" "gogol-sheets-0.4.0-DWkMVDpj7ZbHiXYeCjugGu" False) (C1 (MetaCons "SpreadsheetsValuesBatchClear'" PrefixI True) ((S1 (MetaSel (Just "_svbcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_svbcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_svbcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_svbcSpreadsheetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_svbcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_svbcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchClearValuesRequest) :*: S1 (MetaSel (Just "_svbcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes SpreadsheetsValuesBatchClear Source # 
Instance details

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

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

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

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").