google_api_spanner v0.2.0 GoogleApi.Spanner.V1.Model.Session View Source

A session in the Cloud Spanner API.

Attributes

  • approximateLastUseTime (DateTime.t): Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time. Defaults to: null.
  • createTime (DateTime.t): Output only. The timestamp when the session is created. Defaults to: null.
  • labels (%{optional(String.t) => String.t}): 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. Defaults to: null.
  • name (String.t): The name of the session. This is always system-assigned; values provided when creating a session are ignored. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Spanner.V1.Model.Session{
  approximateLastUseTime: DateTime.t(),
  createTime: DateTime.t(),
  labels: map(),
  name: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.