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.Zones.Get

Contents

Description

Returns the specified Zone resource. Gets a list of available zones by making a list() request.

See: Compute Engine API Reference for compute.zones.get.

Synopsis

REST Resource

type ZonesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("zones" :> (Capture "zone" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Zone)))))) Source #

A resource alias for compute.zones.get method which the ZonesGet request conforms to.

Creating a Request

zonesGet Source #

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

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

data ZonesGet Source #

Returns the specified Zone resource. Gets a list of available zones by making a list() request.

See: zonesGet smart constructor.

Instances
Eq ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

Data ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

Methods

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

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

toConstr :: ZonesGet -> Constr #

dataTypeOf :: ZonesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

Generic ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

Associated Types

type Rep ZonesGet :: Type -> Type #

Methods

from :: ZonesGet -> Rep ZonesGet x #

to :: Rep ZonesGet x -> ZonesGet #

GoogleRequest ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

Associated Types

type Rs ZonesGet :: Type #

type Scopes ZonesGet :: [Symbol] #

type Rep ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

type Rep ZonesGet = D1 (MetaData "ZonesGet" "Network.Google.Resource.Compute.Zones.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "ZonesGet'" PrefixI True) (S1 (MetaSel (Just "_zgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_zgZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ZonesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Zones.Get

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

Defined in Network.Google.Resource.Compute.Zones.Get

Request Lenses

zgProject :: Lens' ZonesGet Text Source #

Project ID for this request.

zgZone :: Lens' ZonesGet Text Source #

Name of the zone resource to return.