AlloyDB V1 API - Module Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata::Status (v0.10.0)

Reference documentation and code samples for the AlloyDB V1 API module Google::Cloud::AlloyDB::V1::ExecuteSqlMetadata::Status.

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

Constants

STATUS_UNSPECIFIED

value: 0
The status is unknown.

OK

value: 1
No error during SQL execution i.e. All SQL statements ran to completion. The "message" will be empty.

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.

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.