gogol-compute-0.5.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 "requestId" Text :> (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 # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

Data URLMapsInsert Source # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

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 # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

Generic URLMapsInsert Source # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

Associated Types

type Rep URLMapsInsert :: Type -> Type #

GoogleRequest URLMapsInsert Source # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

Associated Types

type Rs URLMapsInsert :: Type #

type Scopes URLMapsInsert :: [Symbol] #

type Rep URLMapsInsert Source # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

type Rep URLMapsInsert = D1 (MetaData "URLMapsInsert" "Network.Google.Resource.Compute.URLMaps.Insert" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "URLMapsInsert'" PrefixI True) (S1 (MetaSel (Just "_umiRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_umiProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_umiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URLMap))))
type Scopes URLMapsInsert Source # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

type Scopes URLMapsInsert = "https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/compute" ': ([] :: [Symbol]))
type Rs URLMapsInsert Source # 
Instance details

Defined in Network.Google.Resource.Compute.URLMaps.Insert

Request Lenses

umiRequestId :: Lens' URLMapsInsert (Maybe Text) Source #

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

umiProject :: Lens' URLMapsInsert Text Source #

Project ID for this request.

umiPayload :: Lens' URLMapsInsert URLMap Source #

Multipart request metadata.