gogol-containerbuilder-0.3.0: Google Cloud Container Builder 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.Cloudbuild.Projects.Builds.Create

Contents

Description

Starts a build with the specified configuration. The long-running Operation returned by this method will include the ID of the build, which can be passed to GetBuild to determine its status (e.g., success or failure).

See: Google Cloud Container Builder API Reference for cloudbuild.projects.builds.create.

Synopsis

REST Resource

type ProjectsBuildsCreateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (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] Build :> Post '[JSON] Operation)))))))))))) Source #

A resource alias for cloudbuild.projects.builds.create method which the ProjectsBuildsCreate request conforms to.

Creating a Request

projectsBuildsCreate Source #

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

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

data ProjectsBuildsCreate Source #

Starts a build with the specified configuration. The long-running Operation returned by this method will include the ID of the build, which can be passed to GetBuild to determine its status (e.g., success or failure).

See: projectsBuildsCreate smart constructor.

Instances

Eq ProjectsBuildsCreate Source # 
Data ProjectsBuildsCreate Source # 

Methods

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

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

toConstr :: ProjectsBuildsCreate -> Constr #

dataTypeOf :: ProjectsBuildsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

pUploadProtocol :: Lens' ProjectsBuildsCreate (Maybe Text) Source #

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

pPp :: Lens' ProjectsBuildsCreate Bool Source #

Pretty-print response.

pUploadType :: Lens' ProjectsBuildsCreate (Maybe Text) Source #

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

pPayload :: Lens' ProjectsBuildsCreate Build Source #

Multipart request metadata.