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

Contents

Description

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

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

Synopsis

REST Resource

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

A resource alias for youtube.guideCategories.list method which the GuideCategoriesList request conforms to.

Creating a Request

guideCategoriesList Source #

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

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

data GuideCategoriesList Source #

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

See: guideCategoriesList smart constructor.

Instances
Eq GuideCategoriesList Source # 
Instance details

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

Data GuideCategoriesList Source # 
Instance details

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

Methods

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

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

toConstr :: GuideCategoriesList -> Constr #

dataTypeOf :: GuideCategoriesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GuideCategoriesList Source # 
Instance details

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

Generic GuideCategoriesList Source # 
Instance details

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

Associated Types

type Rep GuideCategoriesList :: Type -> Type #

GoogleRequest GuideCategoriesList Source # 
Instance details

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

Associated Types

type Rs GuideCategoriesList :: Type #

type Scopes GuideCategoriesList :: [Symbol] #

type Rep GuideCategoriesList Source # 
Instance details

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

type Rep GuideCategoriesList = D1 (MetaData "GuideCategoriesList" "Network.Google.Resource.YouTube.GuideCategories.List" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "GuideCategoriesList'" PrefixI True) ((S1 (MetaSel (Just "_gclPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gclRegionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gclHl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gclId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes GuideCategoriesList Source # 
Instance details

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

type Scopes GuideCategoriesList = "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 GuideCategoriesList Source # 
Instance details

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

Request Lenses

gclPart :: Lens' GuideCategoriesList Text Source #

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

gclRegionCode :: Lens' GuideCategoriesList (Maybe Text) Source #

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

gclHl :: Lens' GuideCategoriesList Text Source #

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

gclId :: Lens' GuideCategoriesList (Maybe Text) Source #

The id parameter specifies a comma-separated list of the YouTube channel category ID(s) for the resource(s) that are being retrieved. In a guideCategory resource, the id property specifies the YouTube channel category ID.