| Server IP : 138.197.107.151 / Your IP : 216.73.217.7 Web Server : Apache/2.4.58 (Ubuntu) System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : wpbetasites_mrakzqskir ( 1022) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/silversharkdev/vendor/google/apiclient-services/src/CloudRedis/ |
Upload File : |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\CloudRedis;
class OperationError extends \Google\Model
{
/**
* UNSPECIFIED means product type is not known or available.
*/
public const ERROR_TYPE_OPERATION_ERROR_TYPE_UNSPECIFIED = 'OPERATION_ERROR_TYPE_UNSPECIFIED';
/**
* key destroyed, expired, not found, unreachable or permission denied.
*/
public const ERROR_TYPE_KMS_KEY_ERROR = 'KMS_KEY_ERROR';
/**
* Database is not accessible
*/
public const ERROR_TYPE_DATABASE_ERROR = 'DATABASE_ERROR';
/**
* The zone or region does not have sufficient resources to handle the request
* at the moment
*/
public const ERROR_TYPE_STOCKOUT_ERROR = 'STOCKOUT_ERROR';
/**
* User initiated cancellation
*/
public const ERROR_TYPE_CANCELLATION_ERROR = 'CANCELLATION_ERROR';
/**
* SQL server specific error
*/
public const ERROR_TYPE_SQLSERVER_ERROR = 'SQLSERVER_ERROR';
/**
* Any other internal error.
*/
public const ERROR_TYPE_INTERNAL_ERROR = 'INTERNAL_ERROR';
/**
* Identifies the specific error that occurred. REQUIRED
*
* @var string
*/
public $code;
/**
* @var string
*/
public $errorType;
/**
* Additional information about the error encountered. REQUIRED
*
* @var string
*/
public $message;
/**
* Identifies the specific error that occurred. REQUIRED
*
* @param string $code
*/
public function setCode($code)
{
$this->code = $code;
}
/**
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* @param self::ERROR_TYPE_* $errorType
*/
public function setErrorType($errorType)
{
$this->errorType = $errorType;
}
/**
* @return self::ERROR_TYPE_*
*/
public function getErrorType()
{
return $this->errorType;
}
/**
* Additional information about the error encountered. REQUIRED
*
* @param string $message
*/
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');