class Google::Apis::TestingV1::TestExecution

A single test executed in a single environment.

Attributes

environment[RW]

The environment in which the test is run. Corresponds to the JSON property `environment` @return [Google::Apis::TestingV1::Environment]

id[RW]

Output only. Unique id set by the service. Corresponds to the JSON property `id` @return [String]

matrix_id[RW]

Output only. Id of the containing TestMatrix. Corresponds to the JSON property `matrixId` @return [String]

project_id[RW]

Output only. The cloud project that owns the test execution. Corresponds to the JSON property `projectId` @return [String]

shard[RW]

Output only. Details about the shard. Corresponds to the JSON property `shard` @return [Google::Apis::TestingV1::Shard]

state[RW]

Output only. Indicates the current progress of the test execution (e.g., FINISHED). Corresponds to the JSON property `state` @return [String]

test_details[RW]

Additional details about the progress of the running test. Corresponds to the JSON property `testDetails` @return [Google::Apis::TestingV1::TestDetails]

test_specification[RW]

A description of how to run the test. Corresponds to the JSON property `testSpecification` @return [Google::Apis::TestingV1::TestSpecification]

timestamp[RW]

Output only. The time this test execution was initially created. Corresponds to the JSON property `timestamp` @return [String]

tool_results_step[RW]

Represents a tool results step resource. This has the results of a TestExecution. Corresponds to the JSON property `toolResultsStep` @return [Google::Apis::TestingV1::ToolResultsStep]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/testing_v1/classes.rb, line 2143
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/testing_v1/classes.rb, line 2148
def update!(**args)
  @environment = args[:environment] if args.key?(:environment)
  @id = args[:id] if args.key?(:id)
  @matrix_id = args[:matrix_id] if args.key?(:matrix_id)
  @project_id = args[:project_id] if args.key?(:project_id)
  @shard = args[:shard] if args.key?(:shard)
  @state = args[:state] if args.key?(:state)
  @test_details = args[:test_details] if args.key?(:test_details)
  @test_specification = args[:test_specification] if args.key?(:test_specification)
  @timestamp = args[:timestamp] if args.key?(:timestamp)
  @tool_results_step = args[:tool_results_step] if args.key?(:tool_results_step)
end