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.Delete

Contents

Description

Deletes a group.

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

Synopsis

REST Resource

type GroupsDeleteResource = "v2" :> ("groups" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "id" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] EmptyResponse))))))))) Source #

A resource alias for youtubeAnalytics.groups.delete method which the GroupsDelete request conforms to.

Creating a Request

groupsDelete :: GroupsDelete Source #

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

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

data GroupsDelete Source #

Deletes a group.

See: groupsDelete smart constructor.

Instances
Eq GroupsDelete Source # 
Instance details

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

Data GroupsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: GroupsDelete -> Constr #

dataTypeOf :: GroupsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GroupsDelete Source # 
Instance details

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

Generic GroupsDelete Source # 
Instance details

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

Associated Types

type Rep GroupsDelete :: Type -> Type #

GoogleRequest GroupsDelete Source # 
Instance details

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

Associated Types

type Rs GroupsDelete :: Type #

type Scopes GroupsDelete :: [Symbol] #

type Rep GroupsDelete Source # 
Instance details

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

type Rep GroupsDelete = D1 (MetaData "GroupsDelete" "Network.Google.Resource.YouTubeAnalytics.Groups.Delete" "gogol-youtube-analytics-0.4.0-IrfU7WJzyla4uJR5p2EXts" False) (C1 (MetaCons "GroupsDelete'" PrefixI True) ((S1 (MetaSel (Just "_gdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_gdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gdOnBehalfOfContentOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes GroupsDelete Source # 
Instance details

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

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

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

Request Lenses

gdUploadProtocol :: Lens' GroupsDelete (Maybe Text) Source #

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

gdUploadType :: Lens' GroupsDelete (Maybe Text) Source #

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

gdOnBehalfOfContentOwner :: Lens' GroupsDelete (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.

gdId :: Lens' GroupsDelete (Maybe Text) Source #

The `id` parameter specifies the YouTube group ID of the group that is being deleted.