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

Contents

Description

Returns channelSection resources that match the API request criteria.

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

Synopsis

REST Resource

type ChannelSectionsListResource = "youtube" :> ("v3" :> ("channelSections" :> (QueryParam "part" Text :> (QueryParam "mine" Bool :> (QueryParam "channelId" Text :> (QueryParam "hl" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ChannelSectionListResponse))))))))) Source #

A resource alias for youtube.channelSections.list method which the ChannelSectionsList request conforms to.

Creating a Request

channelSectionsList Source #

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

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

data ChannelSectionsList Source #

Returns channelSection resources that match the API request criteria.

See: channelSectionsList smart constructor.

Instances
Eq ChannelSectionsList Source # 
Instance details

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

Data ChannelSectionsList Source # 
Instance details

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

Methods

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

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

toConstr :: ChannelSectionsList -> Constr #

dataTypeOf :: ChannelSectionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChannelSectionsList Source # 
Instance details

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

Generic ChannelSectionsList Source # 
Instance details

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

Associated Types

type Rep ChannelSectionsList :: Type -> Type #

GoogleRequest ChannelSectionsList Source # 
Instance details

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

Associated Types

type Rs ChannelSectionsList :: Type #

type Scopes ChannelSectionsList :: [Symbol] #

type Rep ChannelSectionsList Source # 
Instance details

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

type Rep ChannelSectionsList = D1 (MetaData "ChannelSectionsList" "Network.Google.Resource.YouTube.ChannelSections.List" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "ChannelSectionsList'" PrefixI True) ((S1 (MetaSel (Just "_cslPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cslMine") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_cslChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cslHl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cslOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cslId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ChannelSectionsList Source # 
Instance details

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

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

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

Request Lenses

cslPart :: Lens' ChannelSectionsList Text Source #

The part parameter specifies a comma-separated list of one or more channelSection resource properties that the API response will include. The part names that you can include in the parameter value are id, snippet, and contentDetails. If the parameter identifies a property that contains child properties, the child properties will be included in the response. For example, in a channelSection resource, the snippet property contains other properties, such as a display title for the channelSection. If you set part=snippet, the API response will also contain all of those nested properties.

cslMine :: Lens' ChannelSectionsList (Maybe Bool) Source #

Set this parameter's value to true to retrieve a feed of the authenticated user's channelSections.

cslChannelId :: Lens' ChannelSectionsList (Maybe Text) Source #

The channelId parameter specifies a YouTube channel ID. The API will only return that channel's channelSections.

cslHl :: Lens' ChannelSectionsList (Maybe Text) Source #

The hl parameter indicates that the snippet.localized property values in the returned channelSection resources should be in the specified language if localized values for that language are available. For example, if the API request specifies hl=de, the snippet.localized properties in the API response will contain German titles if German titles are available. Channel owners can provide localized channel section titles using either the channelSections.insert or channelSections.update method.

cslOnBehalfOfContentOwner :: Lens' ChannelSectionsList (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.

cslId :: Lens' ChannelSectionsList (Maybe Text) Source #

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