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.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: Storage Transfer API Reference for storagetransfer.transferOperations.get.

Synopsis

REST Resource

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

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

Data TransferOperationsGet Source # 
Instance details

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

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

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

Generic TransferOperationsGet Source # 
Instance details

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

Associated Types

type Rep TransferOperationsGet :: Type -> Type #

GoogleRequest TransferOperationsGet Source # 
Instance details

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

type Rep TransferOperationsGet Source # 
Instance details

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

type Rep TransferOperationsGet = D1 (MetaData "TransferOperationsGet" "Network.Google.Resource.StorageTransfer.TransferOperations.Get" "gogol-storage-transfer-0.4.0-GGwHgHZplO0LWcGDc7JAZR" False) (C1 (MetaCons "TransferOperationsGet'" PrefixI True) ((S1 (MetaSel (Just "_togXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_togUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_togAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_togUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_togName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_togCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TransferOperationsGet Source # 
Instance details

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

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

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

Request Lenses

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

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

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.