@maxim_mazurok/gapi.client.testing-v1 0.0.20230330 → 0.0.20230404

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +8 -5
  2. package/package.json +1 -1
  3. package/tests.ts +7 -5
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://testing.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230330
12
+ // Revision: 20230404
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -863,8 +863,9 @@ declare namespace gapi.client {
863
863
  }): Request<CancelTestMatrixResponse>;
864
864
  /**
865
865
  * Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most
866
- * 2000 devices in parallel. 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
867
- * request is malformed or if the matrix tries to use too many simultaneous devices.
866
+ * 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. That happens later on and will require a call to
867
+ * GetTestMatrix. 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
868
+ * malformed or if the matrix tries to use too many simultaneous devices.
868
869
  */
869
870
  create(request: {
870
871
  /** V1 error format. */
@@ -932,8 +933,10 @@ declare namespace gapi.client {
932
933
  },
933
934
  body: TestMatrix): Request<TestMatrix>;
934
935
  /**
935
- * Checks the status of a test matrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT -
936
- * if the request is malformed - NOT_FOUND - if the Test Matrix does not exist
936
+ * 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
937
+ * resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may still be added to the matrix at a later stage. May return any of the following
938
+ * 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
939
+ * exist
937
940
  */
938
941
  get(request?: {
939
942
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.testing-v1",
3
- "version": "0.0.20230330",
3
+ "version": "0.0.20230404",
4
4
  "description": "TypeScript typings for Cloud Testing API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230330
6
+ // Revision: 20230404
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -47,8 +47,9 @@ gapi.load('client', async () => {
47
47
  });
48
48
  /**
49
49
  * Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most
50
- * 2000 devices in parallel. 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
51
- * request is malformed or if the matrix tries to use too many simultaneous devices.
50
+ * 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. That happens later on and will require a call to GetTestMatrix.
51
+ * 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
52
+ * matrix tries to use too many simultaneous devices.
52
53
  */
53
54
  await gapi.client.testing.projects.testMatrices.create({
54
55
  projectId: "Test string",
@@ -538,8 +539,9 @@ gapi.load('client', async () => {
538
539
  timestamp: "Test string",
539
540
  });
540
541
  /**
541
- * Checks the status of a test matrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if
542
- * the request is malformed - NOT_FOUND - if the Test Matrix does not exist
542
+ * 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
543
+ * resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may still be added to the matrix at a later stage. May return any of the following canonical
544
+ * 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
543
545
  */
544
546
  await gapi.client.testing.projects.testMatrices.get({
545
547
  projectId: "Test string",