Show / Hide Table of Contents

Class ProjectsResource.TestMatricesResource.CreateRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<TestMatrix>
TestingBaseServiceRequest<TestMatrix>
ProjectsResource.TestMatricesResource.CreateRequest
Implements
IClientServiceRequest<TestMatrix>
IClientServiceRequest
Inherited Members
TestingBaseServiceRequest<TestMatrix>.Xgafv
TestingBaseServiceRequest<TestMatrix>.AccessToken
TestingBaseServiceRequest<TestMatrix>.Alt
TestingBaseServiceRequest<TestMatrix>.Callback
TestingBaseServiceRequest<TestMatrix>.Fields
TestingBaseServiceRequest<TestMatrix>.Key
TestingBaseServiceRequest<TestMatrix>.OauthToken
TestingBaseServiceRequest<TestMatrix>.PrettyPrint
TestingBaseServiceRequest<TestMatrix>.QuotaUser
TestingBaseServiceRequest<TestMatrix>.UploadType
TestingBaseServiceRequest<TestMatrix>.UploadProtocol
ClientServiceRequest<TestMatrix>.Execute()
ClientServiceRequest<TestMatrix>.ExecuteAsStream()
ClientServiceRequest<TestMatrix>.ExecuteAsync()
ClientServiceRequest<TestMatrix>.ExecuteAsync(CancellationToken)
ClientServiceRequest<TestMatrix>.ExecuteAsStreamAsync()
ClientServiceRequest<TestMatrix>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<TestMatrix>.CreateRequest(bool?)
ClientServiceRequest<TestMatrix>.GenerateRequestUri()
ClientServiceRequest<TestMatrix>.GetDefaultETagAction(string)
ClientServiceRequest<TestMatrix>.ETagAction
ClientServiceRequest<TestMatrix>.ModifyRequest
ClientServiceRequest<TestMatrix>.ValidateParameters
ClientServiceRequest<TestMatrix>.ApiVersion
ClientServiceRequest<TestMatrix>.RequestParameters
ClientServiceRequest<TestMatrix>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.CreateRequest : TestingBaseServiceRequest<TestMatrix>, IClientServiceRequest<TestMatrix>, IClientServiceRequest

Constructors

CreateRequest(IClientService, TestMatrix, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, TestMatrix body, string projectId)
Parameters
Type Name Description
IClientService service
TestMatrix body
string projectId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TestMatrix>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TestMatrix>.MethodName

ProjectId

The GCE project under which this job will run.

Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type Description
string

RequestId

A string id used to detect duplicated requests. Ids are automatically scoped to a project, so users should ensure the ID is unique per-project. A UUID is recommended. Optional, but strongly recommended.

Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<TestMatrix>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<TestMatrix>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
TestingBaseServiceRequest<TestMatrix>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX