gogol-maps-engine-0.3.0: Google Maps Engine 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.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" Multipart :> (MultipartRelated '[JSON] Icon :> 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:

data ProjectsIconsCreate Source #

Create an icon.

See: projectsIconsCreate smart constructor.

Instances

Eq ProjectsIconsCreate Source # 
Data ProjectsIconsCreate Source # 

Methods

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

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

toConstr :: ProjectsIconsCreate -> Constr #

dataTypeOf :: ProjectsIconsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIconsCreate Source # 
Generic ProjectsIconsCreate Source # 
GoogleRequest ProjectsIconsCreate Source # 
GoogleRequest (MediaUpload ProjectsIconsCreate) Source # 
type Rep ProjectsIconsCreate Source # 
type Rep ProjectsIconsCreate = D1 (MetaData "ProjectsIconsCreate" "Network.Google.Resource.MapsEngine.Projects.Icons.Create" "gogol-maps-engine-0.3.0-8urOfAmB6laBICTI61kKED" False) (C1 (MetaCons "ProjectsIconsCreate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_picPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Icon)) (S1 (MetaSel (Just Symbol "_picProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ProjectsIconsCreate Source # 
type Scopes ProjectsIconsCreate = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ([] Symbol)
type Rs ProjectsIconsCreate Source # 
type Scopes (MediaUpload ProjectsIconsCreate) Source # 
type Rs (MediaUpload ProjectsIconsCreate) Source # 

Request Lenses

picPayload :: Lens' ProjectsIconsCreate Icon Source #

Multipart request metadata.