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.Jobs.List

Contents

Description

Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.

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

Synopsis

REST Resource

type JobsListResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (QueryParams "stateFilter" JobsListStateFilter :> (QueryParam "projection" JobsListProjection :> (QueryParam "pageToken" Text :> (QueryParam "allUsers" Bool :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] JobList)))))))))) Source #

A resource alias for bigquery.jobs.list method which the JobsList request conforms to.

Creating a Request

jobsList Source #

Arguments

:: Text

jlProjectId

-> JobsList 

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

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

data JobsList Source #

Lists all jobs that you started in the specified project. Job information is available for a six month period after creation. The job list is sorted in reverse chronological order, by job creation time. Requires the Can View project role, or the Is Owner project role if you set the allUsers property.

See: jobsList smart constructor.

Instances

Eq JobsList Source # 
Data JobsList Source # 

Methods

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

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

toConstr :: JobsList -> Constr #

dataTypeOf :: JobsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobsList Source # 
Generic JobsList Source # 

Associated Types

type Rep JobsList :: * -> * #

Methods

from :: JobsList -> Rep JobsList x #

to :: Rep JobsList x -> JobsList #

GoogleRequest JobsList Source # 

Associated Types

type Rs JobsList :: * #

type Scopes JobsList :: [Symbol] #

type Rep JobsList Source # 
type Scopes JobsList Source # 
type Scopes JobsList = (:) 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 JobsList Source # 

Request Lenses

jlProjection :: Lens' JobsList (Maybe JobsListProjection) Source #

Restrict information returned to a set of selected fields

jlPageToken :: Lens' JobsList (Maybe Text) Source #

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

jlProjectId :: Lens' JobsList Text Source #

Project ID of the jobs to list

jlAllUsers :: Lens' JobsList (Maybe Bool) Source #

Whether to display jobs owned by all users in the project. Default false

jlMaxResults :: Lens' JobsList (Maybe Word32) Source #

Maximum number of results to return