Reference documentation and code samples for the Cloud Bigtable V2 Client class CloseSessionReason.
Client-generated reason for terminating the session, including a plain-text description of why.
'reason' may be used for metrics, while both may be logged (server-side).
Protobuf type google.bigtable.v2.CloseSessionRequest.CloseSessionReason
Namespace
Google \ Cloud \ Bigtable \ V2 \ CloseSessionRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
CLOSE_SESSION_REASON_UNSET
Value: 0Generated from protobuf enum CLOSE_SESSION_REASON_UNSET = 0;
CLOSE_SESSION_REASON_GOAWAY
Value: 1Generated from protobuf enum CLOSE_SESSION_REASON_GOAWAY = 1;
CLOSE_SESSION_REASON_ERROR
Value: 2Generated from protobuf enum CLOSE_SESSION_REASON_ERROR = 2;
CLOSE_SESSION_REASON_USER
Value: 3Generated from protobuf enum CLOSE_SESSION_REASON_USER = 3;
CLOSE_SESSION_REASON_DOWNSIZE
Value: 4Generated from protobuf enum CLOSE_SESSION_REASON_DOWNSIZE = 4;
CLOSE_SESSION_REASON_MISSED_HEARTBEAT
Value: 5Generated from protobuf enum CLOSE_SESSION_REASON_MISSED_HEARTBEAT = 5;