gogol-compute-0.4.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.Routers.Preview

Contents

Description

Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.

See: Compute Engine API Reference for compute.routers.preview.

Synopsis

REST Resource

type RoutersPreviewResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("routers" :> (Capture "router" Text :> ("preview" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Router :> Post '[JSON] RoutersPreviewResponse)))))))))) Source #

A resource alias for compute.routers.preview method which the RoutersPreview request conforms to.

Creating a Request

routersPreview Source #

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

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

data RoutersPreview Source #

Preview fields auto-generated during router create and update operations. Calling this method does NOT create or update the router.

See: routersPreview smart constructor.

Instances
Eq RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

Data RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

Methods

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

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

toConstr :: RoutersPreview -> Constr #

dataTypeOf :: RoutersPreview -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

Generic RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

Associated Types

type Rep RoutersPreview :: Type -> Type #

GoogleRequest RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

Associated Types

type Rs RoutersPreview :: Type #

type Scopes RoutersPreview :: [Symbol] #

type Rep RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

type Rep RoutersPreview = D1 (MetaData "RoutersPreview" "Network.Google.Resource.Compute.Routers.Preview" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "RoutersPreview'" PrefixI True) ((S1 (MetaSel (Just "_rppProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rppRouter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_rppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Router) :*: S1 (MetaSel (Just "_rppRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RoutersPreview Source # 
Instance details

Defined in Network.Google.Resource.Compute.Routers.Preview

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

Defined in Network.Google.Resource.Compute.Routers.Preview

Request Lenses

rppProject :: Lens' RoutersPreview Text Source #

Project ID for this request.

rppRouter :: Lens' RoutersPreview Text Source #

Name of the Router resource to query.

rppPayload :: Lens' RoutersPreview Router Source #

Multipart request metadata.

rppRegion :: Lens' RoutersPreview Text Source #

Name of the region for this request.