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

Contents

Description

Runs a `BuildTrigger` at a particular source revision.

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

Synopsis

REST Resource

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

A resource alias for cloudbuild.projects.triggers.run method which the ProjectsTriggersRun request conforms to.

Creating a Request

projectsTriggersRun Source #

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

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

data ProjectsTriggersRun Source #

Runs a `BuildTrigger` at a particular source revision.

See: projectsTriggersRun smart constructor.

Instances
Eq ProjectsTriggersRun Source # 
Instance details

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

Data ProjectsTriggersRun Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsTriggersRun -> Constr #

dataTypeOf :: ProjectsTriggersRun -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTriggersRun Source # 
Instance details

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

Generic ProjectsTriggersRun Source # 
Instance details

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

Associated Types

type Rep ProjectsTriggersRun :: Type -> Type #

GoogleRequest ProjectsTriggersRun Source # 
Instance details

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

Associated Types

type Rs ProjectsTriggersRun :: Type #

type Scopes ProjectsTriggersRun :: [Symbol] #

type Rep ProjectsTriggersRun Source # 
Instance details

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

type Rep ProjectsTriggersRun = D1 (MetaData "ProjectsTriggersRun" "Network.Google.Resource.Cloudbuild.Projects.Triggers.Run" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "ProjectsTriggersRun'" PrefixI True) (((S1 (MetaSel (Just "_ptrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ptrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptrTriggerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RepoSource)) :*: (S1 (MetaSel (Just "_ptrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTriggersRun Source # 
Instance details

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

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

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

Request Lenses

ptrUploadProtocol :: Lens' ProjectsTriggersRun (Maybe Text) Source #

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

ptrUploadType :: Lens' ProjectsTriggersRun (Maybe Text) Source #

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

ptrPayload :: Lens' ProjectsTriggersRun RepoSource Source #

Multipart request metadata.