gogol-youtube-0.4.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.ChannelSections.Delete

Contents

Description

Deletes a channelSection.

See: YouTube Data API Reference for youtube.channelSections.delete.

Synopsis

REST Resource

type ChannelSectionsDeleteResource = "youtube" :> ("v3" :> ("channelSections" :> (QueryParam "id" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))) Source #

A resource alias for youtube.channelSections.delete method which the ChannelSectionsDelete request conforms to.

Creating a Request

channelSectionsDelete Source #

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

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

data ChannelSectionsDelete Source #

Deletes a channelSection.

See: channelSectionsDelete smart constructor.

Instances
Eq ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

Data ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

Methods

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

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

toConstr :: ChannelSectionsDelete -> Constr #

dataTypeOf :: ChannelSectionsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

Generic ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

Associated Types

type Rep ChannelSectionsDelete :: Type -> Type #

GoogleRequest ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

type Rep ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

type Rep ChannelSectionsDelete = D1 (MetaData "ChannelSectionsDelete" "Network.Google.Resource.YouTube.ChannelSections.Delete" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "ChannelSectionsDelete'" PrefixI True) (S1 (MetaSel (Just "_csdOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

type Scopes ChannelSectionsDelete = "https://www.googleapis.com/auth/youtube" ': ("https://www.googleapis.com/auth/youtube.force-ssl" ': ("https://www.googleapis.com/auth/youtubepartner" ': ([] :: [Symbol])))
type Rs ChannelSectionsDelete Source # 
Instance details

Defined in Network.Google.Resource.YouTube.ChannelSections.Delete

Request Lenses

csdOnBehalfOfContentOwner :: Lens' ChannelSectionsDelete (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.

csdId :: Lens' ChannelSectionsDelete Text Source #

The id parameter specifies the YouTube channelSection ID for the resource that is being deleted. In a channelSection resource, the id property specifies the YouTube channelSection ID.