gogol-youtube-0.3.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.Watermarks.Set

Contents

Description

Uploads a watermark image to YouTube and sets it for a channel.

See: YouTube Data API Reference for youtube.watermarks.set.

Synopsis

REST Resource

type WatermarksSetResource = ("youtube" :> ("v3" :> ("watermarks" :> ("set" :> (QueryParam "channelId" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InvideoBranding :> Post '[JSON] ())))))))) :<|> ("upload" :> ("youtube" :> ("v3" :> ("watermarks" :> ("set" :> (QueryParam "channelId" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" Multipart :> (MultipartRelated '[JSON] InvideoBranding :> Post '[JSON] ())))))))))) Source #

A resource alias for youtube.watermarks.set method which the WatermarksSet request conforms to.

Creating a Request

watermarksSet Source #

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

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

data WatermarksSet Source #

Uploads a watermark image to YouTube and sets it for a channel.

See: watermarksSet smart constructor.

Instances

Eq WatermarksSet Source # 
Data WatermarksSet Source # 

Methods

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

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

toConstr :: WatermarksSet -> Constr #

dataTypeOf :: WatermarksSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show WatermarksSet Source # 
Generic WatermarksSet Source # 

Associated Types

type Rep WatermarksSet :: * -> * #

GoogleRequest WatermarksSet Source # 

Associated Types

type Rs WatermarksSet :: * #

type Scopes WatermarksSet :: [Symbol] #

GoogleRequest (MediaUpload WatermarksSet) Source # 
type Rep WatermarksSet Source # 
type Rep WatermarksSet = D1 (MetaData "WatermarksSet" "Network.Google.Resource.YouTube.Watermarks.Set" "gogol-youtube-0.3.0-2CKT3iLSir83mLosJE4Zg" False) (C1 (MetaCons "WatermarksSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_wsChannelId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_wsPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InvideoBranding)) (S1 (MetaSel (Just Symbol "_wsOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes WatermarksSet Source # 
type Scopes WatermarksSet = (:) Symbol "https://www.googleapis.com/auth/youtube" ((:) Symbol "https://www.googleapis.com/auth/youtube.force-ssl" ((:) Symbol "https://www.googleapis.com/auth/youtube.upload" ((:) Symbol "https://www.googleapis.com/auth/youtubepartner" ([] Symbol))))
type Rs WatermarksSet Source # 
type Rs WatermarksSet = ()
type Scopes (MediaUpload WatermarksSet) Source # 
type Rs (MediaUpload WatermarksSet) Source # 

Request Lenses

wsChannelId :: Lens' WatermarksSet Text Source #

The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.

wsPayload :: Lens' WatermarksSet InvideoBranding Source #

Multipart request metadata.

wsOnBehalfOfContentOwner :: Lens' WatermarksSet (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.