Google Cloud AlloyDB for PostgreSQL V1 Client - Class Status (1.1.1)

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;