* $policysimulatorService = new Google\Service\PolicySimulator(...); * $results = $policysimulatorService->results; * */ class FoldersLocationsReplaysResults extends \Google\Service\Resource { /** * Lists the results of running a Replay. * (results.listFoldersLocationsReplaysResults) * * @param string $parent Required. The Replay whose results are listed, in the * following format: `{projects|folders|organizations}/{resource- * id}/locations/global/replays/{replay-id}` Example: `projects/my- * project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36` * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of ReplayResult objects to return. * Defaults to 5000. The maximum value is 5000; values above 5000 are rounded * down to 5000. * @opt_param string pageToken A page token, received from a previous * Simulator.ListReplayResults call. Provide this token to retrieve the next * page of results. When paginating, all other parameters provided to * [Simulator.ListReplayResults[] must match the call that provided the page * token. * @return GoogleCloudPolicysimulatorV1ListReplayResultsResponse */ public function listFoldersLocationsReplaysResults($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleCloudPolicysimulatorV1ListReplayResultsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FoldersLocationsReplaysResults::class, 'Google_Service_PolicySimulator_Resource_FoldersLocationsReplaysResults');