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 |
Lists transfer jobs.
See: Storage Transfer API Reference for storagetransfer.transferJobs.list
.
Synopsis
- type TransferJobsListResource = "v1" :> ("transferJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTransferJobsResponse))))))))))
- transferJobsList :: TransferJobsList
- data TransferJobsList
- tjlXgafv :: Lens' TransferJobsList (Maybe Xgafv)
- tjlUploadProtocol :: Lens' TransferJobsList (Maybe Text)
- tjlAccessToken :: Lens' TransferJobsList (Maybe Text)
- tjlUploadType :: Lens' TransferJobsList (Maybe Text)
- tjlFilter :: Lens' TransferJobsList (Maybe Text)
- tjlPageToken :: Lens' TransferJobsList (Maybe Text)
- tjlPageSize :: Lens' TransferJobsList (Maybe Int32)
- tjlCallback :: Lens' TransferJobsList (Maybe Text)
REST Resource
type TransferJobsListResource = "v1" :> ("transferJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListTransferJobsResponse)))))))))) Source #
A resource alias for storagetransfer.transferJobs.list
method which the
TransferJobsList
request conforms to.
Creating a Request
transferJobsList :: TransferJobsList Source #
Creates a value of TransferJobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransferJobsList Source #
Lists transfer jobs.
See: transferJobsList
smart constructor.
Instances
Request Lenses
tjlUploadProtocol :: Lens' TransferJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tjlAccessToken :: Lens' TransferJobsList (Maybe Text) Source #
OAuth access token.
tjlUploadType :: Lens' TransferJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
tjlFilter :: Lens' TransferJobsList (Maybe Text) Source #
A list of query parameters specified as JSON text in the form of {"project_id":"my_project_id", "job_names":["jobid1","jobid2",...], "job_statuses":["status1","status2",...]}. Since `job_names` and `job_statuses` support multiple values, their values must be specified with array notation. `project_id` is required. `job_names` and `job_statuses` are optional. The valid values for `job_statuses` are case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
tjlPageToken :: Lens' TransferJobsList (Maybe Text) Source #
The list page token.
tjlPageSize :: Lens' TransferJobsList (Maybe Int32) Source #
The list page size. The max allowed value is 256.
tjlCallback :: Lens' TransferJobsList (Maybe Text) Source #
JSONP