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.



4822
4823
4824
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4822

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



4810
4811
4812
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4810

def compatibility_issue
  @compatibility_issue
end

#descriptionString

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

Returns:

  • (String)


4815
4816
4817
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4815

def description
  @description
end

#issue_codeString

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

Returns:

  • (String)


4820
4821
4822
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4820

def issue_code
  @issue_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4827
4828
4829
4830
4831
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4827

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