Class: Google::Apis::SpannerV1::GetDatabaseDdlResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpannerV1::GetDatabaseDdlResponse
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spanner_v1/classes.rb,
 generated/google/apis/spanner_v1/representations.rb,
 generated/google/apis/spanner_v1/representations.rb
Overview
The response for GetDatabaseDdl.
Instance Attribute Summary collapse
- 
  
    
      #statements  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of formatted DDL statements defining the schema of the database specified in the request. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GetDatabaseDdlResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GetDatabaseDdlResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GetDatabaseDdlResponse
Returns a new instance of GetDatabaseDdlResponse
| 862 863 864 | # File 'generated/google/apis/spanner_v1/classes.rb', line 862 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#statements ⇒ Array<String>
A list of formatted DDL statements defining the schema of the database
specified in the request.
Corresponds to the JSON property statements
| 860 861 862 | # File 'generated/google/apis/spanner_v1/classes.rb', line 860 def statements @statements end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 867 868 869 | # File 'generated/google/apis/spanner_v1/classes.rb', line 867 def update!(**args) @statements = args[:statements] if args.key?(:statements) end |