Class: Google::Apis::DatamigrationV1::MigrationJobVerificationError
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::MigrationJobVerificationError
- 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
Error message of a verification Migration job.
Instance Attribute Summary collapse
-
#error_code ⇒ String
Output only.
-
#error_detail_message ⇒ String
Output only.
-
#error_message ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MigrationJobVerificationError
constructor
A new instance of MigrationJobVerificationError.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MigrationJobVerificationError
Returns a new instance of MigrationJobVerificationError.
2216 2217 2218 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ String
Output only. An instance of ErrorCode specifying the error that occurred.
Corresponds to the JSON property errorCode
2203 2204 2205 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2203 def error_code @error_code end |
#error_detail_message ⇒ String
Output only. A specific detailed error message, if supplied by the engine.
Corresponds to the JSON property errorDetailMessage
2208 2209 2210 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2208 def @error_detail_message end |
#error_message ⇒ String
Output only. A formatted message with further details about the error and a
CTA.
Corresponds to the JSON property errorMessage
2214 2215 2216 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2214 def @error_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2221 2222 2223 2224 2225 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2221 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_detail_message = args[:error_detail_message] if args.key?(:error_detail_message) @error_message = args[:error_message] if args.key?(:error_message) end |