Class: Google::Apis::DatamigrationV1::EntityIssue

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

Issue related to the entity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EntityIssue

Returns a new instance of EntityIssue.



1692
1693
1694
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1692

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

Instance Attribute Details

#codeString

Error/Warning code Corresponds to the JSON property code

Returns:

  • (String)


1655
1656
1657
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1655

def code
  @code
end

#ddlString

The ddl which caused the issue, if relevant. Corresponds to the JSON property ddl

Returns:

  • (String)


1660
1661
1662
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1660

def ddl
  @ddl
end

#entity_typeString

The entity type (if the DDL is for a sub entity). Corresponds to the JSON property entityType

Returns:

  • (String)


1665
1666
1667
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1665

def entity_type
  @entity_type
end

#idString

Unique Issue ID. Corresponds to the JSON property id

Returns:

  • (String)


1670
1671
1672
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1670

def id
  @id
end

#messageString

Issue detailed message Corresponds to the JSON property message

Returns:

  • (String)


1675
1676
1677
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1675

def message
  @message
end

#positionGoogle::Apis::DatamigrationV1::Position

Issue position. Corresponds to the JSON property position



1680
1681
1682
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1680

def position
  @position
end

#severityString

Severity of the issue Corresponds to the JSON property severity

Returns:

  • (String)


1685
1686
1687
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1685

def severity
  @severity
end

#typeString

The type of the issue. Corresponds to the JSON property type

Returns:

  • (String)


1690
1691
1692
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1690

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1697

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