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.Videos.ReportAbuse

Contents

Description

Report abuse for a video.

See: YouTube Data API Reference for youtube.videos.reportAbuse.

Synopsis

REST Resource

type VideosReportAbuseResource = "youtube" :> ("v3" :> ("videos" :> ("reportAbuse" :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] VideoAbuseReport :> Post '[JSON] ())))))) Source #

A resource alias for youtube.videos.reportAbuse method which the VideosReportAbuse request conforms to.

Creating a Request

videosReportAbuse Source #

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

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

data VideosReportAbuse Source #

Report abuse for a video.

See: videosReportAbuse smart constructor.

Instances

Eq VideosReportAbuse Source # 
Data VideosReportAbuse Source # 

Methods

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

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

toConstr :: VideosReportAbuse -> Constr #

dataTypeOf :: VideosReportAbuse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VideosReportAbuse Source # 
Generic VideosReportAbuse Source # 
GoogleRequest VideosReportAbuse Source # 
type Rep VideosReportAbuse Source # 
type Rep VideosReportAbuse = D1 (MetaData "VideosReportAbuse" "Network.Google.Resource.YouTube.Videos.ReportAbuse" "gogol-youtube-0.2.0-1ZihBky57dEGhFo5f57ZgQ" False) (C1 (MetaCons "VideosReportAbuse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vraPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 VideoAbuseReport)) (S1 (MetaSel (Just Symbol "_vraOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes VideosReportAbuse Source # 
type Scopes VideosReportAbuse = (:) 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 VideosReportAbuse Source # 

Request Lenses

vraOnBehalfOfContentOwner :: Lens' VideosReportAbuse (Maybe Text) Source #

Note: This parameter is intended exclusively for YouTube content partners. The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.