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.
1671 1672 1673 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Error/Warning code
Corresponds to the JSON property code
1634 1635 1636 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1634 def code @code end |
#ddl ⇒ String
The ddl which caused the issue, if relevant.
Corresponds to the JSON property ddl
1639 1640 1641 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1639 def ddl @ddl end |
#entity_type ⇒ String
The entity type (if the DDL is for a sub entity).
Corresponds to the JSON property entityType
1644 1645 1646 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1644 def entity_type @entity_type end |
#id ⇒ String
Unique Issue ID.
Corresponds to the JSON property id
1649 1650 1651 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1649 def id @id end |
#message ⇒ String
Issue detailed message
Corresponds to the JSON property message
1654 1655 1656 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1654 def @message end |
#position ⇒ Google::Apis::DatamigrationV1::Position
Issue position.
Corresponds to the JSON property position
1659 1660 1661 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1659 def position @position end |
#severity ⇒ String
Severity of the issue
Corresponds to the JSON property severity
1664 1665 1666 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1664 def severity @severity end |
#type ⇒ String
The type of the issue.
Corresponds to the JSON property type
1669 1670 1671 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1669 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1676 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 |