gogol-resourcemanager-0.3.0: Google Cloud Resource Manager 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.CloudResourceManager.Projects.Get

Contents

Description

Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.

See: Google Cloud Resource Manager API Reference for cloudresourcemanager.projects.get.

Synopsis

REST Resource

type ProjectsGetResource = "v1" :> ("projects" :> (Capture "projectId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Project)))))))))) Source #

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

Creating a Request

projectsGet Source #

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 #

Retrieves the Project identified by the specified `project_id` (for example, `my-project-123`). The caller must have read permissions for this Project.

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 Scopes ProjectsGet Source # 
type Scopes ProjectsGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ([] Symbol))
type Rs ProjectsGet Source # 

Request Lenses

pgXgafv :: Lens' ProjectsGet (Maybe Xgafv) Source #

V1 error format.

pgUploadProtocol :: Lens' ProjectsGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pgPp :: Lens' ProjectsGet Bool Source #

Pretty-print response.

pgAccessToken :: Lens' ProjectsGet (Maybe Text) Source #

OAuth access token.

pgUploadType :: Lens' ProjectsGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pgBearerToken :: Lens' ProjectsGet (Maybe Text) Source #

OAuth bearer token.

pgProjectId :: Lens' ProjectsGet Text Source #

The Project ID (for example, `my-project-123`). Required.