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

Contents

Description

Gets a comment by ID.

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

Synopsis

REST Resource

type CommentsGetResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment))))))) Source #

A resource alias for drive.comments.get method which the CommentsGet request conforms to.

Creating a Request

commentsGet Source #

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

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

data CommentsGet Source #

Gets a comment by ID.

See: commentsGet smart constructor.

Instances
Eq CommentsGet Source # 
Instance details

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

Data CommentsGet Source # 
Instance details

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

Methods

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

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

toConstr :: CommentsGet -> Constr #

dataTypeOf :: CommentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsGet Source # 
Instance details

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

Generic CommentsGet Source # 
Instance details

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

Associated Types

type Rep CommentsGet :: Type -> Type #

GoogleRequest CommentsGet Source # 
Instance details

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

Associated Types

type Rs CommentsGet :: Type #

type Scopes CommentsGet :: [Symbol] #

type Rep CommentsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

cgFileId :: Lens' CommentsGet Text Source #

The ID of the file.

cgCommentId :: Lens' CommentsGet Text Source #

The ID of the comment.

cgIncludeDeleted :: Lens' CommentsGet Bool Source #

Whether to return deleted comments. Deleted comments will not include their original content.