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.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 = "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 :> (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.

Instances

Eq ProjectsUpdate Source # 
Data ProjectsUpdate Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsUpdate -> c ProjectsUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsUpdate #

toConstr :: ProjectsUpdate -> Constr #

dataTypeOf :: ProjectsUpdate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsUpdate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsUpdate) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsUpdate -> ProjectsUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsUpdate -> m ProjectsUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsUpdate -> m ProjectsUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsUpdate -> m ProjectsUpdate #

Show ProjectsUpdate Source # 
Generic ProjectsUpdate Source # 

Associated Types

type Rep ProjectsUpdate :: * -> * #

GoogleRequest ProjectsUpdate Source # 
type Rep ProjectsUpdate Source # 
type Scopes ProjectsUpdate Source # 
type Scopes ProjectsUpdate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ([] Symbol)
type Rs ProjectsUpdate Source # 

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.