gogol-drive-0.4.0: Google Drive 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.Drive.Comments.Update

Contents

Description

Updates a comment with patch semantics.

See: Drive API Reference for drive.comments.update.

Synopsis

REST Resource

type CommentsUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Patch '[JSON] Comment))))))) Source #

A resource alias for drive.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 #

Updates a comment with patch semantics.

See: commentsUpdate smart constructor.

Instances
Eq CommentsUpdate Source # 
Instance details

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

Data CommentsUpdate Source # 
Instance details

Defined in Network.Google.Resource.Drive.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.Drive.Comments.Update

Generic CommentsUpdate Source # 
Instance details

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

Associated Types

type Rep CommentsUpdate :: Type -> Type #

GoogleRequest CommentsUpdate Source # 
Instance details

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

Associated Types

type Rs CommentsUpdate :: Type #

type Scopes CommentsUpdate :: [Symbol] #

type Rep CommentsUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

cuPayload :: Lens' CommentsUpdate Comment Source #

Multipart request metadata.

cuFileId :: Lens' CommentsUpdate Text Source #

The ID of the file.

cuCommentId :: Lens' CommentsUpdate Text Source #

The ID of the comment.