Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))))
- projectsTestMatricesCancel :: Text -> Text -> ProjectsTestMatricesCancel
- data ProjectsTestMatricesCancel
- ptmcXgafv :: Lens' ProjectsTestMatricesCancel (Maybe Xgafv)
- ptmcUploadProtocol :: Lens' ProjectsTestMatricesCancel (Maybe Text)
- ptmcTestMatrixId :: Lens' ProjectsTestMatricesCancel Text
- ptmcAccessToken :: Lens' ProjectsTestMatricesCancel (Maybe Text)
- ptmcUploadType :: Lens' ProjectsTestMatricesCancel (Maybe Text)
- ptmcProjectId :: Lens' ProjectsTestMatricesCancel Text
- ptmcCallback :: Lens' ProjectsTestMatricesCancel (Maybe Text)
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
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.
ptmcAccessToken :: Lens' ProjectsTestMatricesCancel (Maybe Text) Source #
OAuth access token.
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.
ptmcCallback :: Lens' ProjectsTestMatricesCancel (Maybe Text) Source #
JSONP