gogol-groups-migration-0.0.1: Google Groups Migration SDK.

Copyright(c) 2015 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.GroupsMigration.Archive.Insert

Contents

Description

Inserts a new mail into the archive of the Google group.

See: Groups Migration API Reference for groupsmigration.archive.insert.

Synopsis

REST Resource

type ArchiveInsertResource = ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Groups)))))) :<|> ("upload" :> ("groups" :> ("v1" :> ("groups" :> (Capture "groupId" Text :> ("archive" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (ReqBody `[OctetStream]` RequestBody :> Post `[JSON]` Groups))))))))) Source

A resource alias for groupsmigration.archive.insert method which the ArchiveInsert request conforms to.

Creating a Request

archiveInsert Source

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

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

Request Lenses