gogol-storage-transfer-0.3.0: Google Storage Transfer 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.StorageTransfer.TransferJobs.Patch

Contents

Description

Updates a transfer job. Updating a job's transfer spec does not affect transfer operations that are running already. Updating the scheduling of a job is not allowed.

See: Google Storage Transfer API Reference for storagetransfer.transferJobs.patch.

Synopsis

REST Resource

type TransferJobsPatchResource = "v1" :> (Capture "jobName" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateTransferJobRequest :> Patch '[JSON] TransferJob)))))))))) Source #

A resource alias for storagetransfer.transferJobs.patch method which the TransferJobsPatch request conforms to.

Creating a Request

transferJobsPatch Source #

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

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

data TransferJobsPatch Source #

Updates a transfer job. Updating a job's transfer spec does not affect transfer operations that are running already. Updating the scheduling of a job is not allowed.

See: transferJobsPatch smart constructor.

Instances

Eq TransferJobsPatch Source # 
Data TransferJobsPatch Source # 

Methods

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

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

toConstr :: TransferJobsPatch -> Constr #

dataTypeOf :: TransferJobsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferJobsPatch Source # 
Generic TransferJobsPatch Source # 
GoogleRequest TransferJobsPatch Source # 
type Rep TransferJobsPatch Source # 
type Scopes TransferJobsPatch Source # 
type Scopes TransferJobsPatch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs TransferJobsPatch Source # 

Request Lenses

tjpUploadProtocol :: Lens' TransferJobsPatch (Maybe Text) Source #

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

tjpPp :: Lens' TransferJobsPatch Bool Source #

Pretty-print response.

tjpJobName :: Lens' TransferJobsPatch Text Source #

The name of job to update. Required.

tjpUploadType :: Lens' TransferJobsPatch (Maybe Text) Source #

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