Cloud Bigtable V2 Client - Class CloseSessionReason (2.24.0)

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 \ CloseSessionRequest

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CLOSE_SESSION_REASON_UNSET

Value: 0

Generated from protobuf enum CLOSE_SESSION_REASON_UNSET = 0;

CLOSE_SESSION_REASON_GOAWAY

Value: 1

Generated from protobuf enum CLOSE_SESSION_REASON_GOAWAY = 1;

CLOSE_SESSION_REASON_ERROR

Value: 2

Generated from protobuf enum CLOSE_SESSION_REASON_ERROR = 2;

CLOSE_SESSION_REASON_USER

Value: 3

Generated from protobuf enum CLOSE_SESSION_REASON_USER = 3;

CLOSE_SESSION_REASON_DOWNSIZE

Value: 4

Generated from protobuf enum CLOSE_SESSION_REASON_DOWNSIZE = 4;

CLOSE_SESSION_REASON_MISSED_HEARTBEAT

Value: 5

Generated from protobuf enum CLOSE_SESSION_REASON_MISSED_HEARTBEAT = 5;