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.Groups.Insert

Contents

Description

Creates a group.

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

Synopsis

REST Resource

type GroupsInsertResource = "v2" :> ("groups" :> (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] Group :> Post '[JSON] Group))))))))) Source #

A resource alias for youtubeAnalytics.groups.insert method which the GroupsInsert request conforms to.

Creating a Request

groupsInsert Source #

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

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

data GroupsInsert Source #

Creates a group.

See: groupsInsert smart constructor.

Instances
Eq GroupsInsert Source # 
Instance details

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

Data GroupsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: GroupsInsert -> Constr #

dataTypeOf :: GroupsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsInsert Source # 
Instance details

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

Generic GroupsInsert Source # 
Instance details

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

Associated Types

type Rep GroupsInsert :: Type -> Type #

GoogleRequest GroupsInsert Source # 
Instance details

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

Associated Types

type Rs GroupsInsert :: Type #

type Scopes GroupsInsert :: [Symbol] #

type Rep GroupsInsert Source # 
Instance details

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

type Rep GroupsInsert = D1 (MetaData "GroupsInsert" "Network.Google.Resource.YouTubeAnalytics.Groups.Insert" "gogol-youtube-analytics-0.4.0-IrfU7WJzyla4uJR5p2EXts" False) (C1 (MetaCons "GroupsInsert'" PrefixI True) ((S1 (MetaSel (Just "_giXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_giUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_giUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group)) :*: (S1 (MetaSel (Just "_giOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_giCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GroupsInsert Source # 
Instance details

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

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

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

Request Lenses

giUploadProtocol :: Lens' GroupsInsert (Maybe Text) Source #

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

giUploadType :: Lens' GroupsInsert (Maybe Text) Source #

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

giPayload :: Lens' GroupsInsert Group Source #

Multipart request metadata.

giOnBehalfOfContentOwner :: Lens' GroupsInsert (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.