Method: projects.testMatrices.get
Stay organized with collections
Save and categorize content based on your preferences.
Checks the status of a test matrix and the executions once they are created.
The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated.
Note: Flaky test executions may be added to the matrix at a later stage.
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
HTTP request
GET https://testing.googleapis.com/v1/projects/{projectId}/testMatrices/{testMatrixId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
projectId |
string
Cloud project that owns the test matrix.
|
testMatrixId |
string
Unique test matrix id which was assigned by the service.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of TestMatrix
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-25 UTC.
[null,null,["Last updated 2024-07-25 UTC."],[],[],null,["# Method: projects.testMatrices.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nChecks the status of a test matrix and the executions once they are created.\n\nThe test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated.\n\nNote: Flaky test executions may be added to the matrix at a later stage.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to read project\n- INVALID_ARGUMENT - if the request is malformed\n- NOT_FOUND - if the Test Matrix does not exist\n\n### HTTP request\n\n`GET https://testing.googleapis.com/v1/projects/{projectId}/testMatrices/{testMatrixId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------------|-------------------------------------------------------------------|\n| `projectId` | `string` Cloud project that owns the test matrix. |\n| `testMatrixId` | `string` Unique test matrix id which was assigned by the service. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [TestMatrix](/docs/test-lab/reference/testing/rest/v1/projects.testMatrices#TestMatrix).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloud-platform.read-only`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]