gogol-containerbuilder-0.4.0: Google Cloud Build 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. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).

See: Cloud Build 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 "access_token" Text :> (QueryParam "uploadType" 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. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).

See: projectsBuildsCreate smart constructor.

Instances
Eq ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

Data ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

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 # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

Generic ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

Associated Types

type Rep ProjectsBuildsCreate :: Type -> Type #

GoogleRequest ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

Associated Types

type Rs ProjectsBuildsCreate :: Type #

type Scopes ProjectsBuildsCreate :: [Symbol] #

type Rep ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

type Rep ProjectsBuildsCreate = D1 (MetaData "ProjectsBuildsCreate" "Network.Google.Resource.Cloudbuild.Projects.Builds.Create" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "ProjectsBuildsCreate'" PrefixI True) ((S1 (MetaSel (Just "_pXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Build)) :*: (S1 (MetaSel (Just "_pProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

type Scopes ProjectsBuildsCreate = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsBuildsCreate Source # 
Instance details

Defined in Network.Google.Resource.Cloudbuild.Projects.Builds.Create

Request Lenses

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

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

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

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

pPayload :: Lens' ProjectsBuildsCreate Build Source #

Multipart request metadata.