# Google Cloud Database Center V1beta Client - Class OperationErrorType (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.1 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class OperationErrorType.

OperationErrorType is used to expose specific error type which can happen in
database resource while performing an operation. For example, an error can
happen while database resource being backed up.

Protobuf type `google.cloud.databasecenter.v1beta.OperationErrorType`

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### OPERATION_ERROR_TYPE_UNSPECIFIED

    Value: 0

UNSPECIFIED means operation error type is not known or available.

Generated from protobuf enum `OPERATION_ERROR_TYPE_UNSPECIFIED = 0;`

### KMS_KEY_ERROR

    Value: 1

Key destroyed, expired, not found, unreachable or permission denied.

Generated from protobuf enum `KMS_KEY_ERROR = 1;`

### DATABASE_ERROR

    Value: 2

Database is not accessible.

Generated from protobuf enum `DATABASE_ERROR = 2;`

### STOCKOUT_ERROR

    Value: 3

The zone or region does not have sufficient resources to handle the request
at the moment.

Generated from protobuf enum `STOCKOUT_ERROR = 3;`

### CANCELLATION_ERROR

    Value: 4

User initiated cancellation.

Generated from protobuf enum `CANCELLATION_ERROR = 4;`

### SQLSERVER_ERROR

    Value: 5

SQL server specific error.

Generated from protobuf enum `SQLSERVER_ERROR = 5;`

### INTERNAL_ERROR

    Value: 6

Any other internal error.

Generated from protobuf enum `INTERNAL_ERROR = 6;`