gogol-testing-0.4.0: Google Cloud Testing 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.Testing.Projects.TestMatrices.Cancel

Contents

Description

Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asychronously. If the matrix is already final, this operation will have no effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist

See: Cloud Testing API Reference for testing.projects.testMatrices.cancel.

Synopsis

REST Resource

type ProjectsTestMatricesCancelResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("testMatrices" :> (CaptureMode "testMatrixId" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] CancelTestMatrixResponse)))))))))) Source #

A resource alias for testing.projects.testMatrices.cancel method which the ProjectsTestMatricesCancel request conforms to.

Creating a Request

projectsTestMatricesCancel Source #

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

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

data ProjectsTestMatricesCancel Source #

Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asychronously. If the matrix is already final, this operation will have no effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist

See: projectsTestMatricesCancel smart constructor.

Instances
Eq ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

Data ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

Methods

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

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

toConstr :: ProjectsTestMatricesCancel -> Constr #

dataTypeOf :: ProjectsTestMatricesCancel -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

Generic ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

Associated Types

type Rep ProjectsTestMatricesCancel :: Type -> Type #

GoogleRequest ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

type Rep ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

type Rep ProjectsTestMatricesCancel = D1 (MetaData "ProjectsTestMatricesCancel" "Network.Google.Resource.Testing.Projects.TestMatrices.Cancel" "gogol-testing-0.4.0-AnkN60oT8lcIoqgf0WbNcC" False) (C1 (MetaCons "ProjectsTestMatricesCancel'" PrefixI True) ((S1 (MetaSel (Just "_ptmcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ptmcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptmcTestMatrixId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) :*: ((S1 (MetaSel (Just "_ptmcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ptmcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ptmcProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ptmcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsTestMatricesCancel Source # 
Instance details

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

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

Defined in Network.Google.Resource.Testing.Projects.TestMatrices.Cancel

Request Lenses

ptmcUploadProtocol :: Lens' ProjectsTestMatricesCancel (Maybe Text) Source #

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

ptmcTestMatrixId :: Lens' ProjectsTestMatricesCancel Text Source #

Test matrix that will be canceled.

ptmcUploadType :: Lens' ProjectsTestMatricesCancel (Maybe Text) Source #

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

ptmcProjectId :: Lens' ProjectsTestMatricesCancel Text Source #

Cloud project that owns the test.