* $composerService = new Google\Service\CloudComposer(...); * $imageVersions = $composerService->imageVersions; * */ class ProjectsLocationsImageVersions extends \Google\Service\Resource { /** * List ImageVersions for provided location. * (imageVersions.listProjectsLocationsImageVersions) * * @param string $parent List ImageVersions in the given project and location, * in the form: "projects/{projectId}/locations/{locationId}" * @param array $optParams Optional parameters. * * @opt_param bool includePastReleases Whether or not image versions from old * releases should be included. * @opt_param int pageSize The maximum number of image_versions to return. * @opt_param string pageToken The next_page_token value returned from a * previous List request, if any. * @return ListImageVersionsResponse */ public function listProjectsLocationsImageVersions($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListImageVersionsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsImageVersions::class, 'Google_Service_CloudComposer_Resource_ProjectsLocationsImageVersions');