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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb

Overview

The response for GetDatabaseDdl.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetDatabaseDdlResponse

Returns a new instance of GetDatabaseDdlResponse.



1379
1380
1381
# File 'lib/google/apis/spanner_v1/classes.rb', line 1379

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>)


1377
1378
1379
# File 'lib/google/apis/spanner_v1/classes.rb', line 1377

def statements
  @statements
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1384
1385
1386
# File 'lib/google/apis/spanner_v1/classes.rb', line 1384

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