gogol-containerbuilder-0.1.1: 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.Triggers.Patch

Contents

Description

Updates an BuildTrigger by its project ID and trigger ID. This API is experimental.

See: Google Cloud Container Builder API Reference for cloudbuild.projects.triggers.patch.

Synopsis

REST Resource

type ProjectsTriggersPatchResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("triggers" :> (Capture "triggerId" Text :> (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] BuildTrigger :> Patch '[JSON] BuildTrigger))))))))))))) Source #

A resource alias for cloudbuild.projects.triggers.patch method which the ProjectsTriggersPatch request conforms to.

Creating a Request

projectsTriggersPatch Source #

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

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

data ProjectsTriggersPatch Source #

Updates an BuildTrigger by its project ID and trigger ID. This API is experimental.

See: projectsTriggersPatch smart constructor.

Instances

Eq ProjectsTriggersPatch Source # 
Data ProjectsTriggersPatch Source # 

Methods

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

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

toConstr :: ProjectsTriggersPatch -> Constr #

dataTypeOf :: ProjectsTriggersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

ptpUploadProtocol :: Lens' ProjectsTriggersPatch (Maybe Text) Source #

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

ptpTriggerId :: Lens' ProjectsTriggersPatch Text Source #

ID of the BuildTrigger to update.

ptpPp :: Lens' ProjectsTriggersPatch Bool Source #

Pretty-print response.

ptpUploadType :: Lens' ProjectsTriggersPatch (Maybe Text) Source #

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

ptpProjectId :: Lens' ProjectsTriggersPatch Text Source #

ID of the project that owns the trigger.