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

Contents

Description

Lists a file's comments.

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

Synopsis

REST Resource

type CommentsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (QueryParam "startModifiedTime" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentList))))))))) Source #

A resource alias for drive.comments.list method which the CommentsList request conforms to.

Creating a Request

commentsList Source #

Arguments

:: Text

cFileId

-> CommentsList 

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

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

data CommentsList Source #

Lists a file's comments.

See: commentsList smart constructor.

Instances
Eq CommentsList Source # 
Instance details

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

Data CommentsList Source # 
Instance details

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

Methods

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

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

toConstr :: CommentsList -> Constr #

dataTypeOf :: CommentsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsList Source # 
Instance details

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

Generic CommentsList Source # 
Instance details

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

Associated Types

type Rep CommentsList :: Type -> Type #

GoogleRequest CommentsList Source # 
Instance details

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

Associated Types

type Rs CommentsList :: Type #

type Scopes CommentsList :: [Symbol] #

type Rep CommentsList Source # 
Instance details

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

type Rep CommentsList = D1 (MetaData "CommentsList" "Network.Google.Resource.Drive.Comments.List" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "CommentsList'" PrefixI True) ((S1 (MetaSel (Just "_cStartModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)) :*: S1 (MetaSel (Just "_cIncludeDeleted") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))))
type Scopes CommentsList Source # 
Instance details

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

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

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

Request Lenses

cStartModifiedTime :: Lens' CommentsList (Maybe Text) Source #

The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).

cPageToken :: Lens' CommentsList (Maybe Text) Source #

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

cFileId :: Lens' CommentsList Text Source #

The ID of the file.

cPageSize :: Lens' CommentsList Int32 Source #

The maximum number of comments to return per page.

cIncludeDeleted :: Lens' CommentsList Bool Source #

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