gogol-bigquery-0.4.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" :> (QueryParam "maxCreationTime" (Textual Word64) :> (QueryParam "minCreationTime" (Textual Word64) :> (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 # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

Data JobsList Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

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

Defined in Network.Google.Resource.BigQuery.Jobs.List

Generic JobsList Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

Associated Types

type Rep JobsList :: Type -> Type #

Methods

from :: JobsList -> Rep JobsList x #

to :: Rep JobsList x -> JobsList #

GoogleRequest JobsList Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

Associated Types

type Rs JobsList :: Type #

type Scopes JobsList :: [Symbol] #

type Rep JobsList Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

type Scopes JobsList Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

type Scopes JobsList = "https://www.googleapis.com/auth/bigquery" ': ("https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ([] :: [Symbol])))
type Rs JobsList Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.List

Request Lenses

jlMaxCreationTime :: Lens' JobsList (Maybe Word64) Source #

Max value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created before or at this timestamp are returned

jlMinCreationTime :: Lens' JobsList (Maybe Word64) Source #

Min value for job creation time, in milliseconds since the POSIX epoch. If set, only jobs created after or at this timestamp are returned

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