gogol-resourceviews-0.1.0: Google Compute Engine Instance Groups 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.ResourceViews.ZoneViews.Insert

Contents

Description

Create a resource view.

See: Google Compute Engine Instance Groups API Reference for resourceviews.zoneViews.insert.

Synopsis

REST Resource

type ZoneViewsInsertResource = "resourceviews" :> ("v1beta2" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> ("resourceViews" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResourceView :> Post '[JSON] Operation)))))))) Source #

A resource alias for resourceviews.zoneViews.insert method which the ZoneViewsInsert request conforms to.

Creating a Request

zoneViewsInsert Source #

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

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

data ZoneViewsInsert Source #

Create a resource view.

See: zoneViewsInsert smart constructor.

Instances

Eq ZoneViewsInsert Source # 
Data ZoneViewsInsert Source # 

Methods

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

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

toConstr :: ZoneViewsInsert -> Constr #

dataTypeOf :: ZoneViewsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ZoneViewsInsert Source # 
Generic ZoneViewsInsert Source # 
GoogleRequest ZoneViewsInsert Source # 
type Rep ZoneViewsInsert Source # 
type Rep ZoneViewsInsert = D1 (MetaData "ZoneViewsInsert" "Network.Google.Resource.ResourceViews.ZoneViews.Insert" "gogol-resourceviews-0.1.0-7ZG3RviZ6VsAaPElCBzgs1" False) (C1 (MetaCons "ZoneViewsInsert'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_zviProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_zviZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_zviPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResourceView)))))
type Scopes ZoneViewsInsert Source # 
type Scopes ZoneViewsInsert = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/ndev.cloudman" ([] Symbol)))
type Rs ZoneViewsInsert Source # 

Request Lenses

zviProject :: Lens' ZoneViewsInsert Text Source #

The project name of the resource view.

zviZone :: Lens' ZoneViewsInsert Text Source #

The zone name of the resource view.

zviPayload :: Lens' ZoneViewsInsert ResourceView Source #

Multipart request metadata.