Class: Google::Apis::SpannerV1::GetDatabaseDdlResponse
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::GetDatabaseDdlResponse
- 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
-
#proto_descriptors ⇒ String
Proto descriptors stored in the database.
-
#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.
Constructor Details
#initialize(**args) ⇒ GetDatabaseDdlResponse
Returns a new instance of GetDatabaseDdlResponse.
3077 3078 3079 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 3077 def initialize(**args) update!(**args) end |
Instance Attribute Details
#proto_descriptors ⇒ String
Proto descriptors stored in the database. Contains a protobuf-serialized
google.protobuf.FileDescriptorSet. For more details, see
protobuffer self description.
Corresponds to the JSON property protoDescriptors
NOTE: Values are automatically base64 encoded/decoded in the client library.
3069 3070 3071 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 3069 def proto_descriptors @proto_descriptors end |
#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
3075 3076 3077 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 3075 def statements @statements end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3082 3083 3084 3085 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 3082 def update!(**args) @proto_descriptors = args[:proto_descriptors] if args.key?(:proto_descriptors) @statements = args[:statements] if args.key?(:statements) end |