versions = $versions; } /** * @return Version[] */ public function getVersions() { return $this->versions; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Versions::class, 'Google_Service_GKEOnPrem_Versions');