allowed = $allowed; } /** * @return bool */ public function getAllowed() { return $this->allowed; } /** * @param string[] */ public function setException($exception) { $this->exception = $exception; } /** * @return string[] */ public function getException() { return $this->exception; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AccessPolicy::class, 'Google_Service_YouTube_AccessPolicy');