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

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

Data CommentsDelete Source # 
Instance details

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

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

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

Generic CommentsDelete Source # 
Instance details

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

Associated Types

type Rep CommentsDelete :: Type -> Type #

GoogleRequest CommentsDelete Source # 
Instance details

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

Associated Types

type Rs CommentsDelete :: Type #

type Scopes CommentsDelete :: [Symbol] #

type Rep CommentsDelete Source # 
Instance details

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

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

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

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

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

type Rs CommentsDelete = ()

Request Lenses

cdId :: Lens' CommentsDelete Text Source #

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