gogol-dataproc-0.2.0: Google Cloud Dataproc 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.Dataproc.Projects.Regions.Jobs.List

Contents

Description

Lists regions/{region}/jobs in a project.

See: Google Cloud Dataproc API Reference for dataproc.projects.regions.jobs.list.

Synopsis

REST Resource

type ProjectsRegionsJobsListResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (QueryParam "jobStateMatcher" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "clusterName" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse)))))))))))))))))) Source #

A resource alias for dataproc.projects.regions.jobs.list method which the ProjectsRegionsJobsList request conforms to.

Creating a Request

data ProjectsRegionsJobsList Source #

Lists regions/{region}/jobs in a project.

See: projectsRegionsJobsList smart constructor.

Instances

Eq ProjectsRegionsJobsList Source # 
Data ProjectsRegionsJobsList Source # 

Methods

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

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

toConstr :: ProjectsRegionsJobsList -> Constr #

dataTypeOf :: ProjectsRegionsJobsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsJobsList Source # 
Generic ProjectsRegionsJobsList Source # 
GoogleRequest ProjectsRegionsJobsList Source # 
type Rep ProjectsRegionsJobsList Source # 
type Rep ProjectsRegionsJobsList = D1 (MetaData "ProjectsRegionsJobsList" "Network.Google.Resource.Dataproc.Projects.Regions.Jobs.List" "gogol-dataproc-0.2.0-KcZ0dIGV1joB7pyOCocrVW" False) (C1 (MetaCons "ProjectsRegionsJobsList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_prjlJobStateMatcher") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_prjlXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_prjlUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_prjlPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_prjlAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_prjlUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_prjlBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_prjlClusterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_prjlFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_prjlRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_prjlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_prjlProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_prjlPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_prjlCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes ProjectsRegionsJobsList Source # 
type Scopes ProjectsRegionsJobsList = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsRegionsJobsList Source # 

Request Lenses

prjlJobStateMatcher :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #

Optional
Specifies enumerated categories of jobs to list (default = match ALL jobs).

prjlUploadProtocol :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

prjlPp :: Lens' ProjectsRegionsJobsList Bool Source #

Pretty-print response.

prjlUploadType :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

prjlClusterName :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #

Optional
If set, the returned jobs list includes only jobs that were submitted to the named cluster.

prjlFilter :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #

Optional
A filter constraining the jobs to list. Filters are case-sensitive and have the following syntax: field:value] ... or [field = value] AND [field [= value]] ... where **field** is `status.state` or `labels.[KEY]`, and `[KEY]` is a label key. **value** can be `*` to match all values. `status.state` can be either `ACTIVE` or `INACTIVE`. Only the logical `AND` operator is supported; space-separated items are treated as having an implicit `AND` operator. Example valid filters are: status.state:ACTIVE labels.env:staging labels.starred:* and status.state = ACTIVE AND labels.env = staging AND labels.starred = *

prjlRegion :: Lens' ProjectsRegionsJobsList Text Source #

Required
The Cloud Dataproc region in which to handle the request.

prjlPageToken :: Lens' ProjectsRegionsJobsList (Maybe Text) Source #

Optional
The page token, returned by a previous call, to request the next page of results.

prjlProjectId :: Lens' ProjectsRegionsJobsList Text Source #

Required
The ID of the Google Cloud Platform project that the job belongs to.

prjlPageSize :: Lens' ProjectsRegionsJobsList (Maybe Int32) Source #

Optional
The number of results to return in each response.