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.BatchGet

Contents

Description

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

REST Resource

type SpreadsheetsValuesBatchGetResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("values:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "valueRenderOption" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "ranges" Text :> (QueryParam "bearer_token" 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

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

Eq SpreadsheetsValuesBatchGet Source # 
Data SpreadsheetsValuesBatchGet Source # 

Methods

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

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

toConstr :: SpreadsheetsValuesBatchGet -> Constr #

dataTypeOf :: SpreadsheetsValuesBatchGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SpreadsheetsValuesBatchGet Source # 
Generic SpreadsheetsValuesBatchGet Source # 
GoogleRequest SpreadsheetsValuesBatchGet Source # 
type Rep SpreadsheetsValuesBatchGet Source # 
type Rep SpreadsheetsValuesBatchGet = D1 (MetaData "SpreadsheetsValuesBatchGet" "Network.Google.Resource.Sheets.Spreadsheets.Values.BatchGet" "gogol-sheets-0.1.1-1pkXSdCGpV83QL9chaCos2" False) (C1 (MetaCons "SpreadsheetsValuesBatchGet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_svbgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) ((:*:) (S1 (MetaSel (Just Symbol "_svbgValueRenderOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_svbgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_svbgPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) ((:*:) (S1 (MetaSel (Just Symbol "_svbgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_svbgSpreadsheetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_svbgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_svbgRanges") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_svbgBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_svbgDateTimeRenderOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_svbgMajorDimension") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_svbgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes SpreadsheetsValuesBatchGet Source # 
type Scopes SpreadsheetsValuesBatchGet = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.readonly" ((:) Symbol "https://www.googleapis.com/auth/spreadsheets" ((:) Symbol "https://www.googleapis.com/auth/spreadsheets.readonly" ([] Symbol))))
type Rs SpreadsheetsValuesBatchGet Source # 

Request Lenses

svbgValueRenderOption :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #

How values should be represented in the output.

svbgUploadProtocol :: Lens' SpreadsheetsValuesBatchGet (Maybe Text) Source #

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

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.

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]]`.