gogol-youtube-analytics-0.1.1: Google YouTube Analytics 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.YouTubeAnalytics.GroupItems.Insert

Contents

Description

Creates a group item.

See: YouTube Analytics API Reference for youtubeAnalytics.groupItems.insert.

Synopsis

REST Resource

type GroupItemsInsertResource = "youtube" :> ("analytics" :> ("v1" :> ("groupItems" :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GroupItem :> Post '[JSON] GroupItem)))))) Source #

A resource alias for youtubeAnalytics.groupItems.insert method which the GroupItemsInsert request conforms to.

Creating a Request

groupItemsInsert Source #

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

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

data GroupItemsInsert Source #

Creates a group item.

See: groupItemsInsert smart constructor.

Instances

Eq GroupItemsInsert Source # 
Data GroupItemsInsert Source # 

Methods

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

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

toConstr :: GroupItemsInsert -> Constr #

dataTypeOf :: GroupItemsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupItemsInsert Source # 
Generic GroupItemsInsert Source # 
GoogleRequest GroupItemsInsert Source # 
type Rep GroupItemsInsert Source # 
type Rep GroupItemsInsert = D1 (MetaData "GroupItemsInsert" "Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert" "gogol-youtube-analytics-0.1.1-3OyaaeZYgDNDpxCyqFBBzz" False) (C1 (MetaCons "GroupItemsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_giiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GroupItem)) (S1 (MetaSel (Just Symbol "_giiOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes GroupItemsInsert Source # 
type Scopes GroupItemsInsert = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtubepartner" ([] Symbol))
type Rs GroupItemsInsert Source # 

Request Lenses

giiPayload :: Lens' GroupItemsInsert GroupItem Source #

Multipart request metadata.

giiOnBehalfOfContentOwner :: Lens' GroupItemsInsert (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.