gogol-dataproc-0.3.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.Submit

Contents

Description

Submits a job to a cluster.

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

Synopsis

REST Resource

type ProjectsRegionsJobsSubmitResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs:submit" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SubmitJobRequest :> Post '[JSON] Job)))))))))))))) Source #

A resource alias for dataproc.projects.regions.jobs.submit method which the ProjectsRegionsJobsSubmit request conforms to.

Creating a Request

data ProjectsRegionsJobsSubmit Source #

Submits a job to a cluster.

See: projectsRegionsJobsSubmit smart constructor.

Instances

Eq ProjectsRegionsJobsSubmit Source # 
Data ProjectsRegionsJobsSubmit Source # 

Methods

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

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

toConstr :: ProjectsRegionsJobsSubmit -> Constr #

dataTypeOf :: ProjectsRegionsJobsSubmit -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsJobsSubmit Source # 
Generic ProjectsRegionsJobsSubmit Source # 
GoogleRequest ProjectsRegionsJobsSubmit Source # 
type Rep ProjectsRegionsJobsSubmit Source # 
type Scopes ProjectsRegionsJobsSubmit Source # 
type Scopes ProjectsRegionsJobsSubmit = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsRegionsJobsSubmit Source # 

Request Lenses

prjsUploadProtocol :: Lens' ProjectsRegionsJobsSubmit (Maybe Text) Source #

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

prjsUploadType :: Lens' ProjectsRegionsJobsSubmit (Maybe Text) Source #

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

prjsRegion :: Lens' ProjectsRegionsJobsSubmit Text Source #

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

prjsProjectId :: Lens' ProjectsRegionsJobsSubmit Text Source #

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