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

Contents

Description

Deletes a comment.

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

Synopsis

REST Resource

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

A resource alias for drive.comments.delete method which the CommentsDelete request conforms to.

Creating a Request

commentsDelete Source #

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

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

data CommentsDelete Source #

Deletes a comment.

See: commentsDelete smart constructor.

Instances
Eq CommentsDelete Source # 
Instance details

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

Data CommentsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: CommentsDelete -> Constr #

dataTypeOf :: CommentsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsDelete Source # 
Instance details

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

Generic CommentsDelete Source # 
Instance details

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

Associated Types

type Rep CommentsDelete :: Type -> Type #

GoogleRequest CommentsDelete Source # 
Instance details

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

Associated Types

type Rs CommentsDelete :: Type #

type Scopes CommentsDelete :: [Symbol] #

type Rep CommentsDelete Source # 
Instance details

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

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

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

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

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

type Rs CommentsDelete = ()

Request Lenses

cdFileId :: Lens' CommentsDelete Text Source #

The ID of the file.

cdCommentId :: Lens' CommentsDelete Text Source #

The ID of the comment.