gogol-compute-0.2.0: Google Compute 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.Compute.URLMaps.Insert

Contents

Description

Creates a UrlMap resource in the specified project using the data included in the request.

See: Compute Engine API Reference for compute.urlMaps.insert.

Synopsis

REST Resource

type URLMapsInsertResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("urlMaps" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] URLMap :> Post '[JSON] Operation))))))) Source #

A resource alias for compute.urlMaps.insert method which the URLMapsInsert request conforms to.

Creating a Request

urlMapsInsert Source #

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

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

data URLMapsInsert Source #

Creates a UrlMap resource in the specified project using the data included in the request.

See: urlMapsInsert smart constructor.

Instances

Eq URLMapsInsert Source # 
Data URLMapsInsert Source # 

Methods

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

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

toConstr :: URLMapsInsert -> Constr #

dataTypeOf :: URLMapsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show URLMapsInsert Source # 
Generic URLMapsInsert Source # 

Associated Types

type Rep URLMapsInsert :: * -> * #

GoogleRequest URLMapsInsert Source # 

Associated Types

type Rs URLMapsInsert :: * #

type Scopes URLMapsInsert :: [Symbol] #

type Rep URLMapsInsert Source # 
type Rep URLMapsInsert = D1 (MetaData "URLMapsInsert" "Network.Google.Resource.Compute.URLMaps.Insert" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" False) (C1 (MetaCons "URLMapsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_umiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_umiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URLMap))))
type Scopes URLMapsInsert Source # 
type Scopes URLMapsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs URLMapsInsert Source # 

Request Lenses

umiProject :: Lens' URLMapsInsert Text Source #

Project ID for this request.

umiPayload :: Lens' URLMapsInsert URLMap Source #

Multipart request metadata.