gogol-groups-migration-0.4.0: Google Groups Migration 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.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 :> (AltMedia :> 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:

data ArchiveInsert Source #

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

See: archiveInsert smart constructor.

Instances
Eq ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Data ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Methods

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

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

toConstr :: ArchiveInsert -> Constr #

dataTypeOf :: ArchiveInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Generic ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Associated Types

type Rep ArchiveInsert :: Type -> Type #

GoogleRequest ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Associated Types

type Rs ArchiveInsert :: Type #

type Scopes ArchiveInsert :: [Symbol] #

GoogleRequest (MediaUpload ArchiveInsert) Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Associated Types

type Rs (MediaUpload ArchiveInsert) :: Type #

type Scopes (MediaUpload ArchiveInsert) :: [Symbol] #

type Rep ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

type Rep ArchiveInsert = D1 (MetaData "ArchiveInsert" "Network.Google.Resource.GroupsMigration.Archive.Insert" "gogol-groups-migration-0.4.0-G1TBYC4DRnv4R8zh3X3fRs" True) (C1 (MetaCons "ArchiveInsert'" PrefixI True) (S1 (MetaSel (Just "_aiGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

type Scopes ArchiveInsert = "https://www.googleapis.com/auth/apps.groups.migration" ': ([] :: [Symbol])
type Rs ArchiveInsert Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

type Scopes (MediaUpload ArchiveInsert) Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

type Rs (MediaUpload ArchiveInsert) Source # 
Instance details

Defined in Network.Google.Resource.GroupsMigration.Archive.Insert

Request Lenses