| Copyright | (c) 2015 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 |
Network.Google.Resource.YouTubeReporting.Jobs.Delete
Description
Deletes a job.
See: YouTube Reporting API Reference for youtubereporting.jobs.delete.
- type JobsDeleteResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` Empty)))))))))))
- jobsDelete :: Text -> JobsDelete
- data JobsDelete
- jdXgafv :: Lens' JobsDelete (Maybe Text)
- jdJobId :: Lens' JobsDelete Text
- jdUploadProtocol :: Lens' JobsDelete (Maybe Text)
- jdPp :: Lens' JobsDelete Bool
- jdAccessToken :: Lens' JobsDelete (Maybe Text)
- jdUploadType :: Lens' JobsDelete (Maybe Text)
- jdOnBehalfOfContentOwner :: Lens' JobsDelete (Maybe Text)
- jdBearerToken :: Lens' JobsDelete (Maybe Text)
- jdCallback :: Lens' JobsDelete (Maybe Text)
REST Resource
type JobsDeleteResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` Empty))))))))))) Source
A resource alias for youtubereporting.jobs.delete method which the
JobsDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> JobsDelete |
Creates a value of JobsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
jdJobId :: Lens' JobsDelete Text Source
The ID of the job to delete.
jdUploadProtocol :: Lens' JobsDelete (Maybe Text) Source
Upload protocol for media (e.g. "raw", "multipart").
jdPp :: Lens' JobsDelete Bool Source
Pretty-print response.
jdAccessToken :: Lens' JobsDelete (Maybe Text) Source
OAuth access token.
jdUploadType :: Lens' JobsDelete (Maybe Text) Source
Legacy upload protocol for media (e.g. "media", "multipart").
jdOnBehalfOfContentOwner :: Lens' JobsDelete (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).
jdBearerToken :: Lens' JobsDelete (Maybe Text) Source
OAuth bearer token.
jdCallback :: Lens' JobsDelete (Maybe Text) Source
JSONP