gogol-storage-transfer-0.0.1: Google Storage Transfer SDK.

Copyright(c) 2015 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.

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.