Class: Google::Apis::DatamigrationV1::TableEntity
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::TableEntity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Table's parent is a schema.
Instance Attribute Summary collapse
-
#columns ⇒ Array<Google::Apis::DatamigrationV1::ColumnEntity>
Table Columns.
-
#comment ⇒ String
Comment associated with the table Corresponds to the JSON property
comment
. -
#constraints ⇒ Array<Google::Apis::DatamigrationV1::ConstraintEntity>
Table Constraints.
-
#custom_features ⇒ Hash<String,Object>
Custom engine specific features Corresponds to the JSON property
customFeatures
. -
#indices ⇒ Array<Google::Apis::DatamigrationV1::IndexEntity>
Table Indices.
-
#triggers ⇒ Array<Google::Apis::DatamigrationV1::TriggerEntity>
Table triggers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableEntity
constructor
A new instance of TableEntity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableEntity
Returns a new instance of TableEntity.
3320 3321 3322 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#columns ⇒ Array<Google::Apis::DatamigrationV1::ColumnEntity>
Table Columns.
Corresponds to the JSON property columns
3293 3294 3295 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3293 def columns @columns end |
#comment ⇒ String
Comment associated with the table
Corresponds to the JSON property comment
3298 3299 3300 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3298 def comment @comment end |
#constraints ⇒ Array<Google::Apis::DatamigrationV1::ConstraintEntity>
Table Constraints.
Corresponds to the JSON property constraints
3303 3304 3305 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3303 def constraints @constraints end |
#custom_features ⇒ Hash<String,Object>
Custom engine specific features
Corresponds to the JSON property customFeatures
3308 3309 3310 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3308 def custom_features @custom_features end |
#indices ⇒ Array<Google::Apis::DatamigrationV1::IndexEntity>
Table Indices.
Corresponds to the JSON property indices
3313 3314 3315 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3313 def indices @indices end |
#triggers ⇒ Array<Google::Apis::DatamigrationV1::TriggerEntity>
Table triggers.
Corresponds to the JSON property triggers
3318 3319 3320 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3318 def triggers @triggers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3325 3326 3327 3328 3329 3330 3331 3332 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3325 def update!(**args) @columns = args[:columns] if args.key?(:columns) @comment = args[:comment] if args.key?(:comment) @constraints = args[:constraints] if args.key?(:constraints) @custom_features = args[:custom_features] if args.key?(:custom_features) @indices = args[:indices] if args.key?(:indices) @triggers = args[:triggers] if args.key?(:triggers) end |