Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))))))
- jobsList :: Text -> JobsList
- data JobsList
- jlMaxCreationTime :: Lens' JobsList (Maybe Word64)
- jlMinCreationTime :: Lens' JobsList (Maybe Word64)
- jlStateFilter :: Lens' JobsList [JobsListStateFilter]
- jlProjection :: Lens' JobsList (Maybe JobsListProjection)
- jlPageToken :: Lens' JobsList (Maybe Text)
- jlProjectId :: Lens' JobsList Text
- jlAllUsers :: Lens' JobsList (Maybe Bool)
- jlMaxResults :: Lens' JobsList (Maybe Word32)
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
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:
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
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
jlStateFilter :: Lens' JobsList [JobsListStateFilter] Source #
Filter for job state
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