Class ProjectsResource.TestMatricesResource.CancelRequest
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
Inheritance
ProjectsResource.TestMatricesResource.CancelRequest
Inherited Members
Namespace: Google.Apis.Testing.v1
Assembly: Google.Apis.Testing.v1.dll
Syntax
public class ProjectsResource.TestMatricesResource.CancelRequest : TestingBaseServiceRequest<CancelTestMatrixResponse>, IClientServiceRequest<CancelTestMatrixResponse>, IClientServiceRequest
Constructors
CancelRequest(IClientService, string, string)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, string projectId, string testMatrixId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | projectId | |
string | testMatrixId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
Cloud project that owns the test.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TestMatrixId
Test matrix that will be canceled.
Declaration
[RequestParameter("testMatrixId", RequestParameterType.Path)]
public virtual string TestMatrixId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()