Session class

A session in the Cloud Spanner API.


Session.fromJson(Map _json)


approximateLastUseTime ↔ String
Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.
read / write
createTime ↔ String
Output only. The timestamp when the session is created.
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
labels ↔ Map<String, String>
The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See for more information on and examples of labels.
read / write
name ↔ String
Output only. The name of the session. This is always system-assigned.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() → Map<String, Object>
toString() → String
Returns a string representation of this object.


operator ==(Object other) → bool
The equality operator. [...]