Class ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CancelRequest
Cancels an execution of the given name.
Inheritance
ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CancelRequest
Inherited Members
Namespace: Google.Apis.WorkflowExecutions.v1beta
Assembly: Google.Apis.WorkflowExecutions.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CancelRequest : WorkflowExecutionsBaseServiceRequest<Execution>, IClientServiceRequest<Execution>, IClientServiceRequest
Constructors
CancelRequest(IClientService, CancelExecutionRequest, string)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, CancelExecutionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CancelExecutionRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WorkflowExecutions.v1beta.Data.Execution>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WorkflowExecutions.v1beta.Data.Execution>.MethodName
Name
Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WorkflowExecutions.v1beta.Data.Execution>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.WorkflowExecutions.v1beta.Data.Execution>.GetBody()
InitParameters()
Initializes Cancel parameter list.
Declaration
protected override void InitParameters()