Class: Google::Apis::TestingV1::TestDetails

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

Overview

Additional details about the progress of the running test.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TestDetails

Returns a new instance of TestDetails.



2010
2011
2012
# File 'generated/google/apis/testing_v1/classes.rb', line 2010

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

Instance Attribute Details

#error_messageString

Output only. If the TestState is ERROR, then this string will contain human- readable details about the error. Corresponds to the JSON property errorMessage

Returns:

  • (String)


2001
2002
2003
# File 'generated/google/apis/testing_v1/classes.rb', line 2001

def error_message
  @error_message
end

#progress_messagesArray<String>

Output only. Human-readable, detailed descriptions of the test's progress. For example: "Provisioning a device", "Starting Test". During the course of execution new data may be appended to the end of progress_messages. Corresponds to the JSON property progressMessages

Returns:

  • (Array<String>)


2008
2009
2010
# File 'generated/google/apis/testing_v1/classes.rb', line 2008

def progress_messages
  @progress_messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2015
2016
2017
2018
# File 'generated/google/apis/testing_v1/classes.rb', line 2015

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