gogol-youtube-0.1.1: 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.Comments.Delete

Contents

Description

Deletes a comment.

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

Synopsis

REST Resource

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

A resource alias for youtube.comments.delete method which the CommentsDelete request conforms to.

Creating a Request

commentsDelete Source #

Arguments

:: Text

cdId

-> CommentsDelete 

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

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

data CommentsDelete Source #

Deletes a comment.

See: commentsDelete smart constructor.

Instances

Eq CommentsDelete Source # 
Data CommentsDelete Source # 

Methods

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

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

toConstr :: CommentsDelete -> Constr #

dataTypeOf :: CommentsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsDelete Source # 
Generic CommentsDelete Source # 

Associated Types

type Rep CommentsDelete :: * -> * #

GoogleRequest CommentsDelete Source # 
type Rep CommentsDelete Source # 
type Rep CommentsDelete = D1 (MetaData "CommentsDelete" "Network.Google.Resource.YouTube.Comments.Delete" "gogol-youtube-0.1.1-BKvHJYv3Lac2eVp6D9Sfdq" True) (C1 (MetaCons "CommentsDelete'" PrefixI True) (S1 (MetaSel (Just Symbol "_cdId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes CommentsDelete Source # 
type Scopes CommentsDelete = (:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ([] Symbol)
type Rs CommentsDelete Source # 
type Rs CommentsDelete = ()

Request Lenses

cdId :: Lens' CommentsDelete Text Source #

The id parameter specifies the comment ID for the resource that is being deleted.