gogol-bigquery-0.1.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.DataSets.List

Contents

Description

Lists all datasets in the specified project to which you have been granted the READER dataset role.

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

Synopsis

REST Resource

type DataSetsListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("datasets" :> (QueryParam "all" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSetList)))))))) Source #

A resource alias for bigquery.datasets.list method which the DataSetsList request conforms to.

Creating a Request

dataSetsList Source #

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

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

data DataSetsList Source #

Lists all datasets in the specified project to which you have been granted the READER dataset role.

See: dataSetsList smart constructor.

Instances

Eq DataSetsList Source # 
Data DataSetsList Source # 

Methods

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

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

toConstr :: DataSetsList -> Constr #

dataTypeOf :: DataSetsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetsList Source # 
Generic DataSetsList Source # 

Associated Types

type Rep DataSetsList :: * -> * #

GoogleRequest DataSetsList Source # 

Associated Types

type Rs DataSetsList :: * #

type Scopes DataSetsList :: [Symbol] #

type Rep DataSetsList Source # 
type Rep DataSetsList = D1 (MetaData "DataSetsList" "Network.Google.Resource.BigQuery.DataSets.List" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "DataSetsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dslAll") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_dslPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dslProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dslMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes DataSetsList Source # 
type Scopes DataSetsList = (:) 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 DataSetsList Source # 

Request Lenses

dslAll :: Lens' DataSetsList (Maybe Bool) Source #

Whether to list all datasets, including hidden ones

dslPageToken :: Lens' DataSetsList (Maybe Text) Source #

Page token, returned by a previous call, to request the next page of results

dslProjectId :: Lens' DataSetsList Text Source #

Project ID of the datasets to be listed

dslMaxResults :: Lens' DataSetsList (Maybe Word32) Source #

The maximum number of results to return