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

Contents

Description

Cancels a build in progress.

See: Cloud Build API Reference for cloudbuild.projects.builds.cancel.

Synopsis

REST Resource

type ProjectsBuildsCancelResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("builds" :> (CaptureMode "id" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CancelBuildRequest :> Post '[JSON] Build))))))))))) Source #

A resource alias for cloudbuild.projects.builds.cancel method which the ProjectsBuildsCancel request conforms to.

Creating a Request

projectsBuildsCancel Source #

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

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

data ProjectsBuildsCancel Source #

Cancels a build in progress.

See: projectsBuildsCancel smart constructor.

Instances
Eq ProjectsBuildsCancel Source # 
Instance details

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

Data ProjectsBuildsCancel Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsBuildsCancel -> Constr #

dataTypeOf :: ProjectsBuildsCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsBuildsCancel Source # 
Instance details

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

Generic ProjectsBuildsCancel Source # 
Instance details

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

Associated Types

type Rep ProjectsBuildsCancel :: Type -> Type #

GoogleRequest ProjectsBuildsCancel Source # 
Instance details

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

Associated Types

type Rs ProjectsBuildsCancel :: Type #

type Scopes ProjectsBuildsCancel :: [Symbol] #

type Rep ProjectsBuildsCancel Source # 
Instance details

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

type Rep ProjectsBuildsCancel = D1 (MetaData "ProjectsBuildsCancel" "Network.Google.Resource.Cloudbuild.Projects.Builds.Cancel" "gogol-containerbuilder-0.4.0-4FzmtZeHoBN7v5WIesnfJp" False) (C1 (MetaCons "ProjectsBuildsCancel'" PrefixI True) (((S1 (MetaSel (Just "_pbcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pbcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pbcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pbcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CancelBuildRequest) :*: S1 (MetaSel (Just "_pbcId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pbcProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pbcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsBuildsCancel Source # 
Instance details

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

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

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

Request Lenses

pbcUploadProtocol :: Lens' ProjectsBuildsCancel (Maybe Text) Source #

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

pbcUploadType :: Lens' ProjectsBuildsCancel (Maybe Text) Source #

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