Show / Hide Table of Contents

Class ProjectsResource.TestMatricesResource

The "testMatrices" collection of methods.

Inheritance
object
ProjectsResource.TestMatricesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Testing.v1
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class ProjectsResource.TestMatricesResource

Constructors

TestMatricesResource(IClientService)

Constructs a new resource.

Declaration
public TestMatricesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Cancel(string, string)

Cancels unfinished test executions in a test matrix. This call returns immediately and cancellation proceeds asynchronously. If the matrix is already final, this operation will have no effect. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist

Declaration
public virtual ProjectsResource.TestMatricesResource.CancelRequest Cancel(string projectId, string testMatrixId)
Parameters
Type Name Description
string projectId

Cloud project that owns the test.

string testMatrixId

Test matrix that will be canceled.

Returns
Type Description
ProjectsResource.TestMatricesResource.CancelRequest

Create(TestMatrix, string)

Creates and runs a matrix of tests according to the given specifications. Unsupported environments will be returned in the state UNSUPPORTED. A test matrix is limited to use at most 2000 devices in parallel. The returned matrix will not yet contain the executions that will be created for this matrix. Execution creation happens later on and will require a call to GetTestMatrix. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed or if the matrix tries to use too many simultaneous devices.

Declaration
public virtual ProjectsResource.TestMatricesResource.CreateRequest Create(TestMatrix body, string projectId)
Parameters
Type Name Description
TestMatrix body

The body of the request.

string projectId

The GCE project under which this job will run.

Returns
Type Description
ProjectsResource.TestMatricesResource.CreateRequest

Get(string, string)

Checks the status of a test matrix and the executions once they are created. The test matrix will contain the list of test executions to run if and only if the resultStorage.toolResultsExecution fields have been populated. Note: Flaky test executions may be added to the matrix at a later stage. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the Test Matrix does not exist

Declaration
public virtual ProjectsResource.TestMatricesResource.GetRequest Get(string projectId, string testMatrixId)
Parameters
Type Name Description
string projectId

Cloud project that owns the test matrix.

string testMatrixId

Unique test matrix id which was assigned by the service.

Returns
Type Description
ProjectsResource.TestMatricesResource.GetRequest
In this article
Back to top Generated by DocFX