* $computeService = new Google\Service\Compute(...); * $imageFamilyViews = $computeService->imageFamilyViews; * */ class ImageFamilyViews extends \Google\Service\Resource { /** * Returns the latest image that is part of an image family, is not deprecated * and is rolled out in the specified zone. (imageFamilyViews.get) * * @param string $project Project ID for this request. * @param string $zone The name of the zone for this request. * @param string $family Name of the image family to search for. * @param array $optParams Optional parameters. * @return ImageFamilyView */ public function get($project, $zone, $family, $optParams = []) { $params = ['project' => $project, 'zone' => $zone, 'family' => $family]; $params = array_merge($params, $optParams); return $this->call('get', [$params], ImageFamilyView::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ImageFamilyViews::class, 'Google_Service_Compute_Resource_ImageFamilyViews');