Class: Google::Apis::TestingV1::MatrixErrorDetail

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

Overview

Describes a single error or issue with a matrix.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MatrixErrorDetail

Returns a new instance of MatrixErrorDetail.



1883
1884
1885
# File 'lib/google/apis/testing_v1/classes.rb', line 1883

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

Instance Attribute Details

#messageString

Output only. A human-readable message about how the error in the TestMatrix. Expands on the reason field with additional details and possible options to fix the issue. Corresponds to the JSON property message

Returns:

  • (String)


1875
1876
1877
# File 'lib/google/apis/testing_v1/classes.rb', line 1875

def message
  @message
end

#reasonString

Output only. The reason for the error. This is a constant value in UPPER_SNAKE_CASE that identifies the cause of the error. Corresponds to the JSON property reason

Returns:

  • (String)


1881
1882
1883
# File 'lib/google/apis/testing_v1/classes.rb', line 1881

def reason
  @reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1888
1889
1890
1891
# File 'lib/google/apis/testing_v1/classes.rb', line 1888

def update!(**args)
  @message = args[:message] if args.key?(:message)
  @reason = args[:reason] if args.key?(:reason)
end