Class: Google::Spanner::Admin::Database::V1::Database
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Spanner::Admin::Database::V1::Database
 
 
- Defined in:
 - lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb
 
Overview
A Cloud Spanner database.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #state  ⇒ Google::Spanner::Admin::Database::V1::Database::State 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Attribute Details
#name ⇒ String
Returns Required. The name of the database. Values are of the form
+projects/
      32 33 34 35 36 37 38 39 40 41 42 43 44 45  | 
    
      # File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb', line 32 class Database # Indicates the current state of the database. module State # Not specified. STATE_UNSPECIFIED = 0 # The database is still being created. Operations on the database may fail # with +FAILED_PRECONDITION+ in this state. CREATING = 1 # The database is fully created and ready for use. READY = 2 end end  | 
  
#state ⇒ Google::Spanner::Admin::Database::V1::Database::State
Returns Output only. The current database state.
      32 33 34 35 36 37 38 39 40 41 42 43 44 45  | 
    
      # File 'lib/google/cloud/spanner/admin/database/v1/doc/google/spanner/admin/database/v1/spanner_database_admin.rb', line 32 class Database # Indicates the current state of the database. module State # Not specified. STATE_UNSPECIFIED = 0 # The database is still being created. Operations on the database may fail # with +FAILED_PRECONDITION+ in this state. CREATING = 1 # The database is fully created and ready for use. READY = 2 end end  |