google_api_spanner v0.10.0 GoogleApi.Spanner.V1.Model.Session 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]([-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.

  • name (type: String.t, default: nil) - The name of the session. This is always system-assigned; values provided when creating a session are ignored.

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: String.t()
}

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.