1 <?php
2 /*
3  * Copyright 2014 Google Inc.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6  * use this file except in compliance with the License. You may obtain a copy of
7  * the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14  * License for the specific language governing permissions and limitations under
15  * the License.
16  */
17 
18 namespace Google\Service;
19 
20 use Google\Client;
21 
22 /**
23  * Service definition for ToolResults (v1beta3).
24  *
25  * <p>
26  * API to publish and access results from developer tools.</p>
27  *
28  * <p>
29  * For more information about this service, see the API
30  * <a href="https://firebase.google.com/docs/test-lab/" target="_blank">Documentation</a>
31  * </p>
32  *
33  * @author Google, Inc.
34  */
35 class ToolResults extends \Google\Service
36 {
37   /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38   const CLOUD_PLATFORM =
39       "https://www.googleapis.com/auth/cloud-platform";
40 
41   public $projects;
42   public $projects_histories;
43   public $projects_histories_executions;
44   public $projects_histories_executions_clusters;
45   public $projects_histories_executions_environments;
46   public $projects_histories_executions_steps;
47   public $projects_histories_executions_steps_perfMetricsSummary;
48   public $projects_histories_executions_steps_perfSampleSeries;
49   public $projects_histories_executions_steps_perfSampleSeries_samples;
50   public $projects_histories_executions_steps_testCases;
51   public $projects_histories_executions_steps_thumbnails;
52 
53   /**
54    * Constructs the internal representation of the ToolResults service.
55    *
56    * @param Client|array $clientOrConfig The client used to deliver requests, or a
57    *                                     config array to pass to a new Client instance.
58    * @param string $rootUrl The root URL used for requests to the service.
59    */
60   public function __construct($clientOrConfig = [], $rootUrl = null)
61   {
62     parent::__construct($clientOrConfig);
63     $this->rootUrl = $rootUrl ?: 'https://toolresults.googleapis.com/';
64     $this->servicePath = '';
65     $this->batchPath = 'batch';
66     $this->version = 'v1beta3';
67     $this->serviceName = 'toolresults';
68 
69     $this->projects = new ToolResults\Resource\Projects(
70         $this,
71         $this->serviceName,
72         'projects',
73         [
74           'methods' => [
75             'getSettings' => [
76               'path' => 'toolresults/v1beta3/projects/{projectId}/settings',
77               'httpMethod' => 'GET',
78               'parameters' => [
79                 'projectId' => [
80                   'location' => 'path',
81                   'type' => 'string',
82                   'required' => true,
83                 ],
84               ],
85             ],'initializeSettings' => [
86               'path' => 'toolresults/v1beta3/projects/{projectId}:initializeSettings',
87               'httpMethod' => 'POST',
88               'parameters' => [
89                 'projectId' => [
90                   'location' => 'path',
91                   'type' => 'string',
92                   'required' => true,
93                 ],
94               ],
95             ],
96           ]
97         ]
98     );
99     $this->projects_histories = new ToolResults\Resource\ProjectsHistories(
100         $this,
101         $this->serviceName,
102         'histories',
103         [
104           'methods' => [
105             'create' => [
106               'path' => 'toolresults/v1beta3/projects/{projectId}/histories',
107               'httpMethod' => 'POST',
108               'parameters' => [
109                 'projectId' => [
110                   'location' => 'path',
111                   'type' => 'string',
112                   'required' => true,
113                 ],
114                 'requestId' => [
115                   'location' => 'query',
116                   'type' => 'string',
117                 ],
118               ],
119             ],'get' => [
120               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}',
121               'httpMethod' => 'GET',
122               'parameters' => [
123                 'projectId' => [
124                   'location' => 'path',
125                   'type' => 'string',
126                   'required' => true,
127                 ],
128                 'historyId' => [
129                   'location' => 'path',
130                   'type' => 'string',
131                   'required' => true,
132                 ],
133               ],
134             ],'list' => [
135               'path' => 'toolresults/v1beta3/projects/{projectId}/histories',
136               'httpMethod' => 'GET',
137               'parameters' => [
138                 'projectId' => [
139                   'location' => 'path',
140                   'type' => 'string',
141                   'required' => true,
142                 ],
143                 'filterByName' => [
144                   'location' => 'query',
145                   'type' => 'string',
146                 ],
147                 'pageSize' => [
148                   'location' => 'query',
149                   'type' => 'integer',
150                 ],
151                 'pageToken' => [
152                   'location' => 'query',
153                   'type' => 'string',
154                 ],
155               ],
156             ],
157           ]
158         ]
159     );
160     $this->projects_histories_executions = new ToolResults\Resource\ProjectsHistoriesExecutions(
161         $this,
162         $this->serviceName,
163         'executions',
164         [
165           'methods' => [
166             'create' => [
167               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions',
168               'httpMethod' => 'POST',
169               'parameters' => [
170                 'projectId' => [
171                   'location' => 'path',
172                   'type' => 'string',
173                   'required' => true,
174                 ],
175                 'historyId' => [
176                   'location' => 'path',
177                   'type' => 'string',
178                   'required' => true,
179                 ],
180                 'requestId' => [
181                   'location' => 'query',
182                   'type' => 'string',
183                 ],
184               ],
185             ],'get' => [
186               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}',
187               'httpMethod' => 'GET',
188               'parameters' => [
189                 'projectId' => [
190                   'location' => 'path',
191                   'type' => 'string',
192                   'required' => true,
193                 ],
194                 'historyId' => [
195                   'location' => 'path',
196                   'type' => 'string',
197                   'required' => true,
198                 ],
199                 'executionId' => [
200                   'location' => 'path',
201                   'type' => 'string',
202                   'required' => true,
203                 ],
204               ],
205             ],'list' => [
206               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions',
207               'httpMethod' => 'GET',
208               'parameters' => [
209                 'projectId' => [
210                   'location' => 'path',
211                   'type' => 'string',
212                   'required' => true,
213                 ],
214                 'historyId' => [
215                   'location' => 'path',
216                   'type' => 'string',
217                   'required' => true,
218                 ],
219                 'pageSize' => [
220                   'location' => 'query',
221                   'type' => 'integer',
222                 ],
223                 'pageToken' => [
224                   'location' => 'query',
225                   'type' => 'string',
226                 ],
227               ],
228             ],'patch' => [
229               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}',
230               'httpMethod' => 'PATCH',
231               'parameters' => [
232                 'projectId' => [
233                   'location' => 'path',
234                   'type' => 'string',
235                   'required' => true,
236                 ],
237                 'historyId' => [
238                   'location' => 'path',
239                   'type' => 'string',
240                   'required' => true,
241                 ],
242                 'executionId' => [
243                   'location' => 'path',
244                   'type' => 'string',
245                   'required' => true,
246                 ],
247                 'requestId' => [
248                   'location' => 'query',
249                   'type' => 'string',
250                 ],
251               ],
252             ],
253           ]
254         ]
255     );
256     $this->projects_histories_executions_clusters = new ToolResults\Resource\ProjectsHistoriesExecutionsClusters(
257         $this,
258         $this->serviceName,
259         'clusters',
260         [
261           'methods' => [
262             'get' => [
263               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}',
264               'httpMethod' => 'GET',
265               'parameters' => [
266                 'projectId' => [
267                   'location' => 'path',
268                   'type' => 'string',
269                   'required' => true,
270                 ],
271                 'historyId' => [
272                   'location' => 'path',
273                   'type' => 'string',
274                   'required' => true,
275                 ],
276                 'executionId' => [
277                   'location' => 'path',
278                   'type' => 'string',
279                   'required' => true,
280                 ],
281                 'clusterId' => [
282                   'location' => 'path',
283                   'type' => 'string',
284                   'required' => true,
285                 ],
286               ],
287             ],'list' => [
288               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters',
289               'httpMethod' => 'GET',
290               'parameters' => [
291                 'projectId' => [
292                   'location' => 'path',
293                   'type' => 'string',
294                   'required' => true,
295                 ],
296                 'historyId' => [
297                   'location' => 'path',
298                   'type' => 'string',
299                   'required' => true,
300                 ],
301                 'executionId' => [
302                   'location' => 'path',
303                   'type' => 'string',
304                   'required' => true,
305                 ],
306               ],
307             ],
308           ]
309         ]
310     );
311     $this->projects_histories_executions_environments = new ToolResults\Resource\ProjectsHistoriesExecutionsEnvironments(
312         $this,
313         $this->serviceName,
314         'environments',
315         [
316           'methods' => [
317             'get' => [
318               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}',
319               'httpMethod' => 'GET',
320               'parameters' => [
321                 'projectId' => [
322                   'location' => 'path',
323                   'type' => 'string',
324                   'required' => true,
325                 ],
326                 'historyId' => [
327                   'location' => 'path',
328                   'type' => 'string',
329                   'required' => true,
330                 ],
331                 'executionId' => [
332                   'location' => 'path',
333                   'type' => 'string',
334                   'required' => true,
335                 ],
336                 'environmentId' => [
337                   'location' => 'path',
338                   'type' => 'string',
339                   'required' => true,
340                 ],
341               ],
342             ],'list' => [
343               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments',
344               'httpMethod' => 'GET',
345               'parameters' => [
346                 'projectId' => [
347                   'location' => 'path',
348                   'type' => 'string',
349                   'required' => true,
350                 ],
351                 'historyId' => [
352                   'location' => 'path',
353                   'type' => 'string',
354                   'required' => true,
355                 ],
356                 'executionId' => [
357                   'location' => 'path',
358                   'type' => 'string',
359                   'required' => true,
360                 ],
361                 'pageSize' => [
362                   'location' => 'query',
363                   'type' => 'integer',
364                 ],
365                 'pageToken' => [
366                   'location' => 'query',
367                   'type' => 'string',
368                 ],
369               ],
370             ],
371           ]
372         ]
373     );
374     $this->projects_histories_executions_steps = new ToolResults\Resource\ProjectsHistoriesExecutionsSteps(
375         $this,
376         $this->serviceName,
377         'steps',
378         [
379           'methods' => [
380             'accessibilityClusters' => [
381               'path' => 'toolresults/v1beta3/{+name}:accessibilityClusters',
382               'httpMethod' => 'GET',
383               'parameters' => [
384                 'name' => [
385                   'location' => 'path',
386                   'type' => 'string',
387                   'required' => true,
388                 ],
389                 'locale' => [
390                   'location' => 'query',
391                   'type' => 'string',
392                 ],
393               ],
394             ],'create' => [
395               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps',
396               'httpMethod' => 'POST',
397               'parameters' => [
398                 'projectId' => [
399                   'location' => 'path',
400                   'type' => 'string',
401                   'required' => true,
402                 ],
403                 'historyId' => [
404                   'location' => 'path',
405                   'type' => 'string',
406                   'required' => true,
407                 ],
408                 'executionId' => [
409                   'location' => 'path',
410                   'type' => 'string',
411                   'required' => true,
412                 ],
413                 'requestId' => [
414                   'location' => 'query',
415                   'type' => 'string',
416                 ],
417               ],
418             ],'get' => [
419               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}',
420               'httpMethod' => 'GET',
421               'parameters' => [
422                 'projectId' => [
423                   'location' => 'path',
424                   'type' => 'string',
425                   'required' => true,
426                 ],
427                 'historyId' => [
428                   'location' => 'path',
429                   'type' => 'string',
430                   'required' => true,
431                 ],
432                 'executionId' => [
433                   'location' => 'path',
434                   'type' => 'string',
435                   'required' => true,
436                 ],
437                 'stepId' => [
438                   'location' => 'path',
439                   'type' => 'string',
440                   'required' => true,
441                 ],
442               ],
443             ],'getPerfMetricsSummary' => [
444               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary',
445               'httpMethod' => 'GET',
446               'parameters' => [
447                 'projectId' => [
448                   'location' => 'path',
449                   'type' => 'string',
450                   'required' => true,
451                 ],
452                 'historyId' => [
453                   'location' => 'path',
454                   'type' => 'string',
455                   'required' => true,
456                 ],
457                 'executionId' => [
458                   'location' => 'path',
459                   'type' => 'string',
460                   'required' => true,
461                 ],
462                 'stepId' => [
463                   'location' => 'path',
464                   'type' => 'string',
465                   'required' => true,
466                 ],
467               ],
468             ],'list' => [
469               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps',
470               'httpMethod' => 'GET',
471               'parameters' => [
472                 'projectId' => [
473                   'location' => 'path',
474                   'type' => 'string',
475                   'required' => true,
476                 ],
477                 'historyId' => [
478                   'location' => 'path',
479                   'type' => 'string',
480                   'required' => true,
481                 ],
482                 'executionId' => [
483                   'location' => 'path',
484                   'type' => 'string',
485                   'required' => true,
486                 ],
487                 'pageSize' => [
488                   'location' => 'query',
489                   'type' => 'integer',
490                 ],
491                 'pageToken' => [
492                   'location' => 'query',
493                   'type' => 'string',
494                 ],
495               ],
496             ],'patch' => [
497               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}',
498               'httpMethod' => 'PATCH',
499               'parameters' => [
500                 'projectId' => [
501                   'location' => 'path',
502                   'type' => 'string',
503                   'required' => true,
504                 ],
505                 'historyId' => [
506                   'location' => 'path',
507                   'type' => 'string',
508                   'required' => true,
509                 ],
510                 'executionId' => [
511                   'location' => 'path',
512                   'type' => 'string',
513                   'required' => true,
514                 ],
515                 'stepId' => [
516                   'location' => 'path',
517                   'type' => 'string',
518                   'required' => true,
519                 ],
520                 'requestId' => [
521                   'location' => 'query',
522                   'type' => 'string',
523                 ],
524               ],
525             ],'publishXunitXmlFiles' => [
526               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles',
527               'httpMethod' => 'POST',
528               'parameters' => [
529                 'projectId' => [
530                   'location' => 'path',
531                   'type' => 'string',
532                   'required' => true,
533                 ],
534                 'historyId' => [
535                   'location' => 'path',
536                   'type' => 'string',
537                   'required' => true,
538                 ],
539                 'executionId' => [
540                   'location' => 'path',
541                   'type' => 'string',
542                   'required' => true,
543                 ],
544                 'stepId' => [
545                   'location' => 'path',
546                   'type' => 'string',
547                   'required' => true,
548                 ],
549               ],
550             ],
551           ]
552         ]
553     );
554     $this->projects_histories_executions_steps_perfMetricsSummary = new ToolResults\Resource\ProjectsHistoriesExecutionsStepsPerfMetricsSummary(
555         $this,
556         $this->serviceName,
557         'perfMetricsSummary',
558         [
559           'methods' => [
560             'create' => [
561               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary',
562               'httpMethod' => 'POST',
563               'parameters' => [
564                 'projectId' => [
565                   'location' => 'path',
566                   'type' => 'string',
567                   'required' => true,
568                 ],
569                 'historyId' => [
570                   'location' => 'path',
571                   'type' => 'string',
572                   'required' => true,
573                 ],
574                 'executionId' => [
575                   'location' => 'path',
576                   'type' => 'string',
577                   'required' => true,
578                 ],
579                 'stepId' => [
580                   'location' => 'path',
581                   'type' => 'string',
582                   'required' => true,
583                 ],
584               ],
585             ],
586           ]
587         ]
588     );
589     $this->projects_histories_executions_steps_perfSampleSeries = new ToolResults\Resource\ProjectsHistoriesExecutionsStepsPerfSampleSeries(
590         $this,
591         $this->serviceName,
592         'perfSampleSeries',
593         [
594           'methods' => [
595             'create' => [
596               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries',
597               'httpMethod' => 'POST',
598               'parameters' => [
599                 'projectId' => [
600                   'location' => 'path',
601                   'type' => 'string',
602                   'required' => true,
603                 ],
604                 'historyId' => [
605                   'location' => 'path',
606                   'type' => 'string',
607                   'required' => true,
608                 ],
609                 'executionId' => [
610                   'location' => 'path',
611                   'type' => 'string',
612                   'required' => true,
613                 ],
614                 'stepId' => [
615                   'location' => 'path',
616                   'type' => 'string',
617                   'required' => true,
618                 ],
619               ],
620             ],'get' => [
621               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}',
622               'httpMethod' => 'GET',
623               'parameters' => [
624                 'projectId' => [
625                   'location' => 'path',
626                   'type' => 'string',
627                   'required' => true,
628                 ],
629                 'historyId' => [
630                   'location' => 'path',
631                   'type' => 'string',
632                   'required' => true,
633                 ],
634                 'executionId' => [
635                   'location' => 'path',
636                   'type' => 'string',
637                   'required' => true,
638                 ],
639                 'stepId' => [
640                   'location' => 'path',
641                   'type' => 'string',
642                   'required' => true,
643                 ],
644                 'sampleSeriesId' => [
645                   'location' => 'path',
646                   'type' => 'string',
647                   'required' => true,
648                 ],
649               ],
650             ],'list' => [
651               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries',
652               'httpMethod' => 'GET',
653               'parameters' => [
654                 'projectId' => [
655                   'location' => 'path',
656                   'type' => 'string',
657                   'required' => true,
658                 ],
659                 'historyId' => [
660                   'location' => 'path',
661                   'type' => 'string',
662                   'required' => true,
663                 ],
664                 'executionId' => [
665                   'location' => 'path',
666                   'type' => 'string',
667                   'required' => true,
668                 ],
669                 'stepId' => [
670                   'location' => 'path',
671                   'type' => 'string',
672                   'required' => true,
673                 ],
674                 'filter' => [
675                   'location' => 'query',
676                   'type' => 'string',
677                   'repeated' => true,
678                 ],
679               ],
680             ],
681           ]
682         ]
683     );
684     $this->projects_histories_executions_steps_perfSampleSeries_samples = new ToolResults\Resource\ProjectsHistoriesExecutionsStepsPerfSampleSeriesSamples(
685         $this,
686         $this->serviceName,
687         'samples',
688         [
689           'methods' => [
690             'batchCreate' => [
691               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate',
692               'httpMethod' => 'POST',
693               'parameters' => [
694                 'projectId' => [
695                   'location' => 'path',
696                   'type' => 'string',
697                   'required' => true,
698                 ],
699                 'historyId' => [
700                   'location' => 'path',
701                   'type' => 'string',
702                   'required' => true,
703                 ],
704                 'executionId' => [
705                   'location' => 'path',
706                   'type' => 'string',
707                   'required' => true,
708                 ],
709                 'stepId' => [
710                   'location' => 'path',
711                   'type' => 'string',
712                   'required' => true,
713                 ],
714                 'sampleSeriesId' => [
715                   'location' => 'path',
716                   'type' => 'string',
717                   'required' => true,
718                 ],
719               ],
720             ],'list' => [
721               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples',
722               'httpMethod' => 'GET',
723               'parameters' => [
724                 'projectId' => [
725                   'location' => 'path',
726                   'type' => 'string',
727                   'required' => true,
728                 ],
729                 'historyId' => [
730                   'location' => 'path',
731                   'type' => 'string',
732                   'required' => true,
733                 ],
734                 'executionId' => [
735                   'location' => 'path',
736                   'type' => 'string',
737                   'required' => true,
738                 ],
739                 'stepId' => [
740                   'location' => 'path',
741                   'type' => 'string',
742                   'required' => true,
743                 ],
744                 'sampleSeriesId' => [
745                   'location' => 'path',
746                   'type' => 'string',
747                   'required' => true,
748                 ],
749                 'pageSize' => [
750                   'location' => 'query',
751                   'type' => 'integer',
752                 ],
753                 'pageToken' => [
754                   'location' => 'query',
755                   'type' => 'string',
756                 ],
757               ],
758             ],
759           ]
760         ]
761     );
762     $this->projects_histories_executions_steps_testCases = new ToolResults\Resource\ProjectsHistoriesExecutionsStepsTestCases(
763         $this,
764         $this->serviceName,
765         'testCases',
766         [
767           'methods' => [
768             'get' => [
769               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}',
770               'httpMethod' => 'GET',
771               'parameters' => [
772                 'projectId' => [
773                   'location' => 'path',
774                   'type' => 'string',
775                   'required' => true,
776                 ],
777                 'historyId' => [
778                   'location' => 'path',
779                   'type' => 'string',
780                   'required' => true,
781                 ],
782                 'executionId' => [
783                   'location' => 'path',
784                   'type' => 'string',
785                   'required' => true,
786                 ],
787                 'stepId' => [
788                   'location' => 'path',
789                   'type' => 'string',
790                   'required' => true,
791                 ],
792                 'testCaseId' => [
793                   'location' => 'path',
794                   'type' => 'string',
795                   'required' => true,
796                 ],
797               ],
798             ],'list' => [
799               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases',
800               'httpMethod' => 'GET',
801               'parameters' => [
802                 'projectId' => [
803                   'location' => 'path',
804                   'type' => 'string',
805                   'required' => true,
806                 ],
807                 'historyId' => [
808                   'location' => 'path',
809                   'type' => 'string',
810                   'required' => true,
811                 ],
812                 'executionId' => [
813                   'location' => 'path',
814                   'type' => 'string',
815                   'required' => true,
816                 ],
817                 'stepId' => [
818                   'location' => 'path',
819                   'type' => 'string',
820                   'required' => true,
821                 ],
822                 'pageSize' => [
823                   'location' => 'query',
824                   'type' => 'integer',
825                 ],
826                 'pageToken' => [
827                   'location' => 'query',
828                   'type' => 'string',
829                 ],
830               ],
831             ],
832           ]
833         ]
834     );
835     $this->projects_histories_executions_steps_thumbnails = new ToolResults\Resource\ProjectsHistoriesExecutionsStepsThumbnails(
836         $this,
837         $this->serviceName,
838         'thumbnails',
839         [
840           'methods' => [
841             'list' => [
842               'path' => 'toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails',
843               'httpMethod' => 'GET',
844               'parameters' => [
845                 'projectId' => [
846                   'location' => 'path',
847                   'type' => 'string',
848                   'required' => true,
849                 ],
850                 'historyId' => [
851                   'location' => 'path',
852                   'type' => 'string',
853                   'required' => true,
854                 ],
855                 'executionId' => [
856                   'location' => 'path',
857                   'type' => 'string',
858                   'required' => true,
859                 ],
860                 'stepId' => [
861                   'location' => 'path',
862                   'type' => 'string',
863                   'required' => true,
864                 ],
865                 'pageSize' => [
866                   'location' => 'query',
867                   'type' => 'integer',
868                 ],
869                 'pageToken' => [
870                   'location' => 'query',
871                   'type' => 'string',
872                 ],
873               ],
874             ],
875           ]
876         ]
877     );
878   }
879 }
880 
881 // Adding a class alias for backwards compatibility with the previous class name.
882 class_alias(ToolResults::class, 'Google_Service_ToolResults');
883