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

Contents

Description

Expresses the caller's opinion that one or more comments should be flagged as spam.

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

Synopsis

REST Resource

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

A resource alias for youtube.comments.markAsSpam method which the CommentsMarkAsSpam request conforms to.

Creating a Request

commentsMarkAsSpam Source #

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

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

data CommentsMarkAsSpam Source #

Expresses the caller's opinion that one or more comments should be flagged as spam.

See: commentsMarkAsSpam smart constructor.

Instances
Eq CommentsMarkAsSpam Source # 
Instance details

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

Data CommentsMarkAsSpam Source # 
Instance details

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

Methods

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

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

toConstr :: CommentsMarkAsSpam -> Constr #

dataTypeOf :: CommentsMarkAsSpam -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsMarkAsSpam Source # 
Instance details

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

Generic CommentsMarkAsSpam Source # 
Instance details

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

Associated Types

type Rep CommentsMarkAsSpam :: Type -> Type #

GoogleRequest CommentsMarkAsSpam Source # 
Instance details

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

Associated Types

type Rs CommentsMarkAsSpam :: Type #

type Scopes CommentsMarkAsSpam :: [Symbol] #

type Rep CommentsMarkAsSpam Source # 
Instance details

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

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

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

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

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

Request Lenses

cmasId :: Lens' CommentsMarkAsSpam Text Source #

The id parameter specifies a comma-separated list of IDs of comments that the caller believes should be classified as spam.