Class: Google::Apis::SpannerV1::GetDatabaseDdlResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GetDatabaseDdlResponse

Returns a new instance of GetDatabaseDdlResponse



3308
3309
3310
# File 'generated/google/apis/spanner_v1/classes.rb', line 3308

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#statementsArray<String>

A list of formatted DDL statements defining the schema of the database specified in the request. Corresponds to the JSON property statements

Returns:

  • (Array<String>)


3306
3307
3308
# File 'generated/google/apis/spanner_v1/classes.rb', line 3306

def statements
  @statements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3313
3314
3315
# File 'generated/google/apis/spanner_v1/classes.rb', line 3313

def update!(**args)
  @statements = args[:statements] if args.key?(:statements)
end