Class: Google::Apis::DatamigrationV1::EntityMappingLogEntry
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::EntityMappingLogEntry
 
- 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
A single record of a rule which was used for a mapping.
Instance Attribute Summary collapse
- 
  
    
      #mapping_comment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Comment. 
- 
  
    
      #rule_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Which rule caused this log entry. 
- 
  
    
      #rule_revision_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Rule revision ID. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ EntityMappingLogEntry 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of EntityMappingLogEntry. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ EntityMappingLogEntry
Returns a new instance of EntityMappingLogEntry.
| 1756 1757 1758 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1756 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#mapping_comment ⇒ String
Comment.
Corresponds to the JSON property mappingComment
| 1744 1745 1746 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1744 def mapping_comment @mapping_comment end | 
#rule_id ⇒ String
Which rule caused this log entry.
Corresponds to the JSON property ruleId
| 1749 1750 1751 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1749 def rule_id @rule_id end | 
#rule_revision_id ⇒ String
Rule revision ID.
Corresponds to the JSON property ruleRevisionId
| 1754 1755 1756 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1754 def rule_revision_id @rule_revision_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1761 1762 1763 1764 1765 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 1761 def update!(**args) @mapping_comment = args[:mapping_comment] if args.key?(:mapping_comment) @rule_id = args[:rule_id] if args.key?(:rule_id) @rule_revision_id = args[:rule_revision_id] if args.key?(:rule_revision_id) end |