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

Contents

Description

Updates a reply with patch semantics.

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

Synopsis

REST Resource

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

A resource alias for drive.replies.update method which the RepliesUpdate request conforms to.

Creating a Request

repliesUpdate Source #

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

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

data RepliesUpdate Source #

Updates a reply with patch semantics.

See: repliesUpdate smart constructor.

Instances
Eq RepliesUpdate Source # 
Instance details

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

Data RepliesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: RepliesUpdate -> Constr #

dataTypeOf :: RepliesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RepliesUpdate Source # 
Instance details

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

Generic RepliesUpdate Source # 
Instance details

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

Associated Types

type Rep RepliesUpdate :: Type -> Type #

GoogleRequest RepliesUpdate Source # 
Instance details

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

Associated Types

type Rs RepliesUpdate :: Type #

type Scopes RepliesUpdate :: [Symbol] #

type Rep RepliesUpdate Source # 
Instance details

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

type Rep RepliesUpdate = D1 (MetaData "RepliesUpdate" "Network.Google.Resource.Drive.Replies.Update" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "RepliesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_ruPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Reply) :*: S1 (MetaSel (Just "_ruReplyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_ruFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ruCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RepliesUpdate Source # 
Instance details

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

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

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

Request Lenses

ruPayload :: Lens' RepliesUpdate Reply Source #

Multipart request metadata.

ruReplyId :: Lens' RepliesUpdate Text Source #

The ID of the reply.

ruFileId :: Lens' RepliesUpdate Text Source #

The ID of the file.

ruCommentId :: Lens' RepliesUpdate Text Source #

The ID of the comment.