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

Contents

Description

Modifies a comment.

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

Synopsis

REST Resource

type CommentsUpdateResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Put '[JSON] Comment))))) Source #

A resource alias for youtube.comments.update method which the CommentsUpdate request conforms to.

Creating a Request

commentsUpdate Source #

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

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

data CommentsUpdate Source #

Modifies a comment.

See: commentsUpdate smart constructor.

Instances
Eq CommentsUpdate Source # 
Instance details

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

Data CommentsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: CommentsUpdate -> Constr #

dataTypeOf :: CommentsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsUpdate Source # 
Instance details

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

Generic CommentsUpdate Source # 
Instance details

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

Associated Types

type Rep CommentsUpdate :: Type -> Type #

GoogleRequest CommentsUpdate Source # 
Instance details

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

Associated Types

type Rs CommentsUpdate :: Type #

type Scopes CommentsUpdate :: [Symbol] #

type Rep CommentsUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

cuPart :: Lens' CommentsUpdate Text Source #

The part parameter identifies the 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.

cuPayload :: Lens' CommentsUpdate Comment Source #

Multipart request metadata.