gogol-resourcemanager-0.1.1: 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.Create

Contents

Description

Request that a new Project be created. The result is an Operation which can be used to track the creation process. It is automatically deleted after a few hours, so there is no need to call DeleteOperation. Our SLO permits Project creation to take up to 30 seconds at the 90th percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile latency. 95th percentile latency is around 11 seconds. We recommend polling at the 5th second with an exponential backoff.

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

Synopsis

REST Resource

type ProjectsCreateResource = "v1" :> ("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] Operation)))))))))) 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 #

Request that a new Project be created. The result is an Operation which can be used to track the creation process. It is automatically deleted after a few hours, so there is no need to call DeleteOperation. Our SLO permits Project creation to take up to 30 seconds at the 90th percentile. As of 2016-08-29, we are observing 6 seconds 50th percentile latency. 95th percentile latency is around 11 seconds. We recommend polling at the 5th second with an exponential backoff.

See: projectsCreate smart constructor.

Instances

Eq ProjectsCreate Source # 
Data ProjectsCreate Source # 

Methods

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

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

toConstr :: ProjectsCreate -> Constr #

dataTypeOf :: ProjectsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsCreate Source # 
Generic ProjectsCreate Source # 

Associated Types

type Rep ProjectsCreate :: * -> * #

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

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.