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

Contents

Description

Creates a project resource. Initially, the project resource is owned by its creator exclusively. The creator can later grant permission to others to read or update the project. Several APIs are activated automatically for the project, including Google Cloud Storage.

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

Synopsis

REST Resource

type ProjectsCreateResource = "v1beta1" :> ("projects" :> (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 :> Post `[JSON]` Project)))))))))) Source

A resource alias for cloudresourcemanager.projects.create method which the ProjectsCreate request conforms to.

Creating a Request

projectsCreate Source

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

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

data ProjectsCreate Source

Creates a project resource. Initially, the project resource is owned by its creator exclusively. The creator can later grant permission to others to read or update the project. Several APIs are activated automatically for the project, including Google Cloud Storage.

See: projectsCreate smart constructor.

Request Lenses

pcUploadProtocol :: Lens' ProjectsCreate (Maybe Text) Source

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

pcPp :: Lens' ProjectsCreate Bool Source

Pretty-print response.

pcUploadType :: Lens' ProjectsCreate (Maybe Text) Source

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

pcPayload :: Lens' ProjectsCreate Project Source

Multipart request metadata.