gogol-youtube-reporting-0.4.0: Google YouTube Reporting SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.YouTubeReporting.Jobs.Delete

Contents

Description

Deletes a job.

See: YouTube Reporting API Reference for youtubereporting.jobs.delete.

Synopsis

REST Resource

type JobsDeleteResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" 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

jobsDelete Source #

Arguments

:: Text

jdJobId

-> 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:

data JobsDelete Source #

Deletes a job.

See: jobsDelete smart constructor.

Instances
Eq JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

Data JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JobsDelete -> c JobsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JobsDelete #

toConstr :: JobsDelete -> Constr #

dataTypeOf :: JobsDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c JobsDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JobsDelete) #

gmapT :: (forall b. Data b => b -> b) -> JobsDelete -> JobsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JobsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JobsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> JobsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JobsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JobsDelete -> m JobsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JobsDelete -> m JobsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JobsDelete -> m JobsDelete #

Show JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

Generic JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

Associated Types

type Rep JobsDelete :: Type -> Type #

GoogleRequest JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

Associated Types

type Rs JobsDelete :: Type #

type Scopes JobsDelete :: [Symbol] #

type Rep JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

type Rep JobsDelete = D1 (MetaData "JobsDelete" "Network.Google.Resource.YouTubeReporting.Jobs.Delete" "gogol-youtube-reporting-0.4.0-Dr9CDcNGMDRA1BwOES1tMd" False) (C1 (MetaCons "JobsDelete'" PrefixI True) ((S1 (MetaSel (Just "_jdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_jdJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_jdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_jdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_jdOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

type Scopes JobsDelete = "https://www.googleapis.com/auth/yt-analytics-monetary.readonly" ': ("https://www.googleapis.com/auth/yt-analytics.readonly" ': ([] :: [Symbol]))
type Rs JobsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTubeReporting.Jobs.Delete

Request Lenses

jdXgafv :: Lens' JobsDelete (Maybe Xgafv) Source #

V1 error format.

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").

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).