Class: Google::Apis::DatamigrationV1::EntityMappingLogEntry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EntityMappingLogEntry

Returns a new instance of EntityMappingLogEntry.



1308
1309
1310
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1308

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#mapping_commentString

Comment. Corresponds to the JSON property mappingComment

Returns:

  • (String)


1296
1297
1298
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1296

def mapping_comment
  @mapping_comment
end

#rule_idString

Which rule caused it. Corresponds to the JSON property ruleId

Returns:

  • (String)


1301
1302
1303
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1301

def rule_id
  @rule_id
end

#rule_revision_idString

Rule revision id Corresponds to the JSON property ruleRevisionId

Returns:

  • (String)


1306
1307
1308
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1306

def rule_revision_id
  @rule_revision_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1313
1314
1315
1316
1317
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1313

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