Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.CloudResourceManager.Projects.Get
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
.
- 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))))))))))
- projectsGet :: Text -> ProjectsGet
- data ProjectsGet
- pgXgafv :: Lens' ProjectsGet (Maybe Xgafv)
- pgUploadProtocol :: Lens' ProjectsGet (Maybe Text)
- pgPp :: Lens' ProjectsGet Bool
- pgAccessToken :: Lens' ProjectsGet (Maybe Text)
- pgUploadType :: Lens' ProjectsGet (Maybe Text)
- pgBearerToken :: Lens' ProjectsGet (Maybe Text)
- pgProjectId :: Lens' ProjectsGet Text
- pgCallback :: Lens' ProjectsGet (Maybe Text)
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)))))))))) #
A resource alias for cloudresourcemanager.projects.get
method which the
ProjectsGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> 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 #
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 # | |
Data ProjectsGet # | |
Show ProjectsGet # | |
Generic ProjectsGet # | |
GoogleRequest ProjectsGet # | |
type Rep ProjectsGet # | |
type Scopes ProjectsGet # | |
type Rs ProjectsGet # | |
Request Lenses
pgUploadProtocol :: Lens' ProjectsGet (Maybe Text) #
Upload protocol for media (e.g. "raw", "multipart").
pgPp :: Lens' ProjectsGet Bool #
Pretty-print response.
pgAccessToken :: Lens' ProjectsGet (Maybe Text) #
OAuth access token.
pgUploadType :: Lens' ProjectsGet (Maybe Text) #
Legacy upload protocol for media (e.g. "media", "multipart").
pgBearerToken :: Lens' ProjectsGet (Maybe Text) #
OAuth bearer token.
pgProjectId :: Lens' ProjectsGet Text #
The Project ID (for example, `my-project-123`). Required.
pgCallback :: Lens' ProjectsGet (Maybe Text) #
JSONP