Class: Google::Apis::DatastreamV1::SpannerDatabase

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

Constructor Details

#initialize(**args) ⇒ SpannerDatabase

Returns a new instance of SpannerDatabase.



4326
4327
4328
# File 'lib/google/apis/datastream_v1/classes.rb', line 4326

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

Instance Attribute Details

#schemasArray<Google::Apis::DatastreamV1::SpannerSchema>

Optional. Spanner schemas in the database. Corresponds to the JSON property schemas



4324
4325
4326
# File 'lib/google/apis/datastream_v1/classes.rb', line 4324

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4331
4332
4333
# File 'lib/google/apis/datastream_v1/classes.rb', line 4331

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