* $toolresultsService = new Google\Service\ToolResults(...); * $thumbnails = $toolresultsService->thumbnails; * */ class ProjectsHistoriesExecutionsStepsThumbnails extends \Google\Service\Resource { /** * Lists thumbnails of images attached to a step. May return any of the * following canonical error codes: - PERMISSION_DENIED - if the user is not * authorized to read from the project, or from any of the images - * INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the step does * not exist, or if any of the images do not exist * (thumbnails.listProjectsHistoriesExecutionsStepsThumbnails) * * @param string $projectId A Project id. Required. * @param string $historyId A History id. Required. * @param string $executionId An Execution id. Required. * @param string $stepId A Step id. Required. * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of thumbnails to fetch. Default * value: 50. The server will use this default if the field is not set or has a * value of 0. Optional. * @opt_param string pageToken A continuation token to resume the query at the * next item. Optional. * @return ListStepThumbnailsResponse */ public function listProjectsHistoriesExecutionsStepsThumbnails($projectId, $historyId, $executionId, $stepId, $optParams = []) { $params = ['projectId' => $projectId, 'historyId' => $historyId, 'executionId' => $executionId, 'stepId' => $stepId]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListStepThumbnailsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsHistoriesExecutionsStepsThumbnails::class, 'Google_Service_ToolResults_Resource_ProjectsHistoriesExecutionsStepsThumbnails');