Class: Google::Apis::DatamigrationV1::EntityIssue
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::EntityIssue
- 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
Issue related to the entity.
Instance Attribute Summary collapse
-
#code ⇒ String
Error/Warning code Corresponds to the JSON property
code
. -
#ddl ⇒ String
The ddl which caused the issue, if relevant.
-
#entity_type ⇒ String
The entity type (if the DDL is for a sub entity).
-
#id ⇒ String
Unique Issue ID.
-
#message ⇒ String
Issue detailed message Corresponds to the JSON property
message
. -
#position ⇒ Google::Apis::DatamigrationV1::Position
Issue position.
-
#severity ⇒ String
Severity of the issue Corresponds to the JSON property
severity
. -
#type ⇒ String
The type of the issue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EntityIssue
constructor
A new instance of EntityIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EntityIssue
Returns a new instance of EntityIssue.
1780 1781 1782 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1780 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Error/Warning code
Corresponds to the JSON property code
1743 1744 1745 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1743 def code @code end |
#ddl ⇒ String
The ddl which caused the issue, if relevant.
Corresponds to the JSON property ddl
1748 1749 1750 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1748 def ddl @ddl end |
#entity_type ⇒ String
The entity type (if the DDL is for a sub entity).
Corresponds to the JSON property entityType
1753 1754 1755 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1753 def entity_type @entity_type end |
#id ⇒ String
Unique Issue ID.
Corresponds to the JSON property id
1758 1759 1760 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1758 def id @id end |
#message ⇒ String
Issue detailed message
Corresponds to the JSON property message
1763 1764 1765 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1763 def @message end |
#position ⇒ Google::Apis::DatamigrationV1::Position
Issue position.
Corresponds to the JSON property position
1768 1769 1770 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1768 def position @position end |
#severity ⇒ String
Severity of the issue
Corresponds to the JSON property severity
1773 1774 1775 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1773 def severity @severity end |
#type ⇒ String
The type of the issue.
Corresponds to the JSON property type
1778 1779 1780 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1778 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1785 def update!(**args) @code = args[:code] if args.key?(:code) @ddl = args[:ddl] if args.key?(:ddl) @entity_type = args[:entity_type] if args.key?(:entity_type) @id = args[:id] if args.key?(:id) @message = args[:message] if args.key?(:message) @position = args[:position] if args.key?(:position) @severity = args[:severity] if args.key?(:severity) @type = args[:type] if args.key?(:type) end |