errorCount = $errorCount; } /** * @return string */ public function getErrorCount() { return $this->errorCount; } /** * Info on the key service error. * * Accepted values: KEY_SERVICE_ERROR_INFO_UNSPECIFIED, MALFORMED_JSON, * MISSING_KEY, MISSING_SIGNATURE, MISSING_ALGORITHM_NAME, * UNSUPPORTED_ALGORITHM, FETCH_REQUEST_ERROR * * @param self::ERROR_INFO_* $errorInfo */ public function setErrorInfo($errorInfo) { $this->errorInfo = $errorInfo; } /** * @return self::ERROR_INFO_* */ public function getErrorInfo() { return $this->errorInfo; } /** * HTTP response status code from the key service. * * @param string $httpResponseCode */ public function setHttpResponseCode($httpResponseCode) { $this->httpResponseCode = $httpResponseCode; } /** * @return string */ public function getHttpResponseCode() { return $this->httpResponseCode; } /** * Url of the external key service. * * @param string $keyServiceUrl */ public function setKeyServiceUrl($keyServiceUrl) { $this->keyServiceUrl = $keyServiceUrl; } /** * @return string */ public function getKeyServiceUrl() { return $this->keyServiceUrl; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(KeyServiceError::class, 'Google_Service_AlertCenter_KeyServiceError');