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.Patch

Contents

Description

Updates a job in a project.

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

Synopsis

REST Resource

type ProjectsRegionsJobsPatchResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("regions" :> (Capture "region" Text :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Patch '[JSON] Job)))))))))))))) Source #

A resource alias for dataproc.projects.regions.jobs.patch method which the ProjectsRegionsJobsPatch request conforms to.

Creating a Request

data ProjectsRegionsJobsPatch Source #

Updates a job in a project.

See: projectsRegionsJobsPatch smart constructor.

Instances
Eq ProjectsRegionsJobsPatch Source # 
Instance details

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

Data ProjectsRegionsJobsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsJobsPatch -> Constr #

dataTypeOf :: ProjectsRegionsJobsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsJobsPatch Source # 
Instance details

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

Generic ProjectsRegionsJobsPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsRegionsJobsPatch :: Type -> Type #

GoogleRequest ProjectsRegionsJobsPatch Source # 
Instance details

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

type Rep ProjectsRegionsJobsPatch Source # 
Instance details

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

type Rep ProjectsRegionsJobsPatch = D1 (MetaData "ProjectsRegionsJobsPatch" "Network.Google.Resource.Dataproc.Projects.Regions.Jobs.Patch" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsJobsPatch'" PrefixI True) (((S1 (MetaSel (Just "_prjpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_prjpJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_prjpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_prjpUpdateMask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GFieldMask)) :*: S1 (MetaSel (Just "_prjpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_prjpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Job)) :*: (S1 (MetaSel (Just "_prjpRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_prjpProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prjpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsRegionsJobsPatch Source # 
Instance details

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

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

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

Request Lenses

prjpUploadProtocol :: Lens' ProjectsRegionsJobsPatch (Maybe Text) Source #

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

prjpUpdateMask :: Lens' ProjectsRegionsJobsPatch (Maybe GFieldMask) Source #

Required. Specifies the path, relative to Job, of the field to update. For example, to update the labels of a Job the update_mask parameter would be specified as labels, and the PATCH request body would specify the new value. Note: Currently, labels is the only field that can be updated.

prjpUploadType :: Lens' ProjectsRegionsJobsPatch (Maybe Text) Source #

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

prjpPayload :: Lens' ProjectsRegionsJobsPatch Job Source #

Multipart request metadata.

prjpRegion :: Lens' ProjectsRegionsJobsPatch Text Source #

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

prjpProjectId :: Lens' ProjectsRegionsJobsPatch Text Source #

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