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 |
Resumes a transfer operation that is paused.
See: Google Storage Transfer API Reference for storagetransfer.transferOperations.resume
.
- type TransferOperationsResumeResource = "v1" :> (CaptureMode "name" "resume" 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 :> (ReqBody '[JSON] ResumeTransferOperationRequest :> Post '[JSON] Empty))))))))))
- transferOperationsResume :: ResumeTransferOperationRequest -> Text -> TransferOperationsResume
- data TransferOperationsResume
- torXgafv :: Lens' TransferOperationsResume (Maybe Text)
- torUploadProtocol :: Lens' TransferOperationsResume (Maybe Text)
- torPp :: Lens' TransferOperationsResume Bool
- torAccessToken :: Lens' TransferOperationsResume (Maybe Text)
- torUploadType :: Lens' TransferOperationsResume (Maybe Text)
- torPayload :: Lens' TransferOperationsResume ResumeTransferOperationRequest
- torBearerToken :: Lens' TransferOperationsResume (Maybe Text)
- torName :: Lens' TransferOperationsResume Text
- torCallback :: Lens' TransferOperationsResume (Maybe Text)
REST Resource
type TransferOperationsResumeResource = "v1" :> (CaptureMode "name" "resume" 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 :> (ReqBody '[JSON] ResumeTransferOperationRequest :> Post '[JSON] Empty)))))))))) Source #
A resource alias for storagetransfer.transferOperations.resume
method which the
TransferOperationsResume
request conforms to.
Creating a Request
transferOperationsResume Source #
Creates a value of TransferOperationsResume
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransferOperationsResume Source #
Resumes a transfer operation that is paused.
See: transferOperationsResume
smart constructor.
Request Lenses
torUploadProtocol :: Lens' TransferOperationsResume (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
torAccessToken :: Lens' TransferOperationsResume (Maybe Text) Source #
OAuth access token.
torUploadType :: Lens' TransferOperationsResume (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
torPayload :: Lens' TransferOperationsResume ResumeTransferOperationRequest Source #
Multipart request metadata.
torBearerToken :: Lens' TransferOperationsResume (Maybe Text) Source #
OAuth bearer token.
torName :: Lens' TransferOperationsResume Text Source #
The name of the transfer operation. Required.
torCallback :: Lens' TransferOperationsResume (Maybe Text) Source #
JSONP