gogol-resourcemanager-0.0.1: Google Cloud Resource Manager SDK.

Copyright(c) 2015 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 = "v1beta1" :> ("projects" :> (Capture "projectId" Text :> (QueryParam "$.xgafv" Text :> (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.

Request Lenses

pgXgafv :: Lens' ProjectsGet (Maybe Text) 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.

pgUploadType :: Lens' ProjectsGet (Maybe Text) Source

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

pgProjectId :: Lens' ProjectsGet Text Source

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