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.Update

Contents

Description

Updates the attributes of the project identified by the specified `project_id` (for example, `my-project-123`). The caller must have modify permissions for this project.

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

Synopsis

REST Resource

type ProjectsUpdateResource = "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 :> (ReqBody `[JSON]` Project :> Put `[JSON]` Project))))))))))) Source

A resource alias for cloudresourcemanager.projects.update method which the ProjectsUpdate request conforms to.

Creating a Request

projectsUpdate Source

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

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

data ProjectsUpdate Source

Updates the attributes of the project identified by the specified `project_id` (for example, `my-project-123`). The caller must have modify permissions for this project.

See: projectsUpdate smart constructor.

Request Lenses

proUploadProtocol :: Lens' ProjectsUpdate (Maybe Text) Source

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

proPp :: Lens' ProjectsUpdate Bool Source

Pretty-print response.

proUploadType :: Lens' ProjectsUpdate (Maybe Text) Source

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

proPayload :: Lens' ProjectsUpdate Project Source

Multipart request metadata.

proProjectId :: Lens' ProjectsUpdate Text Source

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