Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))
- transferOperationsGet :: Text -> TransferOperationsGet
- data TransferOperationsGet
- togXgafv :: Lens' TransferOperationsGet (Maybe Xgafv)
- togUploadProtocol :: Lens' TransferOperationsGet (Maybe Text)
- togAccessToken :: Lens' TransferOperationsGet (Maybe Text)
- togUploadType :: Lens' TransferOperationsGet (Maybe Text)
- togName :: Lens' TransferOperationsGet Text
- togCallback :: Lens' TransferOperationsGet (Maybe Text)
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
Request Lenses
togUploadProtocol :: Lens' TransferOperationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
togAccessToken :: Lens' TransferOperationsGet (Maybe Text) Source #
OAuth access token.
togUploadType :: Lens' TransferOperationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
togCallback :: Lens' TransferOperationsGet (Maybe Text) Source #
JSONP