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.VideoCategories.List

Contents

Description

Returns a list of categories that can be associated with YouTube videos.

See: YouTube Data API Reference for youtube.videoCategories.list.

Synopsis

REST Resource

type VideoCategoriesListResource = "youtube" :> ("v3" :> ("videoCategories" :> (QueryParam "part" Text :> (QueryParam "regionCode" Text :> (QueryParam "hl" Text :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VideoCategoryListResponse))))))) Source #

A resource alias for youtube.videoCategories.list method which the VideoCategoriesList request conforms to.

Creating a Request

videoCategoriesList Source #

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

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

data VideoCategoriesList Source #

Returns a list of categories that can be associated with YouTube videos.

See: videoCategoriesList smart constructor.

Instances
Eq VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

Data VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

Methods

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

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

toConstr :: VideoCategoriesList -> Constr #

dataTypeOf :: VideoCategoriesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

Generic VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

Associated Types

type Rep VideoCategoriesList :: Type -> Type #

GoogleRequest VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

Associated Types

type Rs VideoCategoriesList :: Type #

type Scopes VideoCategoriesList :: [Symbol] #

type Rep VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

type Rep VideoCategoriesList = D1 (MetaData "VideoCategoriesList" "Network.Google.Resource.YouTube.VideoCategories.List" "gogol-youtube-0.5.0-E1wAk7ot8IcIJSF7D3gEAs" False) (C1 (MetaCons "VideoCategoriesList'" PrefixI True) ((S1 (MetaSel (Just "_vclPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_vclRegionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_vclHl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_vclId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes VideoCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.YouTube.VideoCategories.List

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

Defined in Network.Google.Resource.YouTube.VideoCategories.List

Request Lenses

vclPart :: Lens' VideoCategoriesList Text Source #

The part parameter specifies the videoCategory resource properties that the API response will include. Set the parameter value to snippet.

vclRegionCode :: Lens' VideoCategoriesList (Maybe Text) Source #

The regionCode parameter instructs the API to return the list of video categories available in the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.

vclHl :: Lens' VideoCategoriesList Text Source #

The hl parameter specifies the language that should be used for text values in the API response.

vclId :: Lens' VideoCategoriesList (Maybe Text) Source #

The id parameter specifies a comma-separated list of video category IDs for the resources that you are retrieving.