gogol-youtube-analytics-0.4.0: 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 = "v2" :> ("groupItems" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "callback" 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 # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

Data GroupItemsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

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 # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

Generic GroupItemsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

Associated Types

type Rep GroupItemsInsert :: Type -> Type #

GoogleRequest GroupItemsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

Associated Types

type Rs GroupItemsInsert :: Type #

type Scopes GroupItemsInsert :: [Symbol] #

type Rep GroupItemsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

type Rep GroupItemsInsert = D1 (MetaData "GroupItemsInsert" "Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert" "gogol-youtube-analytics-0.4.0-IrfU7WJzyla4uJR5p2EXts" False) (C1 (MetaCons "GroupItemsInsert'" PrefixI True) ((S1 (MetaSel (Just "_giiXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_giiUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giiAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_giiUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GroupItem)) :*: (S1 (MetaSel (Just "_giiOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giiCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GroupItemsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

type Scopes GroupItemsInsert = "https://www.googleapis.com/auth/youtube" ': ("https://www.googleapis.com/auth/youtube.readonly" ': ("https://www.googleapis.com/auth/youtubepartner" ': ("https://www.googleapis.com/auth/yt-analytics-monetary.readonly" ': ("https://www.googleapis.com/auth/yt-analytics.readonly" ': ([] :: [Symbol])))))
type Rs GroupItemsInsert Source # 
Instance details

Defined in Network.Google.Resource.YouTubeAnalytics.GroupItems.Insert

Request Lenses

giiUploadProtocol :: Lens' GroupItemsInsert (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

giiUploadType :: Lens' GroupItemsInsert (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

giiPayload :: Lens' GroupItemsInsert GroupItem Source #

Multipart request metadata.

giiOnBehalfOfContentOwner :: Lens' GroupItemsInsert (Maybe Text) Source #

This parameter can only be used in a properly authorized request. **Note:** This parameter is intended exclusively for YouTube content partners that own and manage many different YouTube channels. The `onBehalfOfContentOwner` parameter indicates that the request's authorization credentials identify a YouTube user who is acting on behalf of the content owner specified in the parameter value. 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 account that the user authenticates with must be linked to the specified YouTube content owner.