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

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

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

  Value: 0 
 

The status is unknown.

Generated from protobuf enum STATUS_UNSPECIFIED = 0;

  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;

  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;

  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;

Design a Mobile Site
View Site in Mobile | Classic
Share by: