Class: Google::Apis::MigrationcenterV1alpha1::DatabaseSchema
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DatabaseSchema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Details of a database schema.
Instance Attribute Summary collapse
-
#mysql ⇒ Google::Apis::MigrationcenterV1alpha1::MySqlSchemaDetails
Specific details for a Mysql database.
-
#objects ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DatabaseObjects>
List of details of objects by category.
-
#postgresql ⇒ Google::Apis::MigrationcenterV1alpha1::PostgreSqlSchemaDetails
Specific details for a PostgreSql schema.
-
#schema_name ⇒ String
The name of the schema.
-
#sql_server ⇒ Google::Apis::MigrationcenterV1alpha1::SqlServerSchemaDetails
Specific details for a SqlServer database.
-
#tables_size_bytes ⇒ Fixnum
The total size of tables in bytes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseSchema
constructor
A new instance of DatabaseSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseSchema
Returns a new instance of DatabaseSchema.
2219 2220 2221 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2219 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql ⇒ Google::Apis::MigrationcenterV1alpha1::MySqlSchemaDetails
Specific details for a Mysql database.
Corresponds to the JSON property mysql
2192 2193 2194 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2192 def mysql @mysql end |
#objects ⇒ Array<Google::Apis::MigrationcenterV1alpha1::DatabaseObjects>
List of details of objects by category.
Corresponds to the JSON property objects
2197 2198 2199 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2197 def objects @objects end |
#postgresql ⇒ Google::Apis::MigrationcenterV1alpha1::PostgreSqlSchemaDetails
Specific details for a PostgreSql schema.
Corresponds to the JSON property postgresql
2202 2203 2204 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2202 def postgresql @postgresql end |
#schema_name ⇒ String
The name of the schema.
Corresponds to the JSON property schemaName
2207 2208 2209 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2207 def schema_name @schema_name end |
#sql_server ⇒ Google::Apis::MigrationcenterV1alpha1::SqlServerSchemaDetails
Specific details for a SqlServer database.
Corresponds to the JSON property sqlServer
2212 2213 2214 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2212 def sql_server @sql_server end |
#tables_size_bytes ⇒ Fixnum
The total size of tables in bytes.
Corresponds to the JSON property tablesSizeBytes
2217 2218 2219 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2217 def tables_size_bytes @tables_size_bytes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2224 2225 2226 2227 2228 2229 2230 2231 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2224 def update!(**args) @mysql = args[:mysql] if args.key?(:mysql) @objects = args[:objects] if args.key?(:objects) @postgresql = args[:postgresql] if args.key?(:postgresql) @schema_name = args[:schema_name] if args.key?(:schema_name) @sql_server = args[:sql_server] if args.key?(:sql_server) @tables_size_bytes = args[:tables_size_bytes] if args.key?(:tables_size_bytes) end |