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 |
Creates a transfer job that runs periodically.
See: Storage Transfer API Reference for storagetransfer.transferJobs.create
.
Synopsis
- type TransferJobsCreateResource = "v1" :> ("transferJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TransferJob :> Post '[JSON] TransferJob))))))))
- transferJobsCreate :: TransferJob -> TransferJobsCreate
- data TransferJobsCreate
- tjcXgafv :: Lens' TransferJobsCreate (Maybe Xgafv)
- tjcUploadProtocol :: Lens' TransferJobsCreate (Maybe Text)
- tjcAccessToken :: Lens' TransferJobsCreate (Maybe Text)
- tjcUploadType :: Lens' TransferJobsCreate (Maybe Text)
- tjcPayload :: Lens' TransferJobsCreate TransferJob
- tjcCallback :: Lens' TransferJobsCreate (Maybe Text)
REST Resource
type TransferJobsCreateResource = "v1" :> ("transferJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TransferJob :> Post '[JSON] TransferJob)))))))) Source #
A resource alias for storagetransfer.transferJobs.create
method which the
TransferJobsCreate
request conforms to.
Creating a Request
Creates a value of TransferJobsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransferJobsCreate Source #
Creates a transfer job that runs periodically.
See: transferJobsCreate
smart constructor.
Instances
Request Lenses
tjcUploadProtocol :: Lens' TransferJobsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tjcAccessToken :: Lens' TransferJobsCreate (Maybe Text) Source #
OAuth access token.
tjcUploadType :: Lens' TransferJobsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
tjcPayload :: Lens' TransferJobsCreate TransferJob Source #
Multipart request metadata.
tjcCallback :: Lens' TransferJobsCreate (Maybe Text) Source #
JSONP