Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource

The "executions" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.WorkflowExecutions.v1beta
Assembly: Google.Apis.WorkflowExecutions.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource

Constructors

ExecutionsResource(IClientService)

Constructs a new resource.

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

Methods

Cancel(CancelExecutionRequest, string)

Cancels an execution of the given name.

Declaration
public virtual ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CancelRequest Cancel(CancelExecutionRequest body, string name)
Parameters
Type Name Description
CancelExecutionRequest body

The body of the request.

string name

Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

Returns
Type Description
ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CancelRequest

Create(Execution, string)

Creates a new execution using the latest revision of the given workflow.

Declaration
public virtual ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CreateRequest Create(Execution body, string parent)
Parameters
Type Name Description
Execution body

The body of the request.

string parent

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the workflow will be used.

Returns
Type Description
ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.CreateRequest

Get(string)

Returns an execution of the given name.

Declaration
public virtual ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

Returns
Type Description
ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.GetRequest

List(string)

Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).

Declaration
public virtual ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}

Returns
Type Description
ProjectsResource.LocationsResource.WorkflowsResource.ExecutionsResource.ListRequest
In this article
Back to top Generated by DocFX