gogol-dataflow-0.4.0: Google Dataflow 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.Dataflow.Projects.Jobs.WorkItems.Lease

Contents

Description

Leases a dataflow WorkItem to run.

See: Dataflow API Reference for dataflow.projects.jobs.workItems.lease.

Synopsis

REST Resource

type ProjectsJobsWorkItemsLeaseResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("jobs" :> (Capture "jobId" Text :> ("workItems:lease" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LeaseWorkItemRequest :> Post '[JSON] LeaseWorkItemResponse)))))))))))) Source #

A resource alias for dataflow.projects.jobs.workItems.lease method which the ProjectsJobsWorkItemsLease request conforms to.

Creating a Request

data ProjectsJobsWorkItemsLease Source #

Leases a dataflow WorkItem to run.

See: projectsJobsWorkItemsLease smart constructor.

Instances
Eq ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

Data ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

Methods

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

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

toConstr :: ProjectsJobsWorkItemsLease -> Constr #

dataTypeOf :: ProjectsJobsWorkItemsLease -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

Generic ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

Associated Types

type Rep ProjectsJobsWorkItemsLease :: Type -> Type #

GoogleRequest ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

type Rep ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

type Rep ProjectsJobsWorkItemsLease = D1 (MetaData "ProjectsJobsWorkItemsLease" "Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ProjectsJobsWorkItemsLease'" PrefixI True) (((S1 (MetaSel (Just "_pjwilXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pjwilJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pjwilUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjwilAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pjwilUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjwilPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LeaseWorkItemRequest)) :*: (S1 (MetaSel (Just "_pjwilProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pjwilCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsJobsWorkItemsLease Source # 
Instance details

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

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

Defined in Network.Google.Resource.Dataflow.Projects.Jobs.WorkItems.Lease

Request Lenses

pjwilJobId :: Lens' ProjectsJobsWorkItemsLease Text Source #

Identifies the workflow job this worker belongs to.

pjwilUploadProtocol :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source #

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

pjwilUploadType :: Lens' ProjectsJobsWorkItemsLease (Maybe Text) Source #

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

pjwilProjectId :: Lens' ProjectsJobsWorkItemsLease Text Source #

Identifies the project this worker belongs to.