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 |
Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200 supported executions. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix expands to more than 200 supported executions
See: Cloud Testing API Reference for testing.projects.testMatrices.create
.
Synopsis
- type ProjectsTestMatricesCreateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("testMatrices" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestMatrix :> Post '[JSON] TestMatrix)))))))))))
- projectsTestMatricesCreate :: TestMatrix -> Text -> ProjectsTestMatricesCreate
- data ProjectsTestMatricesCreate
- pXgafv :: Lens' ProjectsTestMatricesCreate (Maybe Xgafv)
- pRequestId :: Lens' ProjectsTestMatricesCreate (Maybe Text)
- pUploadProtocol :: Lens' ProjectsTestMatricesCreate (Maybe Text)
- pAccessToken :: Lens' ProjectsTestMatricesCreate (Maybe Text)
- pUploadType :: Lens' ProjectsTestMatricesCreate (Maybe Text)
- pPayload :: Lens' ProjectsTestMatricesCreate TestMatrix
- pProjectId :: Lens' ProjectsTestMatricesCreate Text
- pCallback :: Lens' ProjectsTestMatricesCreate (Maybe Text)
REST Resource
type ProjectsTestMatricesCreateResource = "v1" :> ("projects" :> (Capture "projectId" Text :> ("testMatrices" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestMatrix :> Post '[JSON] TestMatrix))))))))))) Source #
A resource alias for testing.projects.testMatrices.create
method which the
ProjectsTestMatricesCreate
request conforms to.
Creating a Request
projectsTestMatricesCreate Source #
Creates a value of ProjectsTestMatricesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsTestMatricesCreate Source #
Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. Matrices are limited to at most 200 supported executions. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix expands to more than 200 supported executions
See: projectsTestMatricesCreate
smart constructor.
Instances
Request Lenses
pRequestId :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #
A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.
pUploadProtocol :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pAccessToken :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #
OAuth access token.
pUploadType :: Lens' ProjectsTestMatricesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pPayload :: Lens' ProjectsTestMatricesCreate TestMatrix Source #
Multipart request metadata.
pProjectId :: Lens' ProjectsTestMatricesCreate Text Source #
The GCE project under which this job will run.