1.8.4 (latest) 1.7.1 1.6.3 1.5.0 1.4.1 1.3.0 1.2.0 1.1.3 1.0.0 0.10.3 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class Status.

Status contains all valid Status a SQL execution can end up in.

Protobuf type `google.cloud.alloydb.v1.ExecuteSqlMetadata.Status`

## Namespace

Google \\ Cloud \\ AlloyDb \\ V1 \\ ExecuteSqlMetadata

## Methods

### static::name

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

### static::value

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

## Constants

### STATUS_UNSPECIFIED

    Value: 0

The status is unknown.

Generated from protobuf enum `STATUS_UNSPECIFIED = 0;`

### OK

    Value: 1

No error during SQL execution i.e. All SQL statements ran to completion.

The "message" will be empty.

Generated from protobuf enum `OK = 1;`

### PARTIAL

    Value: 2

Same as OK, except indicates that only partial results were
returned. The "message" field will contain details on why results were
truncated.

Generated from protobuf enum `PARTIAL = 2;`

### ERROR

    Value: 3

Error during SQL execution. Atleast 1 SQL statement execution resulted in
a error. Side effects of other statements are rolled back. The "message"
field will contain human readable error given by Postgres of the first
bad SQL statement. SQL execution errors don't constitute API errors as
defined in <https://google.aip.dev/193> but will be returned as part of
this message.

Generated from protobuf enum `ERROR = 3;`