gogol-youtube-0.5.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.GetRating

Contents

Description

Retrieves the ratings that the authorized user gave to a list of specified videos.

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

Synopsis

REST Resource

type VideosGetRatingResource = "youtube" :> ("v3" :> ("videos" :> ("getRating" :> (QueryParam "id" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VideoGetRatingResponse)))))) Source #

A resource alias for youtube.videos.getRating method which the VideosGetRating request conforms to.

Creating a Request

videosGetRating Source #

Arguments

:: Text

vgrId

-> VideosGetRating 

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

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

data VideosGetRating Source #

Retrieves the ratings that the authorized user gave to a list of specified videos.

See: videosGetRating smart constructor.

Instances
Eq VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

Data VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

Methods

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

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

toConstr :: VideosGetRating -> Constr #

dataTypeOf :: VideosGetRating -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

Generic VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

Associated Types

type Rep VideosGetRating :: Type -> Type #

GoogleRequest VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

Associated Types

type Rs VideosGetRating :: Type #

type Scopes VideosGetRating :: [Symbol] #

type Rep VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

type Rep VideosGetRating = D1 (MetaData "VideosGetRating" "Network.Google.Resource.YouTube.Videos.GetRating" "gogol-youtube-0.5.0-E1wAk7ot8IcIJSF7D3gEAs" False) (C1 (MetaCons "VideosGetRating'" PrefixI True) (S1 (MetaSel (Just "_vgrOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vgrId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes VideosGetRating Source # 
Instance details

Defined in Network.Google.Resource.YouTube.Videos.GetRating

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

Defined in Network.Google.Resource.YouTube.Videos.GetRating

Request Lenses

vgrOnBehalfOfContentOwner :: Lens' VideosGetRating (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.

vgrId :: Lens' VideosGetRating Text Source #

The id parameter specifies a comma-separated list of the YouTube video ID(s) for the resource(s) for which you are retrieving rating data. In a video resource, the id property specifies the video's ID.