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

Contents

Description

Creates a new `BuildTrigger`. This API is experimental.

See: Cloud Build API Reference for cloudbuild.projects.triggers.create.

Synopsis

REST Resource

type ProjectsTriggersCreateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("triggers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BuildTrigger :> Post '[JSON] BuildTrigger)))))))))) Source #

A resource alias for cloudbuild.projects.triggers.create method which the ProjectsTriggersCreate request conforms to.

Creating a Request

projectsTriggersCreate Source #

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

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

data ProjectsTriggersCreate Source #

Creates a new `BuildTrigger`. This API is experimental.

See: projectsTriggersCreate smart constructor.

Instances
Eq ProjectsTriggersCreate Source # 
Instance details

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

Data ProjectsTriggersCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsTriggersCreate -> Constr #

dataTypeOf :: ProjectsTriggersCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTriggersCreate Source # 
Instance details

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

Generic ProjectsTriggersCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsTriggersCreate :: Type -> Type #

GoogleRequest ProjectsTriggersCreate Source # 
Instance details

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

type Rep ProjectsTriggersCreate Source # 
Instance details

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

type Rep ProjectsTriggersCreate = D1 (MetaData "ProjectsTriggersCreate" "Network.Google.Resource.Cloudbuild.Projects.Triggers.Create" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "ProjectsTriggersCreate'" PrefixI True) ((S1 (MetaSel (Just "_ptcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BuildTrigger)) :*: (S1 (MetaSel (Just "_ptcProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTriggersCreate Source # 
Instance details

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

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

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

Request Lenses

ptcUploadProtocol :: Lens' ProjectsTriggersCreate (Maybe Text) Source #

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

ptcUploadType :: Lens' ProjectsTriggersCreate (Maybe Text) Source #

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

ptcProjectId :: Lens' ProjectsTriggersCreate Text Source #

ID of the project for which to configure automatic builds.