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