code = $code; } /** * @return string */ public function getCode() { return $this->code; } /** * @param string */ public function setErrorType($errorType) { $this->errorType = $errorType; } /** * @return string */ public function getErrorType() { return $this->errorType; } /** * @param string */ public function setMessage($message) { $this->message = $message; } /** * @return string */ public function getMessage() { return $this->message; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OperationError::class, 'Google_Service_CloudRedis_OperationError');