gogol-bigquery-0.3.0: Google BigQuery 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.BigQuery.TableData.List

Contents

Description

Retrieves table data from a specified set of rows. Requires the READER dataset role.

See: BigQuery API Reference for bigquery.tabledata.list.

Synopsis

REST Resource

type TableDataListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (Capture "datasetId" Text :> ("tables" :> (Capture "tableId" Text :> ("data" :> (QueryParam "pageToken" Text :> (QueryParam "startIndex" (Textual Word64) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] TableDataList)))))))))))) Source #

A resource alias for bigquery.tabledata.list method which the TableDataList' request conforms to.

Creating a Request

tableDataList' Source #

Creates a value of TableDataList' with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data TableDataList' Source #

Retrieves table data from a specified set of rows. Requires the READER dataset role.

See: tableDataList' smart constructor.

Instances

Eq TableDataList' Source # 
Data TableDataList' Source # 

Methods

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

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

toConstr :: TableDataList' -> Constr #

dataTypeOf :: TableDataList' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataList' Source # 
Generic TableDataList' Source # 

Associated Types

type Rep TableDataList' :: * -> * #

GoogleRequest TableDataList' Source # 
type Rep TableDataList' Source # 
type Rep TableDataList' = D1 (MetaData "TableDataList'" "Network.Google.Resource.BigQuery.TableData.List" "gogol-bigquery-0.3.0-NMzGiY7NN4E0sRr6Nt20i" False) (C1 (MetaCons "TableDataList''" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_tMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))))
type Scopes TableDataList' Source # 
type Scopes TableDataList' = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ([] Symbol)))
type Rs TableDataList' Source # 

Request Lenses

tDataSetId :: Lens' TableDataList' Text Source #

Dataset ID of the table to read

tPageToken :: Lens' TableDataList' (Maybe Text) Source #

A token used for paging results. Providing this token instead of the startIndex parameter can help you retrieve stable results when an underlying table is changing.

tProjectId :: Lens' TableDataList' Text Source #

Project ID of the table to read

tTableId :: Lens' TableDataList' Text Source #

Table ID of the table to read

tStartIndex :: Lens' TableDataList' (Maybe Word64) Source #

Zero-based index of the starting row to read

tMaxResults :: Lens' TableDataList' (Maybe Word32) Source #

Maximum number of results to return