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.



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

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



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

def schemas
  @schemas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4337
4338
4339
# File 'lib/google/apis/datastream_v1/classes.rb', line 4337

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