gogol-storage-transfer-0.0.1: Google Storage Transfer SDK.

Copyright(c) 2015 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:

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.