Class: Google::Apis::DatastreamV1::SpannerDatabase
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SpannerDatabase
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
Spanner database structure.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerDatabase
constructor
A new instance of SpannerDatabase.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerDatabase
Returns a new instance of SpannerDatabase.
4782 4783 4784 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4782 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schemas ⇒ Array<Google::Apis::DatastreamV1::SpannerSchema>
Optional. Spanner schemas in the database.
Corresponds to the JSON property schemas
4780 4781 4782 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4780 def schemas @schemas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4787 4788 4789 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4787 def update!(**args) @schemas = args[:schemas] if args.key?(:schemas) end |