gogol-cloudscheduler-0.4.0: Google Cloud Scheduler 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.CloudScheduler.Projects.Locations.Jobs.Create

Contents

Description

Creates a job.

See: Cloud Scheduler API Reference for cloudscheduler.projects.locations.jobs.create.

Synopsis

REST Resource

type ProjectsLocationsJobsCreateResource = "v1beta1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Job :> Post '[JSON] Job))))))))) Source #

A resource alias for cloudscheduler.projects.locations.jobs.create method which the ProjectsLocationsJobsCreate request conforms to.

Creating a Request

projectsLocationsJobsCreate Source #

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

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

data ProjectsLocationsJobsCreate Source #

Creates a job.

See: projectsLocationsJobsCreate smart constructor.

Instances
Eq ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

Data ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

Methods

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

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

toConstr :: ProjectsLocationsJobsCreate -> Constr #

dataTypeOf :: ProjectsLocationsJobsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

Generic ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

Associated Types

type Rep ProjectsLocationsJobsCreate :: Type -> Type #

GoogleRequest ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

type Rep ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

type Rep ProjectsLocationsJobsCreate = D1 (MetaData "ProjectsLocationsJobsCreate" "Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create" "gogol-cloudscheduler-0.4.0-48VkVd2TeO9C5YcAbm9sQw" False) (C1 (MetaCons "ProjectsLocationsJobsCreate'" PrefixI True) ((S1 (MetaSel (Just "_pljcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pljcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pljcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pljcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pljcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pljcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Job) :*: S1 (MetaSel (Just "_pljcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsJobsCreate Source # 
Instance details

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

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

Defined in Network.Google.Resource.CloudScheduler.Projects.Locations.Jobs.Create

Request Lenses

pljcParent :: Lens' ProjectsLocationsJobsCreate Text Source #

Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`.

pljcUploadProtocol :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #

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

pljcUploadType :: Lens' ProjectsLocationsJobsCreate (Maybe Text) Source #

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