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

Contents

Description

Returns the specified Region resource. Gets a list of available regions by making a list() request.

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

Synopsis

REST Resource

type RegionsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Region)))))) Source #

A resource alias for compute.regions.get method which the RegionsGet request conforms to.

Creating a Request

regionsGet Source #

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

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

data RegionsGet Source #

Returns the specified Region resource. Gets a list of available regions by making a list() request.

See: regionsGet smart constructor.

Instances
Eq RegionsGet Source # 
Instance details

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

Data RegionsGet Source # 
Instance details

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

Methods

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

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

toConstr :: RegionsGet -> Constr #

dataTypeOf :: RegionsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RegionsGet Source # 
Instance details

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

Generic RegionsGet Source # 
Instance details

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

Associated Types

type Rep RegionsGet :: Type -> Type #

GoogleRequest RegionsGet Source # 
Instance details

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

Associated Types

type Rs RegionsGet :: Type #

type Scopes RegionsGet :: [Symbol] #

type Rep RegionsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

rgProject :: Lens' RegionsGet Text Source #

Project ID for this request.

rgRegion :: Lens' RegionsGet Text Source #

Name of the region resource to return.