@googleapis/toolresults 0.2.0 → 0.3.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.1](https://github.com/googleapis/google-api-nodejs-client/compare/toolresults-v0.3.0...toolresults-v0.3.1) (2022-06-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **toolresults:** update the API ([a8d6d58](https://github.com/googleapis/google-api-nodejs-client/commit/a8d6d58dbdf43df72fdab357a6c04d50746cce30))
9
+
10
+ ## [0.3.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/toolresults-v0.2.1...toolresults-v0.3.0) (2021-09-14)
11
+
12
+
13
+ ### Features
14
+
15
+ * **auth:** adds support workload identity federation ([#2517](https://www.github.com/googleapis/google-api-nodejs-client/issues/2517)) ([a10707c](https://www.github.com/googleapis/google-api-nodejs-client/commit/a10707c477759e7c9ef6360a2fe800856fb600c1))
16
+ * **toolresults:** update the API ([3dee17c](https://www.github.com/googleapis/google-api-nodejs-client/commit/3dee17c99941cc13a43c082f75a7efdec8bde27a))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **deps:** update dependency googleapis-common to v5 ([#2497](https://www.github.com/googleapis/google-api-nodejs-client/issues/2497)) ([fec087a](https://www.github.com/googleapis/google-api-nodejs-client/commit/fec087abcf3d994dd41c3ffa0a0c12b1f9f09dae))
22
+ * **toolresults:** update the API ([97f399d](https://www.github.com/googleapis/google-api-nodejs-client/commit/97f399dc59561e8a2328fc94c20ed4a84a9329df))
23
+ * **toolresults:** update the API ([381748c](https://www.github.com/googleapis/google-api-nodejs-client/commit/381748ca5cac315a96df1041a60dc0af5cf0e8d4))
24
+ * upgrade webpack from 4 to 5 ([#2524](https://www.github.com/googleapis/google-api-nodejs-client/issues/2524)) ([ecfd8bf](https://www.github.com/googleapis/google-api-nodejs-client/commit/ecfd8bfcd06e1beabff7ec9a8c4000222379eb8d))
25
+
26
+ ### [0.2.1](https://www.github.com/googleapis/google-api-nodejs-client/compare/toolresults-v0.2.0...toolresults-v0.2.1) (2021-05-23)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **toolresults:** update the API ([381748c](https://www.github.com/googleapis/google-api-nodejs-client/commit/381748ca5cac315a96df1041a60dc0af5cf0e8d4))
32
+
3
33
  ## [0.2.0](https://www.github.com/googleapis/google-api-nodejs-client/compare/toolresults-v0.1.0...toolresults-v0.2.0) (2021-03-18)
4
34
 
5
35
 
package/README.md CHANGED
@@ -7,37 +7,18 @@
7
7
  ## Installation
8
8
 
9
9
  ```sh
10
- $ npm install googleapis
10
+ $ npm install @googleapis/toolresults
11
11
  ```
12
12
 
13
13
  ## Usage
14
14
  All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15
-
16
- ## Building a browser bundle
17
-
18
- This library can be used in a browser. To prepare a single file bundle, clone the
19
- [repository](https://github.com/googleapis/google-api-nodejs-client) and run
20
-
21
- ```sh
22
- $ cd src/apis/toolresults
23
- $ npm install
24
- $ npm run webpack
25
- ```
26
-
27
- The generated bundle will be written to `dist/toolresults.min.js`. Use it from your HTML file:
28
-
29
- ```html
30
- <script src="/path/to/toolresults.min.js"></script>
31
- <script>
32
- const { toolresults, auth } = Toolresults;
33
- </script>
34
- ```
15
+ Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/toolresults/classes/Toolresults.html).
35
16
 
36
17
  ## License
37
- This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/master/LICENSE).
18
+ This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE).
38
19
 
39
20
  ## Contributing
40
- We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md).
21
+ We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md).
41
22
 
42
23
  ## Questions/problems?
43
24
  * Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
@@ -2865,15 +2865,15 @@ export declare namespace toolresults_v1beta3 {
2865
2865
  * google.options({auth: authClient});
2866
2866
  *
2867
2867
  * // Do the magic
2868
- * const res = await toolresults.projects.histories.executions.steps.accessibilityClusters(
2869
- * {
2870
- * // The accepted format is the canonical Unicode format with hyphen as a delimiter. Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE. See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for details. Required.
2871
- * locale: 'placeholder-value',
2872
- * // A full resource name of the step. For example, projects/my-project/histories/bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef Required.
2873
- * name:
2874
- * 'projects/my-project/histories/my-historie/executions/my-execution/steps/my-step',
2875
- * }
2876
- * );
2868
+ * const res =
2869
+ * await toolresults.projects.histories.executions.steps.accessibilityClusters(
2870
+ * {
2871
+ * // The accepted format is the canonical Unicode format with hyphen as a delimiter. Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE. See http://www.unicode.org/reports/tr35/#Unicode_locale_identifier for details. Required.
2872
+ * locale: 'placeholder-value',
2873
+ * // A full resource name of the step. For example, projects/my-project/histories/bh.1234567890abcdef/executions/ 1234567890123456789/steps/bs.1234567890abcdef Required.
2874
+ * name: 'projects/my-project/histories/my-historie/executions/my-execution/steps/my-step',
2875
+ * }
2876
+ * );
2877
2877
  * console.log(res.data);
2878
2878
  *
2879
2879
  * // Example response
@@ -3101,18 +3101,19 @@ export declare namespace toolresults_v1beta3 {
3101
3101
  * google.options({auth: authClient});
3102
3102
  *
3103
3103
  * // Do the magic
3104
- * const res = await toolresults.projects.histories.executions.steps.getPerfMetricsSummary(
3105
- * {
3106
- * // A tool results execution ID.
3107
- * executionId: 'placeholder-value',
3108
- * // A tool results history ID.
3109
- * historyId: 'placeholder-value',
3110
- * // The cloud project
3111
- * projectId: 'placeholder-value',
3112
- * // A tool results step ID.
3113
- * stepId: 'placeholder-value',
3114
- * }
3115
- * );
3104
+ * const res =
3105
+ * await toolresults.projects.histories.executions.steps.getPerfMetricsSummary(
3106
+ * {
3107
+ * // A tool results execution ID.
3108
+ * executionId: 'placeholder-value',
3109
+ * // A tool results history ID.
3110
+ * historyId: 'placeholder-value',
3111
+ * // The cloud project
3112
+ * projectId: 'placeholder-value',
3113
+ * // A tool results step ID.
3114
+ * stepId: 'placeholder-value',
3115
+ * }
3116
+ * );
3116
3117
  * console.log(res.data);
3117
3118
  *
3118
3119
  * // Example response
@@ -3337,8 +3338,8 @@ export declare namespace toolresults_v1beta3 {
3337
3338
  * google.options({auth: authClient});
3338
3339
  *
3339
3340
  * // Do the magic
3340
- * const res = await toolresults.projects.histories.executions.steps.publishXunitXmlFiles(
3341
- * {
3341
+ * const res =
3342
+ * await toolresults.projects.histories.executions.steps.publishXunitXmlFiles({
3342
3343
  * // A Execution id. Required.
3343
3344
  * executionId: 'placeholder-value',
3344
3345
  * // A History id. Required.
@@ -3355,8 +3356,7 @@ export declare namespace toolresults_v1beta3 {
3355
3356
  * // "xunitXmlFiles": []
3356
3357
  * // }
3357
3358
  * },
3358
- * }
3359
- * );
3359
+ * });
3360
3360
  * console.log(res.data);
3361
3361
  *
3362
3362
  * // Example response
@@ -3565,33 +3565,34 @@ export declare namespace toolresults_v1beta3 {
3565
3565
  * google.options({auth: authClient});
3566
3566
  *
3567
3567
  * // Do the magic
3568
- * const res = await toolresults.projects.histories.executions.steps.perfMetricsSummary.create(
3569
- * {
3570
- * // A tool results execution ID.
3571
- * executionId: 'placeholder-value',
3572
- * // A tool results history ID.
3573
- * historyId: 'placeholder-value',
3574
- * // The cloud project
3575
- * projectId: 'placeholder-value',
3576
- * // A tool results step ID.
3577
- * stepId: 'placeholder-value',
3578
- *
3579
- * // Request body metadata
3580
- * requestBody: {
3581
- * // request body parameters
3582
- * // {
3583
- * // "appStartTime": {},
3584
- * // "executionId": "my_executionId",
3585
- * // "graphicsStats": {},
3586
- * // "historyId": "my_historyId",
3587
- * // "perfEnvironment": {},
3588
- * // "perfMetrics": [],
3589
- * // "projectId": "my_projectId",
3590
- * // "stepId": "my_stepId"
3591
- * // }
3592
- * },
3593
- * }
3594
- * );
3568
+ * const res =
3569
+ * await toolresults.projects.histories.executions.steps.perfMetricsSummary.create(
3570
+ * {
3571
+ * // A tool results execution ID.
3572
+ * executionId: 'placeholder-value',
3573
+ * // A tool results history ID.
3574
+ * historyId: 'placeholder-value',
3575
+ * // The cloud project
3576
+ * projectId: 'placeholder-value',
3577
+ * // A tool results step ID.
3578
+ * stepId: 'placeholder-value',
3579
+ *
3580
+ * // Request body metadata
3581
+ * requestBody: {
3582
+ * // request body parameters
3583
+ * // {
3584
+ * // "appStartTime": {},
3585
+ * // "executionId": "my_executionId",
3586
+ * // "graphicsStats": {},
3587
+ * // "historyId": "my_historyId",
3588
+ * // "perfEnvironment": {},
3589
+ * // "perfMetrics": [],
3590
+ * // "projectId": "my_projectId",
3591
+ * // "stepId": "my_stepId"
3592
+ * // }
3593
+ * },
3594
+ * }
3595
+ * );
3595
3596
  * console.log(res.data);
3596
3597
  *
3597
3598
  * // Example response
@@ -3678,31 +3679,32 @@ export declare namespace toolresults_v1beta3 {
3678
3679
  * google.options({auth: authClient});
3679
3680
  *
3680
3681
  * // Do the magic
3681
- * const res = await toolresults.projects.histories.executions.steps.perfSampleSeries.create(
3682
- * {
3683
- * // A tool results execution ID.
3684
- * executionId: 'placeholder-value',
3685
- * // A tool results history ID.
3686
- * historyId: 'placeholder-value',
3687
- * // The cloud project
3688
- * projectId: 'placeholder-value',
3689
- * // A tool results step ID.
3690
- * stepId: 'placeholder-value',
3691
- *
3692
- * // Request body metadata
3693
- * requestBody: {
3694
- * // request body parameters
3695
- * // {
3696
- * // "basicPerfSampleSeries": {},
3697
- * // "executionId": "my_executionId",
3698
- * // "historyId": "my_historyId",
3699
- * // "projectId": "my_projectId",
3700
- * // "sampleSeriesId": "my_sampleSeriesId",
3701
- * // "stepId": "my_stepId"
3702
- * // }
3703
- * },
3704
- * }
3705
- * );
3682
+ * const res =
3683
+ * await toolresults.projects.histories.executions.steps.perfSampleSeries.create(
3684
+ * {
3685
+ * // A tool results execution ID.
3686
+ * executionId: 'placeholder-value',
3687
+ * // A tool results history ID.
3688
+ * historyId: 'placeholder-value',
3689
+ * // The cloud project
3690
+ * projectId: 'placeholder-value',
3691
+ * // A tool results step ID.
3692
+ * stepId: 'placeholder-value',
3693
+ *
3694
+ * // Request body metadata
3695
+ * requestBody: {
3696
+ * // request body parameters
3697
+ * // {
3698
+ * // "basicPerfSampleSeries": {},
3699
+ * // "executionId": "my_executionId",
3700
+ * // "historyId": "my_historyId",
3701
+ * // "projectId": "my_projectId",
3702
+ * // "sampleSeriesId": "my_sampleSeriesId",
3703
+ * // "stepId": "my_stepId"
3704
+ * // }
3705
+ * },
3706
+ * }
3707
+ * );
3706
3708
  * console.log(res.data);
3707
3709
  *
3708
3710
  * // Example response
@@ -3760,8 +3762,8 @@ export declare namespace toolresults_v1beta3 {
3760
3762
  * google.options({auth: authClient});
3761
3763
  *
3762
3764
  * // Do the magic
3763
- * const res = await toolresults.projects.histories.executions.steps.perfSampleSeries.get(
3764
- * {
3765
+ * const res =
3766
+ * await toolresults.projects.histories.executions.steps.perfSampleSeries.get({
3765
3767
  * // A tool results execution ID.
3766
3768
  * executionId: 'placeholder-value',
3767
3769
  * // A tool results history ID.
@@ -3772,8 +3774,7 @@ export declare namespace toolresults_v1beta3 {
3772
3774
  * sampleSeriesId: 'placeholder-value',
3773
3775
  * // A tool results step ID.
3774
3776
  * stepId: 'placeholder-value',
3775
- * }
3776
- * );
3777
+ * });
3777
3778
  * console.log(res.data);
3778
3779
  *
3779
3780
  * // Example response
@@ -3831,20 +3832,21 @@ export declare namespace toolresults_v1beta3 {
3831
3832
  * google.options({auth: authClient});
3832
3833
  *
3833
3834
  * // Do the magic
3834
- * const res = await toolresults.projects.histories.executions.steps.perfSampleSeries.list(
3835
- * {
3836
- * // A tool results execution ID.
3837
- * executionId: 'placeholder-value',
3838
- * // Specify one or more PerfMetricType values such as CPU to filter the result
3839
- * filter: 'placeholder-value',
3840
- * // A tool results history ID.
3841
- * historyId: 'placeholder-value',
3842
- * // The cloud project
3843
- * projectId: 'placeholder-value',
3844
- * // A tool results step ID.
3845
- * stepId: 'placeholder-value',
3846
- * }
3847
- * );
3835
+ * const res =
3836
+ * await toolresults.projects.histories.executions.steps.perfSampleSeries.list(
3837
+ * {
3838
+ * // A tool results execution ID.
3839
+ * executionId: 'placeholder-value',
3840
+ * // Specify one or more PerfMetricType values such as CPU to filter the result
3841
+ * filter: 'placeholder-value',
3842
+ * // A tool results history ID.
3843
+ * historyId: 'placeholder-value',
3844
+ * // The cloud project
3845
+ * projectId: 'placeholder-value',
3846
+ * // A tool results step ID.
3847
+ * stepId: 'placeholder-value',
3848
+ * }
3849
+ * );
3848
3850
  * console.log(res.data);
3849
3851
  *
3850
3852
  * // Example response
@@ -3967,28 +3969,29 @@ export declare namespace toolresults_v1beta3 {
3967
3969
  * google.options({auth: authClient});
3968
3970
  *
3969
3971
  * // Do the magic
3970
- * const res = await toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate(
3971
- * {
3972
- * // A tool results execution ID.
3973
- * executionId: 'placeholder-value',
3974
- * // A tool results history ID.
3975
- * historyId: 'placeholder-value',
3976
- * // The cloud project
3977
- * projectId: 'placeholder-value',
3978
- * // A sample series id
3979
- * sampleSeriesId: 'placeholder-value',
3980
- * // A tool results step ID.
3981
- * stepId: 'placeholder-value',
3982
- *
3983
- * // Request body metadata
3984
- * requestBody: {
3985
- * // request body parameters
3986
- * // {
3987
- * // "perfSamples": []
3988
- * // }
3989
- * },
3990
- * }
3991
- * );
3972
+ * const res =
3973
+ * await toolresults.projects.histories.executions.steps.perfSampleSeries.samples.batchCreate(
3974
+ * {
3975
+ * // A tool results execution ID.
3976
+ * executionId: 'placeholder-value',
3977
+ * // A tool results history ID.
3978
+ * historyId: 'placeholder-value',
3979
+ * // The cloud project
3980
+ * projectId: 'placeholder-value',
3981
+ * // A sample series id
3982
+ * sampleSeriesId: 'placeholder-value',
3983
+ * // A tool results step ID.
3984
+ * stepId: 'placeholder-value',
3985
+ *
3986
+ * // Request body metadata
3987
+ * requestBody: {
3988
+ * // request body parameters
3989
+ * // {
3990
+ * // "perfSamples": []
3991
+ * // }
3992
+ * },
3993
+ * }
3994
+ * );
3992
3995
  * console.log(res.data);
3993
3996
  *
3994
3997
  * // Example response
@@ -4041,24 +4044,25 @@ export declare namespace toolresults_v1beta3 {
4041
4044
  * google.options({auth: authClient});
4042
4045
  *
4043
4046
  * // Do the magic
4044
- * const res = await toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list(
4045
- * {
4046
- * // A tool results execution ID.
4047
- * executionId: 'placeholder-value',
4048
- * // A tool results history ID.
4049
- * historyId: 'placeholder-value',
4050
- * // The default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000
4051
- * pageSize: 'placeholder-value',
4052
- * // Optional, the next_page_token returned in the previous response
4053
- * pageToken: 'placeholder-value',
4054
- * // The cloud project
4055
- * projectId: 'placeholder-value',
4056
- * // A sample series id
4057
- * sampleSeriesId: 'placeholder-value',
4058
- * // A tool results step ID.
4059
- * stepId: 'placeholder-value',
4060
- * }
4061
- * );
4047
+ * const res =
4048
+ * await toolresults.projects.histories.executions.steps.perfSampleSeries.samples.list(
4049
+ * {
4050
+ * // A tool results execution ID.
4051
+ * executionId: 'placeholder-value',
4052
+ * // A tool results history ID.
4053
+ * historyId: 'placeholder-value',
4054
+ * // The default page size is 500 samples, and the maximum size is 5000. If the page_size is greater than 5000, the effective page size will be 5000
4055
+ * pageSize: 'placeholder-value',
4056
+ * // Optional, the next_page_token returned in the previous response
4057
+ * pageToken: 'placeholder-value',
4058
+ * // The cloud project
4059
+ * projectId: 'placeholder-value',
4060
+ * // A sample series id
4061
+ * sampleSeriesId: 'placeholder-value',
4062
+ * // A tool results step ID.
4063
+ * stepId: 'placeholder-value',
4064
+ * }
4065
+ * );
4062
4066
  * console.log(res.data);
4063
4067
  *
4064
4068
  * // Example response
@@ -4172,8 +4176,8 @@ export declare namespace toolresults_v1beta3 {
4172
4176
  * google.options({auth: authClient});
4173
4177
  *
4174
4178
  * // Do the magic
4175
- * const res = await toolresults.projects.histories.executions.steps.testCases.get(
4176
- * {
4179
+ * const res =
4180
+ * await toolresults.projects.histories.executions.steps.testCases.get({
4177
4181
  * // A Execution id Required.
4178
4182
  * executionId: 'placeholder-value',
4179
4183
  * // A History id. Required.
@@ -4184,8 +4188,7 @@ export declare namespace toolresults_v1beta3 {
4184
4188
  * stepId: 'placeholder-value',
4185
4189
  * // A Test Case id. Required.
4186
4190
  * testCaseId: 'placeholder-value',
4187
- * }
4188
- * );
4191
+ * });
4189
4192
  * console.log(res.data);
4190
4193
  *
4191
4194
  * // Example response
@@ -4246,8 +4249,8 @@ export declare namespace toolresults_v1beta3 {
4246
4249
  * google.options({auth: authClient});
4247
4250
  *
4248
4251
  * // Do the magic
4249
- * const res = await toolresults.projects.histories.executions.steps.testCases.list(
4250
- * {
4252
+ * const res =
4253
+ * await toolresults.projects.histories.executions.steps.testCases.list({
4251
4254
  * // A Execution id Required.
4252
4255
  * executionId: 'placeholder-value',
4253
4256
  * // A History id. Required.
@@ -4260,8 +4263,7 @@ export declare namespace toolresults_v1beta3 {
4260
4263
  * projectId: 'placeholder-value',
4261
4264
  * // A Step id. Note: This step must include a TestExecutionStep. Required.
4262
4265
  * stepId: 'placeholder-value',
4263
- * }
4264
- * );
4266
+ * });
4265
4267
  * console.log(res.data);
4266
4268
  *
4267
4269
  * // Example response
@@ -4367,8 +4369,8 @@ export declare namespace toolresults_v1beta3 {
4367
4369
  * google.options({auth: authClient});
4368
4370
  *
4369
4371
  * // Do the magic
4370
- * const res = await toolresults.projects.histories.executions.steps.thumbnails.list(
4371
- * {
4372
+ * const res =
4373
+ * await toolresults.projects.histories.executions.steps.thumbnails.list({
4372
4374
  * // An Execution id. Required.
4373
4375
  * executionId: 'placeholder-value',
4374
4376
  * // A History id. Required.
@@ -4381,8 +4383,7 @@ export declare namespace toolresults_v1beta3 {
4381
4383
  * projectId: 'placeholder-value',
4382
4384
  * // A Step id. Required.
4383
4385
  * stepId: 'placeholder-value',
4384
- * }
4385
- * );
4386
+ * });
4386
4387
  * console.log(res.data);
4387
4388
  *
4388
4389
  * // Example response