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.CommentThreads.Update

Contents

Description

Modifies the top-level comment in a comment thread.

See: YouTube Data API Reference for youtube.commentThreads.update.

Synopsis

REST Resource

type CommentThreadsUpdateResource = "youtube" :> ("v3" :> ("commentThreads" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CommentThread :> Put '[JSON] CommentThread))))) Source #

A resource alias for youtube.commentThreads.update method which the CommentThreadsUpdate request conforms to.

Creating a Request

commentThreadsUpdate Source #

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

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

data CommentThreadsUpdate Source #

Modifies the top-level comment in a comment thread.

See: commentThreadsUpdate smart constructor.

Instances
Eq CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

Data CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

Methods

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

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

toConstr :: CommentThreadsUpdate -> Constr #

dataTypeOf :: CommentThreadsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

Generic CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

Associated Types

type Rep CommentThreadsUpdate :: Type -> Type #

GoogleRequest CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

Associated Types

type Rs CommentThreadsUpdate :: Type #

type Scopes CommentThreadsUpdate :: [Symbol] #

type Rep CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

type Rep CommentThreadsUpdate = D1 (MetaData "CommentThreadsUpdate" "Network.Google.Resource.YouTube.CommentThreads.Update" "gogol-youtube-0.4.0-ICfv3TXlvc9ZGnb0rCY6m" False) (C1 (MetaCons "CommentThreadsUpdate'" PrefixI True) (S1 (MetaSel (Just "_ctuPart") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ctuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CommentThread)))
type Scopes CommentThreadsUpdate Source # 
Instance details

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

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

Defined in Network.Google.Resource.YouTube.CommentThreads.Update

Request Lenses

ctuPart :: Lens' CommentThreadsUpdate Text Source #

The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update.