gogol-youtube-0.4.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 # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

Data SubscriptionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

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 # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

Generic SubscriptionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

Associated Types

type Rep SubscriptionsDelete :: Type -> Type #

GoogleRequest SubscriptionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

Associated Types

type Rs SubscriptionsDelete :: Type #

type Scopes SubscriptionsDelete :: [Symbol] #

type Rep SubscriptionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

type Rep SubscriptionsDelete = D1 (MetaData "SubscriptionsDelete" "Network.Google.Resource.YouTube.Subscriptions.Delete" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" True) (C1 (MetaCons "SubscriptionsDelete'" PrefixI True) (S1 (MetaSel (Just "_sdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes SubscriptionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

type Scopes SubscriptionsDelete = "https://www.googleapis.com/auth/youtube" ': ("https://www.googleapis.com/auth/youtube.force-ssl" ': ("https://www.googleapis.com/auth/youtubepartner" ': ([] :: [Symbol])))
type Rs SubscriptionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Subscriptions.Delete

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.