gogol-youtube-analytics-0.3.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.Update

Contents

Description

Modifies a group. For example, you could change a group's title.

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

Synopsis

REST Resource

type GroupsUpdateResource = "youtube" :> ("analytics" :> ("v1" :> ("groups" :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Group :> Put '[JSON] Group)))))) #

A resource alias for youtubeAnalytics.groups.update method which the GroupsUpdate request conforms to.

Creating a Request

groupsUpdate #

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

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

data GroupsUpdate #

Modifies a group. For example, you could change a group's title.

See: groupsUpdate smart constructor.

Instances

Eq GroupsUpdate # 
Data GroupsUpdate # 

Methods

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

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

toConstr :: GroupsUpdate -> Constr #

dataTypeOf :: GroupsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsUpdate # 
Generic GroupsUpdate # 

Associated Types

type Rep GroupsUpdate :: * -> * #

GoogleRequest GroupsUpdate # 

Associated Types

type Rs GroupsUpdate :: * #

type Scopes GroupsUpdate :: [Symbol] #

type Rep GroupsUpdate # 
type Rep GroupsUpdate = D1 (MetaData "GroupsUpdate" "Network.Google.Resource.YouTubeAnalytics.Groups.Update" "gogol-youtube-analytics-0.3.0-51jugVhOdfg9qUen5BwUZl" False) (C1 (MetaCons "GroupsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_guPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Group)) (S1 (MetaSel (Just Symbol "_guOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes GroupsUpdate # 
type Scopes GroupsUpdate = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtubepartner" ([] Symbol))
type Rs GroupsUpdate # 

Request Lenses

guPayload :: Lens' GroupsUpdate Group #

Multipart request metadata.

guOnBehalfOfContentOwner :: Lens' GroupsUpdate (Maybe Text) #

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.