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.



4847
4848
4849
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4847

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



4835
4836
4837
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4835

def compatibility_issue
  @compatibility_issue
end

#descriptionString

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

Returns:

  • (String)


4840
4841
4842
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4840

def description
  @description
end

#issue_codeString

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

Returns:

  • (String)


4845
4846
4847
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4845

def issue_code
  @issue_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4852
4853
4854
4855
4856
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4852

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