Class: Google::Spanner::V1::Session
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Spanner::V1::Session
 
 
- Defined in:
 - lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb
 
Overview
A session in the Cloud Spanner API.
Instance Attribute Summary collapse
- 
  
    
      #approximate_last_use_time  ⇒ Google::Protobuf::Timestamp 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #create_time  ⇒ Google::Protobuf::Timestamp 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #labels  ⇒ Hash{String => String} 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The labels for the session.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the session.
 
Instance Attribute Details
#approximate_last_use_time ⇒ Google::Protobuf::Timestamp
Returns Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.
      50  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 50 class Session; end  | 
  
#create_time ⇒ Google::Protobuf::Timestamp
Returns Output only. The timestamp when the session is created.
      50  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 50 class Session; end  | 
  
#labels ⇒ Hash{String => String}
Returns 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?+.
 - 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.
      50  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 50 class Session; end  | 
  
#name ⇒ String
Returns The name of the session. This is always system-assigned; values provided when creating a session are ignored.
      50  | 
    
      # File 'lib/google/cloud/spanner/v1/doc/google/spanner/v1/spanner.rb', line 50 class Session; end  |