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

Contents

Description

Pauses a transfer operation.

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

Synopsis

REST Resource

type TransferOperationsPauseResource = "v1" :> (CaptureMode "name" "pause" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

Data TransferOperationsPause Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

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 # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

Generic TransferOperationsPause Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

Associated Types

type Rep TransferOperationsPause :: Type -> Type #

GoogleRequest TransferOperationsPause Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

type Rep TransferOperationsPause Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

type Rep TransferOperationsPause = D1 (MetaData "TransferOperationsPause" "Network.Google.Resource.StorageTransfer.TransferOperations.Pause" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferOperationsPause'" PrefixI True) ((S1 (MetaSel (Just "_topXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_topUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_topAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_topUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_topPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PauseTransferOperationRequest)) :*: (S1 (MetaSel (Just "_topName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_topCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TransferOperationsPause Source # 
Instance details

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

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

Defined in Network.Google.Resource.StorageTransfer.TransferOperations.Pause

Request Lenses

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

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

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.