gogol-maps-engine-0.0.1: Google Maps Engine 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.MapsEngine.Projects.Icons.Create

Contents

Description

Create an icon.

See: Google Maps Engine API Reference for mapsengine.projects.icons.create.

Synopsis

REST Resource

type ProjectsIconsCreateResource = ("mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Icon :> Post `[JSON]` Icon))))))) :<|> ("upload" :> ("mapsengine" :> ("v1" :> ("projects" :> (Capture "projectId" Text :> ("icons" :> (QueryParam "alt" AltJSON :> (QueryParam "uploadType" AltMedia :> (MultipartRelated `[JSON]` Icon RequestBody :> Post `[JSON]` Icon))))))))) Source

A resource alias for mapsengine.projects.icons.create method which the ProjectsIconsCreate request conforms to.

Creating a Request

projectsIconsCreate Source

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

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

Request Lenses

picPayload :: Lens' ProjectsIconsCreate Icon Source

Multipart request metadata.