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

Contents

Description

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

See: Cloud Build 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 "access_token" Text :> (QueryParam "uploadType" 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 a `BuildTrigger` by its project ID and trigger ID. This API is experimental.

See: projectsTriggersPatch smart constructor.

Instances
Eq ProjectsTriggersPatch Source # 
Instance details

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

Data ProjectsTriggersPatch Source # 
Instance details

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

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

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

Generic ProjectsTriggersPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsTriggersPatch :: Type -> Type #

GoogleRequest ProjectsTriggersPatch Source # 
Instance details

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

type Rep ProjectsTriggersPatch Source # 
Instance details

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

type Rep ProjectsTriggersPatch = D1 (MetaData "ProjectsTriggersPatch" "Network.Google.Resource.Cloudbuild.Projects.Triggers.Patch" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "ProjectsTriggersPatch'" PrefixI True) (((S1 (MetaSel (Just "_ptpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ptpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptpTriggerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ptpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BuildTrigger)) :*: (S1 (MetaSel (Just "_ptpProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTriggersPatch Source # 
Instance details

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

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

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

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.

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.