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 a transfer job.
See: Storage Transfer API Reference for storagetransfer.transferJobs.get
.
Synopsis
- type TransferJobsGetResource = "v1" :> (Capture "jobName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TransferJob))))))))
- transferJobsGet :: Text -> TransferJobsGet
- data TransferJobsGet
- tjgXgafv :: Lens' TransferJobsGet (Maybe Xgafv)
- tjgUploadProtocol :: Lens' TransferJobsGet (Maybe Text)
- tjgAccessToken :: Lens' TransferJobsGet (Maybe Text)
- tjgJobName :: Lens' TransferJobsGet Text
- tjgUploadType :: Lens' TransferJobsGet (Maybe Text)
- tjgProjectId :: Lens' TransferJobsGet (Maybe Text)
- tjgCallback :: Lens' TransferJobsGet (Maybe Text)
REST Resource
type TransferJobsGetResource = "v1" :> (Capture "jobName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "projectId" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] TransferJob)))))))) Source #
A resource alias for storagetransfer.transferJobs.get
method which the
TransferJobsGet
request conforms to.
Creating a Request
Creates a value of TransferJobsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransferJobsGet Source #
Gets a transfer job.
See: transferJobsGet
smart constructor.
Instances
Request Lenses
tjgUploadProtocol :: Lens' TransferJobsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tjgAccessToken :: Lens' TransferJobsGet (Maybe Text) Source #
OAuth access token.
tjgJobName :: Lens' TransferJobsGet Text Source #
The job to get. Required.
tjgUploadType :: Lens' TransferJobsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
tjgProjectId :: Lens' TransferJobsGet (Maybe Text) Source #
The ID of the Google Cloud Platform Console project that owns the job. Required.
tjgCallback :: Lens' TransferJobsGet (Maybe Text) Source #
JSONP