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 jobs.
See: YouTube Reporting API Reference for youtubereporting.jobs.list
.
Synopsis
- type JobsListResource = "v1" :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "includeSystemManaged" Bool :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse)))))))))))
- jobsList :: JobsList
- data JobsList
- jlXgafv :: Lens' JobsList (Maybe Xgafv)
- jlUploadProtocol :: Lens' JobsList (Maybe Text)
- jlAccessToken :: Lens' JobsList (Maybe Text)
- jlUploadType :: Lens' JobsList (Maybe Text)
- jlIncludeSystemManaged :: Lens' JobsList (Maybe Bool)
- jlOnBehalfOfContentOwner :: Lens' JobsList (Maybe Text)
- jlPageToken :: Lens' JobsList (Maybe Text)
- jlPageSize :: Lens' JobsList (Maybe Int32)
- jlCallback :: Lens' JobsList (Maybe Text)
REST Resource
type JobsListResource = "v1" :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "includeSystemManaged" Bool :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse))))))))))) Source #
A resource alias for youtubereporting.jobs.list
method which the
JobsList
request conforms to.
Creating a Request
Creates a value of JobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Lists jobs.
See: jobsList
smart constructor.
Instances
Request Lenses
jlUploadProtocol :: Lens' JobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
jlUploadType :: Lens' JobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
jlIncludeSystemManaged :: Lens' JobsList (Maybe Bool) Source #
If set to true, also system-managed jobs will be returned; otherwise only user-created jobs will be returned. System-managed jobs can neither be modified nor deleted.
jlOnBehalfOfContentOwner :: Lens' JobsList (Maybe Text) Source #
The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
jlPageToken :: Lens' JobsList (Maybe Text) Source #
A token identifying a page of results the server should return. Typically, this is the value of ListReportTypesResponse.next_page_token returned in response to the previous call to the `ListJobs` method.