gogol-storage-transfer-0.1.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.Get

Contents

Description

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

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

Synopsis

REST Resource

type TransferOperationsGetResource = "v1" :> (Capture "name" 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 :> Get '[JSON] Operation))))))))) Source #

A resource alias for storagetransfer.transferOperations.get method which the TransferOperationsGet request conforms to.

Creating a Request

transferOperationsGet Source #

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

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

data TransferOperationsGet Source #

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

See: transferOperationsGet smart constructor.

Instances

Eq TransferOperationsGet Source # 
Data TransferOperationsGet Source # 

Methods

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

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

toConstr :: TransferOperationsGet -> Constr #

dataTypeOf :: TransferOperationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TransferOperationsGet Source # 
Generic TransferOperationsGet Source # 
GoogleRequest TransferOperationsGet Source # 
type Rep TransferOperationsGet Source # 
type Rep TransferOperationsGet = D1 (MetaData "TransferOperationsGet" "Network.Google.Resource.StorageTransfer.TransferOperations.Get" "gogol-storage-transfer-0.1.0-BPppDVINT2X3CBpbN7AsR8" False) (C1 (MetaCons "TransferOperationsGet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_togXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_togUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_togPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_togAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_togUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_togBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_togName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_togCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes TransferOperationsGet Source # 
type Scopes TransferOperationsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs TransferOperationsGet Source # 

Request Lenses

togUploadProtocol :: Lens' TransferOperationsGet (Maybe Text) Source #

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

togPp :: Lens' TransferOperationsGet Bool Source #

Pretty-print response.

togUploadType :: Lens' TransferOperationsGet (Maybe Text) Source #

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

togName :: Lens' TransferOperationsGet Text Source #

The name of the operation resource.