key = $key; } /** * @return string */ public function getKey() { return $this->key; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(PathSegment::class, 'Google_Service_TrafficDirectorService_PathSegment');