gogol-dataproc-0.4.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: 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" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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

projectsRegionsJobsSubmit Source #

Creates a value of ProjectsRegionsJobsSubmit with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsRegionsJobsSubmit Source #

Submits a job to a cluster.

See: projectsRegionsJobsSubmit smart constructor.

Instances
Eq ProjectsRegionsJobsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

Data ProjectsRegionsJobsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

Generic ProjectsRegionsJobsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

Associated Types

type Rep ProjectsRegionsJobsSubmit :: Type -> Type #

GoogleRequest ProjectsRegionsJobsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

type Rep ProjectsRegionsJobsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

type Rep ProjectsRegionsJobsSubmit = D1 (MetaData "ProjectsRegionsJobsSubmit" "Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsJobsSubmit'" PrefixI True) (((S1 (MetaSel (Just "_prjsXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prjsUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_prjsAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjsUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prjsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubmitJobRequest) :*: S1 (MetaSel (Just "_prjsRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prjsProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prjsCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsJobsSubmit Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Submit

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.