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.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 # 
Instance details

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

Data ProjectsGet Source # 
Instance details

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

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 # 
Instance details

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

Generic ProjectsGet Source # 
Instance details

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

Associated Types

type Rep ProjectsGet :: Type -> Type #

GoogleRequest ProjectsGet Source # 
Instance details

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

Associated Types

type Rs ProjectsGet :: Type #

type Scopes ProjectsGet :: [Symbol] #

type Rep ProjectsGet Source # 
Instance details

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

type Rep ProjectsGet = D1 (MetaData "ProjectsGet" "Network.Google.Resource.Compute.Projects.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" True) (C1 (MetaCons "ProjectsGet'" PrefixI True) (S1 (MetaSel (Just "_pgProject") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes ProjectsGet Source # 
Instance details

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

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

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

Request Lenses

pgProject :: Lens' ProjectsGet Text Source #

Project ID for this request.