Class: Google::Apis::MigrationcenterV1alpha1::Issue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

An issue associated with a migration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Issue

Returns a new instance of Issue.



3744
3745
3746
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3744

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

Instance Attribute Details

#compatibility_issueGoogle::Apis::MigrationcenterV1alpha1::IssueCompatibilityIssue

Details about a compatibility issue. Corresponds to the JSON property compatibilityIssue



3732
3733
3734
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3732

def compatibility_issue
  @compatibility_issue
end

#descriptionString

Output only. English description of the issue. Corresponds to the JSON property description

Returns:

  • (String)


3737
3738
3739
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3737

def description
  @description
end

#issue_codeString

Output only. Unique identifier for this issue type. Corresponds to the JSON property issueCode

Returns:

  • (String)


3742
3743
3744
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3742

def issue_code
  @issue_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3749
3750
3751
3752
3753
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3749

def update!(**args)
  @compatibility_issue = args[:compatibility_issue] if args.key?(:compatibility_issue)
  @description = args[:description] if args.key?(:description)
  @issue_code = args[:issue_code] if args.key?(:issue_code)
end