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

Contents

Description

Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.

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

Synopsis

REST Resource

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

A resource alias for storagetransfer.transferOperations.cancel method which the TransferOperationsCancel request conforms to.

Creating a Request

transferOperationsCancel Source #

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

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

data TransferOperationsCancel Source #

Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.

See: transferOperationsCancel smart constructor.

Instances
Eq TransferOperationsCancel Source # 
Instance details

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

Data TransferOperationsCancel Source # 
Instance details

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

Methods

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

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

toConstr :: TransferOperationsCancel -> Constr #

dataTypeOf :: TransferOperationsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferOperationsCancel Source # 
Instance details

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

Generic TransferOperationsCancel Source # 
Instance details

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

Associated Types

type Rep TransferOperationsCancel :: Type -> Type #

GoogleRequest TransferOperationsCancel Source # 
Instance details

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

type Rep TransferOperationsCancel Source # 
Instance details

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

type Rep TransferOperationsCancel = D1 (MetaData "TransferOperationsCancel" "Network.Google.Resource.StorageTransfer.TransferOperations.Cancel" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferOperationsCancel'" PrefixI True) ((S1 (MetaSel (Just "_tocXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_tocUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tocAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_tocUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_tocName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tocCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TransferOperationsCancel Source # 
Instance details

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

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

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

Request Lenses

tocUploadProtocol :: Lens' TransferOperationsCancel (Maybe Text) Source #

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

tocUploadType :: Lens' TransferOperationsCancel (Maybe Text) Source #

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

tocName :: Lens' TransferOperationsCancel Text Source #

The name of the operation resource to be cancelled.