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

Contents

Description

Returns the specified network. Gets a list of available networks by making a list() request.

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

Synopsis

REST Resource

type NetworksGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("networks" :> (Capture "network" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Network))))))) Source #

A resource alias for compute.networks.get method which the NetworksGet request conforms to.

Creating a Request

networksGet Source #

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

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

data NetworksGet Source #

Returns the specified network. Gets a list of available networks by making a list() request.

See: networksGet smart constructor.

Instances
Eq NetworksGet Source # 
Instance details

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

Data NetworksGet Source # 
Instance details

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

Methods

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

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

toConstr :: NetworksGet -> Constr #

dataTypeOf :: NetworksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NetworksGet Source # 
Instance details

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

Generic NetworksGet Source # 
Instance details

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

Associated Types

type Rep NetworksGet :: Type -> Type #

GoogleRequest NetworksGet Source # 
Instance details

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

Associated Types

type Rs NetworksGet :: Type #

type Scopes NetworksGet :: [Symbol] #

type Rep NetworksGet Source # 
Instance details

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

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

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

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

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

Request Lenses

ngProject :: Lens' NetworksGet Text Source #

Project ID for this request.

ngNetwork :: Lens' NetworksGet Text Source #

Name of the network to return.