gogol-compute-0.2.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.Projects.Get

Contents

Description

Returns the specified Project resource.

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

Synopsis

REST Resource

type ProjectsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Project)))) Source #

A resource alias for compute.projects.get method which the ProjectsGet request conforms to.

Creating a Request

projectsGet Source #

Arguments

:: Text

pgProject

-> ProjectsGet 

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

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

data ProjectsGet Source #

Returns the specified Project resource.

See: projectsGet smart constructor.

Instances

Eq ProjectsGet Source # 
Data ProjectsGet Source # 

Methods

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

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

toConstr :: ProjectsGet -> Constr #

dataTypeOf :: ProjectsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsGet Source # 
Generic ProjectsGet Source # 

Associated Types

type Rep ProjectsGet :: * -> * #

GoogleRequest ProjectsGet Source # 

Associated Types

type Rs ProjectsGet :: * #

type Scopes ProjectsGet :: [Symbol] #

type Rep ProjectsGet Source # 
type Rep ProjectsGet = D1 (MetaData "ProjectsGet" "Network.Google.Resource.Compute.Projects.Get" "gogol-compute-0.2.0-Au6gUXsPbe4EHzC1JwxdWw" True) (C1 (MetaCons "ProjectsGet'" PrefixI True) (S1 (MetaSel (Just Symbol "_pgProject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ProjectsGet Source # 
type Scopes ProjectsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/compute.readonly" ([] Symbol)))
type Rs ProjectsGet Source # 

Request Lenses

pgProject :: Lens' ProjectsGet Text Source #

Project ID for this request.