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.Resume

Contents

Description

Resumes a transfer operation that is paused.

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

Synopsis

REST Resource

type TransferOperationsResumeResource = "v1" :> (CaptureMode "name" "resume" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResumeTransferOperationRequest :> Post '[JSON] Empty)))))))) Source #

A resource alias for storagetransfer.transferOperations.resume method which the TransferOperationsResume request conforms to.

Creating a Request

transferOperationsResume Source #

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

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

data TransferOperationsResume Source #

Resumes a transfer operation that is paused.

See: transferOperationsResume smart constructor.

Instances
Eq TransferOperationsResume Source # 
Instance details

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

Data TransferOperationsResume Source # 
Instance details

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

Methods

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

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

toConstr :: TransferOperationsResume -> Constr #

dataTypeOf :: TransferOperationsResume -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferOperationsResume Source # 
Instance details

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

Generic TransferOperationsResume Source # 
Instance details

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

Associated Types

type Rep TransferOperationsResume :: Type -> Type #

GoogleRequest TransferOperationsResume Source # 
Instance details

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

type Rep TransferOperationsResume Source # 
Instance details

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

type Rep TransferOperationsResume = D1 (MetaData "TransferOperationsResume" "Network.Google.Resource.StorageTransfer.TransferOperations.Resume" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferOperationsResume'" PrefixI True) ((S1 (MetaSel (Just "_torXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_torUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_torAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_torUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_torPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResumeTransferOperationRequest)) :*: (S1 (MetaSel (Just "_torName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_torCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TransferOperationsResume Source # 
Instance details

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

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

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

Request Lenses

torUploadProtocol :: Lens' TransferOperationsResume (Maybe Text) Source #

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

torUploadType :: Lens' TransferOperationsResume (Maybe Text) Source #

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

torName :: Lens' TransferOperationsResume Text Source #

The name of the transfer operation. Required.