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.



3558
3559
3560
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3558

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



3546
3547
3548
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3546

def compatibility_issue
  @compatibility_issue
end

#descriptionString

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

Returns:

  • (String)


3551
3552
3553
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3551

def description
  @description
end

#issue_codeString

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

Returns:

  • (String)


3556
3557
3558
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3556

def issue_code
  @issue_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3563
3564
3565
3566
3567
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 3563

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