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.Locations.Jobs.WorkItems.Lease

Contents

Description

Leases a dataflow WorkItem to run.

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

Synopsis

REST Resource

type ProjectsLocationsJobsWorkItemsLeaseResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" 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.locations.jobs.workItems.lease method which the ProjectsLocationsJobsWorkItemsLease request conforms to.

Creating a Request

data ProjectsLocationsJobsWorkItemsLease Source #

Leases a dataflow WorkItem to run.

See: projectsLocationsJobsWorkItemsLease smart constructor.

Instances
Eq ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

Data ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsJobsWorkItemsLease -> Constr #

dataTypeOf :: ProjectsLocationsJobsWorkItemsLease -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

Generic ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

GoogleRequest ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

type Rep ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

type Rep ProjectsLocationsJobsWorkItemsLease = D1 (MetaData "ProjectsLocationsJobsWorkItemsLease" "Network.Google.Resource.Dataflow.Projects.Locations.Jobs.WorkItems.Lease" "gogol-dataflow-0.4.0-3JQL14p7A16KlOtsdaG1RC" False) (C1 (MetaCons "ProjectsLocationsJobsWorkItemsLease'" PrefixI True) (((S1 (MetaSel (Just "_pljwilXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pljwilJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pljwilUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pljwilLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_pljwilAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pljwilUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pljwilPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 LeaseWorkItemRequest) :*: (S1 (MetaSel (Just "_pljwilProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pljwilCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

type Scopes ProjectsLocationsJobsWorkItemsLease = "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 ProjectsLocationsJobsWorkItemsLease Source # 
Instance details

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

Request Lenses

pljwilJobId :: Lens' ProjectsLocationsJobsWorkItemsLease Text Source #

Identifies the workflow job this worker belongs to.

pljwilUploadProtocol :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text) Source #

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

pljwilLocation :: Lens' ProjectsLocationsJobsWorkItemsLease Text Source #

The location which contains the WorkItem's job.

pljwilUploadType :: Lens' ProjectsLocationsJobsWorkItemsLease (Maybe Text) Source #

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

pljwilProjectId :: Lens' ProjectsLocationsJobsWorkItemsLease Text Source #

Identifies the project this worker belongs to.