Class Session
A session in the Cloud Spanner API.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class Session : IDirectResponseSchema
Properties
ApproximateLastUseTime
Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.
Declaration
[JsonProperty("approximateLastUseTime")]
public virtual object ApproximateLastUseTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTime
Output only. The timestamp when the session is created.
Declaration
[JsonProperty("createTime")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreatorRole
The database role which created this session.
Declaration
[JsonProperty("creatorRole")]
public virtual string CreatorRole { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Labels
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 https://goo.gl/xmQnxf for more information on and
examples of labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
Name
Output only. The name of the session. This is always system-assigned.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |