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. 
- 
  
    
      #constraints  ⇒ Array<Google::Apis::DatamigrationV1::ConstraintEntity> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Table constraints. 
- 
  
    
      #custom_features  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Custom engine specific features. 
- 
  
    
      #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.
| 4722 4723 4724 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4722 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#columns ⇒ Array<Google::Apis::DatamigrationV1::ColumnEntity>
Table columns.
Corresponds to the JSON property columns
| 4695 4696 4697 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4695 def columns @columns end | 
#comment ⇒ String
Comment associated with the table.
Corresponds to the JSON property comment
| 4700 4701 4702 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4700 def comment @comment end | 
#constraints ⇒ Array<Google::Apis::DatamigrationV1::ConstraintEntity>
Table constraints.
Corresponds to the JSON property constraints
| 4705 4706 4707 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4705 def constraints @constraints end | 
#custom_features ⇒ Hash<String,Object>
Custom engine specific features.
Corresponds to the JSON property customFeatures
| 4710 4711 4712 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4710 def custom_features @custom_features end | 
#indices ⇒ Array<Google::Apis::DatamigrationV1::IndexEntity>
Table indices.
Corresponds to the JSON property indices
| 4715 4716 4717 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4715 def indices @indices end | 
#triggers ⇒ Array<Google::Apis::DatamigrationV1::TriggerEntity>
Table triggers.
Corresponds to the JSON property triggers
| 4720 4721 4722 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4720 def triggers @triggers end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4727 4728 4729 4730 4731 4732 4733 4734 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 4727 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 |