Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource

The "automationRuns" collection of methods.

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

Constructors

AutomationRunsResource(IClientService)

Constructs a new resource.

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

Methods

Cancel(CancelAutomationRunRequest, string)

Cancels an AutomationRun. The state of the AutomationRun after cancelling is CANCELLED. CancelAutomationRun can be called on AutomationRun in the state IN_PROGRESS and PENDING; AutomationRun in a different state returns an FAILED_PRECONDITION error.

Declaration
public virtual ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.CancelRequest Cancel(CancelAutomationRunRequest body, string name)
Parameters
Type Name Description
CancelAutomationRunRequest body

The body of the request.

string name

Required. Name of the AutomationRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

Returns
Type Description
ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.CancelRequest

Get(string)

Gets details of a single AutomationRun.

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

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

Returns
Type Description
ProjectsResource.LocationsResource.DeliveryPipelinesResource.AutomationRunsResource.GetRequest

List(string)

Lists AutomationRuns in a given project and location.

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

Required. The parent Delivery Pipeline, which owns this collection of automationRuns. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}.

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