generated/google/apis/testing_v1/classes.rb in google-api-client-0.29.1 vs generated/google/apis/testing_v1/classes.rb in google-api-client-0.29.2
- old
+ new
@@ -25,11 +25,11 @@
# Identifies an account and how to log into it.
class Account
include Google::Apis::Core::Hashable
# Enables automatic Google account login.
- # If set, the service will automatically generate a Google test account and add
+ # If set, the service automatically generates a Google test account and adds
# it to the device, before executing the test. Note that test accounts might be
# reused.
# Many applications show their full set of functionalities when an account is
# present on the device. Logging into the device with these generated accounts
# allows testing more functionalities.
@@ -1025,11 +1025,11 @@
@apk_detail = args[:apk_detail] if args.key?(:apk_detail)
end
end
# Enables automatic Google account login.
- # If set, the service will automatically generate a Google test account and add
+ # If set, the service automatically generates a Google test account and adds
# it to the device, before executing the test. Note that test accounts might be
# reused.
# Many applications show their full set of functionalities when an account is
# present on the device. Logging into the device with these generated accounts
# allows testing more functionalities.
@@ -1275,11 +1275,11 @@
@locales = args[:locales] if args.key?(:locales)
@orientations = args[:orientations] if args.key?(:orientations)
end
end
- # A description of how to set up an iOS device prior to a test.
+ # A description of how to set up an iOS device prior to running the test.
class IosTestSetup
include Google::Apis::Core::Hashable
# The network traffic profile used for running the test.
# Available network profiles can be queried by using the
@@ -1625,10 +1625,15 @@
# A storage location within Google cloud storage (GCS).
# Corresponds to the JSON property `googleCloudStorage`
# @return [Google::Apis::TestingV1::GoogleCloudStorage]
attr_accessor :google_cloud_storage
+ # Output only. URL to the results in the Firebase Web Console.
+ # Corresponds to the JSON property `resultsUrl`
+ # @return [String]
+ attr_accessor :results_url
+
# Represents a tool results execution resource.
# This has the results of a TestMatrix.
# Corresponds to the JSON property `toolResultsExecution`
# @return [Google::Apis::TestingV1::ToolResultsExecution]
attr_accessor :tool_results_execution
@@ -1643,10 +1648,11 @@
end
# Update properties of this object
def update!(**args)
@google_cloud_storage = args[:google_cloud_storage] if args.key?(:google_cloud_storage)
+ @results_url = args[:results_url] if args.key?(:results_url)
@tool_results_execution = args[:tool_results_execution] if args.key?(:tool_results_execution)
@tool_results_history = args[:tool_results_history] if args.key?(:tool_results_history)
end
end
@@ -1817,20 +1823,20 @@
@network_configuration_catalog = args[:network_configuration_catalog] if args.key?(:network_configuration_catalog)
@software_catalog = args[:software_catalog] if args.key?(:software_catalog)
end
end
- # Specifies a single test to be executed in a single environment.
+ # A single test executed in a single environment.
class TestExecution
include Google::Apis::Core::Hashable
# The environment in which the test is run.
# Corresponds to the JSON property `environment`
# @return [Google::Apis::TestingV1::Environment]
attr_accessor :environment
- # Output only. Unique id set by the backend.
+ # Output only. Unique id set by the service.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
# Output only. Id of the containing TestMatrix.
@@ -1886,12 +1892,13 @@
@timestamp = args[:timestamp] if args.key?(:timestamp)
@tool_results_step = args[:tool_results_step] if args.key?(:tool_results_step)
end
end
- # A group of one or more TestExecutions, built by taking a
- # product of values over a pre-defined set of axes.
+ # TestMatrix captures all details about a test. It contains the environment
+ # configuration, test specification, test executions and overall state and
+ # outcome.
class TestMatrix
include Google::Apis::Core::Hashable
# Information about the client which invoked the test.
# Corresponds to the JSON property `clientInfo`
@@ -1915,22 +1922,27 @@
# Only useful for matrices in the INVALID state.
# Corresponds to the JSON property `invalidMatrixDetails`
# @return [String]
attr_accessor :invalid_matrix_details
+ # Output Only. The overall outcome of the test.
+ # Only set when the test matrix state is FINISHED.
+ # Corresponds to the JSON property `outcomeSummary`
+ # @return [String]
+ attr_accessor :outcome_summary
+
# The cloud project that owns the test matrix.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
# Locations where the results of running the test are stored.
# Corresponds to the JSON property `resultStorage`
# @return [Google::Apis::TestingV1::ResultStorage]
attr_accessor :result_storage
- # Output only. Indicates the current progress of the test matrix
- # (e.g., FINISHED).
+ # Output only. Indicates the current progress of the test matrix.
# Corresponds to the JSON property `state`
# @return [String]
attr_accessor :state
# Output only. The list of test executions that the service creates for
@@ -1962,10 +1974,11 @@
def update!(**args)
@client_info = args[:client_info] if args.key?(:client_info)
@environment_matrix = args[:environment_matrix] if args.key?(:environment_matrix)
@flaky_test_attempts = args[:flaky_test_attempts] if args.key?(:flaky_test_attempts)
@invalid_matrix_details = args[:invalid_matrix_details] if args.key?(:invalid_matrix_details)
+ @outcome_summary = args[:outcome_summary] if args.key?(:outcome_summary)
@project_id = args[:project_id] if args.key?(:project_id)
@result_storage = args[:result_storage] if args.key?(:result_storage)
@state = args[:state] if args.key?(:state)
@test_executions = args[:test_executions] if args.key?(:test_executions)
@test_matrix_id = args[:test_matrix_id] if args.key?(:test_matrix_id)
@@ -2061,22 +2074,22 @@
# user of this api, for the time being.
# Corresponds to the JSON property `androidTestLoop`
# @return [Google::Apis::TestingV1::AndroidTestLoop]
attr_accessor :android_test_loop
- # Disables performance metrics recording; may reduce test latency.
+ # Disables performance metrics recording. May reduce test latency.
# Corresponds to the JSON property `disablePerformanceMetrics`
# @return [Boolean]
attr_accessor :disable_performance_metrics
alias_method :disable_performance_metrics?, :disable_performance_metrics
- # Disables video recording; may reduce test latency.
+ # Disables video recording. May reduce test latency.
# Corresponds to the JSON property `disableVideoRecording`
# @return [Boolean]
attr_accessor :disable_video_recording
alias_method :disable_video_recording?, :disable_video_recording
- # A description of how to set up an iOS device prior to a test.
+ # A description of how to set up an iOS device prior to running the test.
# Corresponds to the JSON property `iosTestSetup`
# @return [Google::Apis::TestingV1::IosTestSetup]
attr_accessor :ios_test_setup
# A test of an iOS application that uses the XCTest framework.