gogol-youtube-0.2.0: Google YouTube Data 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.YouTube.Subscriptions.Delete

Contents

Description

Deletes a subscription.

See: YouTube Data API Reference for youtube.subscriptions.delete.

Synopsis

REST Resource

type SubscriptionsDeleteResource = "youtube" :> ("v3" :> ("subscriptions" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #

A resource alias for youtube.subscriptions.delete method which the SubscriptionsDelete request conforms to.

Creating a Request

subscriptionsDelete Source #

Creates a value of SubscriptionsDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data SubscriptionsDelete Source #

Deletes a subscription.

See: subscriptionsDelete smart constructor.

Instances

Eq SubscriptionsDelete Source # 
Data SubscriptionsDelete Source # 

Methods

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

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

toConstr :: SubscriptionsDelete -> Constr #

dataTypeOf :: SubscriptionsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubscriptionsDelete Source # 
Generic SubscriptionsDelete Source # 
GoogleRequest SubscriptionsDelete Source # 
type Rep SubscriptionsDelete Source # 
type Rep SubscriptionsDelete = D1 (MetaData "SubscriptionsDelete" "Network.Google.Resource.YouTube.Subscriptions.Delete" "gogol-youtube-0.2.0-1ZihBky57dEGhFo5f57ZgQ" True) (C1 (MetaCons "SubscriptionsDelete'" PrefixI True) (S1 (MetaSel (Just Symbol "_sdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes SubscriptionsDelete Source # 
type Scopes SubscriptionsDelete = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ((:) Symbol "https://www.googleapis.com/auth/youtubepartner" ([] Symbol)))
type Rs SubscriptionsDelete Source # 

Request Lenses

sdId :: Lens' SubscriptionsDelete Text Source #

The id parameter specifies the YouTube subscription ID for the resource that is being deleted. In a subscription resource, the id property specifies the YouTube subscription ID.