gogol-storage-transfer-0.1.1: 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.TransferOperations.Pause

Contents

Description

Pauses a transfer operation.

See: Google Storage Transfer API Reference for storagetransfer.transferOperations.pause.

Synopsis

REST Resource

type TransferOperationsPauseResource = "v1" :> (CaptureMode "name" "pause" 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] PauseTransferOperationRequest :> Post '[JSON] Empty)))))))))) Source #

A resource alias for storagetransfer.transferOperations.pause method which the TransferOperationsPause request conforms to.

Creating a Request

transferOperationsPause Source #

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

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

data TransferOperationsPause Source #

Pauses a transfer operation.

See: transferOperationsPause smart constructor.

Instances

Eq TransferOperationsPause Source # 
Data TransferOperationsPause Source # 

Methods

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

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

toConstr :: TransferOperationsPause -> Constr #

dataTypeOf :: TransferOperationsPause -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

topUploadProtocol :: Lens' TransferOperationsPause (Maybe Text) Source #

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

topPp :: Lens' TransferOperationsPause Bool Source #

Pretty-print response.

topUploadType :: Lens' TransferOperationsPause (Maybe Text) Source #

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

topName :: Lens' TransferOperationsPause Text Source #

The name of the transfer operation. Required.