gogol-bigquery-0.0.1: Google BigQuery SDK.

Copyright(c) 2015 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.

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