GoogleApi.Spanner.V1.Model.Session (google_api_spanner v0.32.0) View Source

A session in the Cloud Spanner API.

Attributes

  • approximateLastUseTime (type: DateTime.t, default: nil) - Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.
  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when the session is created.
  • labels (type: map(), default: nil) - 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?)?`. * 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.
  • name (type: String.t, default: nil) - Output only. The name of the session. This is always system-assigned.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Spanner.V1.Model.Session{
  approximateLastUseTime: DateTime.t() | nil,
  createTime: DateTime.t() | nil,
  labels: map() | nil,
  name: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.